diff --git a/README.md b/README.md index 99ef6bf..17061d6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # perl-Image-ExifTool +ExifTool is a customizable set of Perl modules plus an application script for reading and writing meta information in image, audio and video files, including the maker note information of many digital cameras by various +manufacturers such as Canon, Casio, FujiFilm, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Ricoh, Sanyo, Sigma/Foveon and Sony. + diff --git a/perl-Image-ExifTool.spec b/perl-Image-ExifTool.spec new file mode 100644 index 0000000..1a79673 --- /dev/null +++ b/perl-Image-ExifTool.spec @@ -0,0 +1,94 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Image-ExifTool +Version: 9.46 +Release: 1mamba +Summary: Image::ExifTool - Utility for reading and writing image meta info +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/E/EX/EXIFTOOL/Image-ExifTool-%{version}.tar.gz +License: Artistic +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +ExifTool is a customizable set of Perl modules plus an application script for reading and writing meta information in image, audio and video files, including the maker note information of many digital cameras by various +manufacturers such as Canon, Casio, FujiFilm, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Ricoh, Sanyo, Sigma/Foveon and Sony. + +%prep +%setup -q -n Image-ExifTool-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Wed Feb 12 2014 Automatic Build System 9.46-1mamba +- automatic update by autodist + +* Mon Apr 22 2013 Automatic Build System 9.27-1mamba +- automatic version update by autodist + +* Sun Apr 07 2013 Automatic Build System 9.25-1mamba +- automatic version update by autodist + +* Thu Jan 17 2013 Automatic Build System 9.13-1mamba +- automatic version update by autodist + +* Mon Jan 07 2013 Automatic Build System 9.12-1mamba +- automatic version update by autodist + +* Wed Nov 07 2012 Automatic Build System 9.04-1mamba +- automatic version update by autodist + +* Sun Sep 09 2012 Automatic Build System 9.01-1mamba +- automatic version update by autodist + +* Fri Jun 15 2012 Automatic Build System 8.90-1mamba +- automatic version update by autodist + +* Mon Oct 03 2011 Automatic Build System 8.65-1mamba +- automatic version update by autodist + +* Mon Aug 08 2011 Automatic Build System 8.60-1mamba +- automatic version update by autodist + +* Mon Mar 07 2011 Automatic Build System 8.50-1mamba +- automatic update by autodist + +* Wed Nov 24 2010 Automatic Build System 8.40-1mamba +- automatic update by autodist + +* Fri Jul 16 2010 Automatic Build System 8.25-1mamba +- automatic update by autodist + +* Mon Jun 21 2010 Automatic Build System 8.15-1mamba +- automatic update by autodist + +* Sun Mar 07 2010 Davide Madrisan 8.10-1mamba +- package created by autospec