Name: perl-Image-EXIF Version: 1.00 Release: 1%{?dist} Summary: Perl extension for exif library License: CHECK(GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/Image-EXIF/ Source0: http://www.cpan.org/modules/by-module/Image/Image-EXIF-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Perl Package Image::EXIF based on utility exiftags v0.99.1 by Eric M. Johnston, emj@postal.net, http://johnst.org/sw/exiftags/. Actually it's just a wrapper. Weak PHP's support of EXIF made me write it. If you wanna improve it - go ahead. I did this module only because nobody did it before. %prep %setup -q -n Image-EXIF-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes Makefile README test.prec %{perl_vendorarch}/auto/* %{perl_vendorarch}/Image* %{_mandir}/man3/* %changelog * Thu Mar 27 2008 Dave Cross 1.00.3-1 - Specfile autogenerated by cpanspec 1.74.