diff --git a/perl-Image-ExifTool.changes b/perl-Image-ExifTool.changes index 9d6e0ee..c3a0357 100644 --- a/perl-Image-ExifTool.changes +++ b/perl-Image-ExifTool.changes @@ -2,9 +2,9 @@ Mon Sep 26 18:32:34 UTC 2011 - Greg.Freemyer@gmail.com - update to 8.65 - * /usr/bin/exiftool was previously packaged separately. Upstream has merged the tarballs into one. + * /usr/bin/exiftool was previously packaged as only an application and the perl(Image::ExifTool) module was not available for use. * Thus the standalone exiftool package has now been obsoleted - * And /usr/bin/exiftool is now included in this package addition to just the perl library modules + * And /usr/bin/exiftool is now included in this package as a sub-package in addition to the perl library modules * * A significant number of new file formats, etc. are now supported, see * http://cpansearch.perl.org/src/EXIFTOOL/Image-ExifTool-8.65/Changes diff --git a/perl-Image-ExifTool.spec b/perl-Image-ExifTool.spec index 2155beb..8dd291c 100644 --- a/perl-Image-ExifTool.spec +++ b/perl-Image-ExifTool.spec @@ -22,24 +22,18 @@ Version: 8.65 Release: 1 License: GPL+ or Artistic %define cpan_name Image-ExifTool -Summary: Read and write meta information +Summary: Perl module to read and write meta information Url: http://search.cpan.org/dist/Image-ExifTool/ Group: Development/Libraries/Perl -#Source: http://www.cpan.org/authors/id/E/EX/EXIFTOOL/%{cpan_name}-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/E/EX/EXIFTOOL/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros %{perl_requires} -# allow autodepend logic to find this -#Requires: perl(Compress::Zlib) -Requires: perl(Archive::Zip) -Requires: perl(Digest::MD5) -Requires: perl(Digest::SHA) -Requires: perl(IO::Compress) -Obsoletes: exiftool < 8.65 -Provides: exiftool +Obsoletes: exiftool < 8.65 +# This is handled by the subpackage exiftool below +# Provides: exiftool %description ExifTool by Phil Harvey (phil at owl.phy.queensu.ca) @@ -106,6 +100,35 @@ supported by ExifTool (r = read, w = write, c = create): See html/index.html for more details about ExifTool features. +%package -n exiftool +Summary: Highly Customizable Perl App for Reading and Writing Meta Information in Files +Group: Productivity/Graphics/Other +# allow autodepend logic to find this +#Requires: perl(Compress::Zlib) +Requires: perl(Archive::Zip) +Requires: perl(Digest::MD5) +Requires: perl(Digest::SHA) +Requires: perl(IO::Compress) +Requires: perl(Image::ExifTool) = %{version} +# Provides: exiftool + +%description -n exiftool +ExifTool by Phil Harvey (phil at owl.phy.queensu.ca) +---------------------------------------------------------------------------- + +ExifTool is a a full-featured application for reading and writing +meta information in a wide variety of +files, including the maker note information of many digital cameras by +various manufacturers such as Canon, Casio, FujiFilm, GE, HP, JVC/Victor, +Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson, Panasonic/Leica, +Pentax/Asahi, Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony. + +See the description for perl-Image-ExifTool for a list of supported file types +and Meta Information + +See html/index.html for more details about ExifTool features overall. + + %prep %setup -q -n %{cpan_name}-%{version} @@ -124,9 +147,20 @@ See html/index.html for more details about ExifTool features. %clean %{__rm} -rf %{buildroot} -%files -f %{name}.files +%files -n exiftool %defattr(644,root,root,755) -%attr(755, root, root) /usr/bin/exiftool -%doc Changes exif2xmp.args exiftool ExifTool_config gps2xmp.args gpx.fmt gpx_wpt.fmt iptc2xmp.args kml.fmt perl-Image-ExifTool.spec README xmp2exif.args xmp2gps.args xmp2iptc.args +%attr(755, root, root) %{_bindir}/exiftool +%doc %{_mandir}/man1/exiftool.1.gz + +%files -f %{name}.files +%exclude %{_bindir}/exiftool +%exclude %{_mandir}/man1/exiftool.1.gz +%defattr(644,root,root,755) +# No idea why this had such a long % doc list +# % doc Changes exif2xmp.args ExifTool_config gps2xmp.args gpx.fmt gpx_wpt.fmt iptc2xmp.args kml.fmt perl-Image-ExifTool.spec README xmp2exif.args xmp2gps.args xmp2iptc.args +%doc Changes ExifTool_config README html +%{perl_vendorlib}/File/RandomAccess.pm +%{perl_vendorlib}/Image/ExifTool/* +%doc %{_mandir}/man3/* %changelog