1
0

Accepting request 136475 from home:gregfreemyer:Tools-for-forensic-boot-cd

A SR was done to graohics::exiftool to break out perl-File-RandomAccess as a sub-package.  Do the same here.

OBS-URL: https://build.opensuse.org/request/show/136475
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-ExifTool?expand=0&rev=32
This commit is contained in:
Stephan Kulow 2012-10-01 05:44:05 +00:00 committed by Git OBS Bridge
parent 8b6fb6e9dc
commit d1f1980719
2 changed files with 28 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 29 21:36:35 UTC 2012 - Greg.Freemyer@gmail.com
- add perl-File-RandomAccess sub-package to match package in graphics
- remove stale comments about doc files
-------------------------------------------------------------------
Mon Sep 24 19:01:51 UTC 2012 - Greg.Freemyer@gmail.com

View File

@ -27,9 +27,10 @@ Url: http://search.cpan.org/dist/Image-ExifTool/
Source: http://www.cpan.org/authors/id/E/EX/EXIFTOOL/%{cpan_name}-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl-macros
Conflicts: exiftool < %{version}
Requires: perl-File-RandomAccess = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Conflicts: exiftool < %{version}
%{perl_requires}
%description
@ -133,6 +134,14 @@ and Meta Information
See html/index.html for more details about ExifTool features overall.
%package -n perl-File-RandomAccess
Summary: Random Access Reads of Sequential File or Scalar
Group: Development/Libraries/Perl
%description -n perl-File-RandomAccess
Allows random access to sequential file by buffering the file if necessary.
Also allows access to data in memory to be accessed as if it were a file.
%prep
%setup -q -n %{cpan_name}-%{version}
@ -159,15 +168,22 @@ rm -rf %{buildroot}
%doc exif2iptc.args exif2xmp.args gps2xmp.args iptc2exif.args iptc2xmp.args iptcCore.args
%doc pdf2xmp.args xmp2exif.args xmp2gps.args xmp2iptc.args xmp2pdf.args
%files -f %{name}.files
%files
%defattr(644,root,root,755)
%exclude %{_bindir}/exiftool
%exclude %{_mandir}/man1/exiftool.1.gz
# 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}/Image/ExifTool
%doc %{_mandir}/man3/Image::ExifTool*.3*
%{perl_vendorlib}/Image/ExifTool.pm
%dir %{perl_vendorlib}/Image
%doc %{perl_vendorlib}/Image/ExifTool.pod
%files -n perl-File-RandomAccess
%defattr(-,root,root)
%dir %{perl_vendorlib}/File
%{perl_vendorlib}/File/RandomAccess.pm
%{perl_vendorlib}/Image/ExifTool/*
%doc %{_mandir}/man3/*
%doc %{perl_vendorlib}/File/RandomAccess.pod
%doc %{_mandir}/man3/File::RandomAccess*.3*
%changelog