forked from pool/perl-Image-ExifTool
Accepting request 135734 from home:gregfreemyer:Tools-for-forensic-boot-cd
Version upgrade to latest production release - tested perl module only upgrades and had to add a conflicts statement to get the app to update as well. OBS-URL: https://build.opensuse.org/request/show/135734 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-ExifTool?expand=0&rev=30
This commit is contained in:
committed by
Git OBS Bridge
parent
6de13dfa3f
commit
a92c66a3fe
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-Image-ExifTool
|
||||
Version: 8.65
|
||||
Version: 9.01
|
||||
Release: 0
|
||||
%define cpan_name Image-ExifTool
|
||||
Summary: Perl module to read and write meta information
|
||||
@@ -25,10 +25,11 @@ License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Image-ExifTool/
|
||||
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
|
||||
Conflicts: exiftool < %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -106,12 +107,13 @@ BuildArch: noarch
|
||||
#Requires: perl(IO::Compress::Bzip2) perl(IO::Compress::Deflate)
|
||||
#Requires: perl(IO::Compress::Gzip) perl(IO::Compress::RawDeflate) perl(IO::Compress::Zip)
|
||||
#Requires: perl(Compress::Zlib)
|
||||
#Requires: perl(Digest::MD5)
|
||||
#Requires: perl(Digest::SHA)
|
||||
#Requires: perl(Digest::MD5)
|
||||
#Requires: perl(Digest::SHA)
|
||||
|
||||
Requires: perl(Archive::Zip)
|
||||
Requires: perl(Image::ExifTool) = %{version}
|
||||
|
||||
# Below provided because the package was renamed from 8.40 => 8.65 upgrade
|
||||
Obsoletes: exiftool < 8.65
|
||||
Provides: exiftool = %{version}
|
||||
|
||||
@@ -131,16 +133,15 @@ and Meta Information
|
||||
|
||||
See html/index.html for more details about ExifTool features overall.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -148,12 +149,15 @@ See html/index.html for more details about ExifTool features overall.
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -n exiftool
|
||||
%defattr(644,root,root,755)
|
||||
%attr(755, root, root) %{_bindir}/exiftool
|
||||
%doc %{_mandir}/man1/exiftool.1.gz
|
||||
%doc gpx.fmt gpx_wpt.fmt kml.fmt
|
||||
%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
|
||||
%defattr(644,root,root,755)
|
||||
|
||||
Reference in New Issue
Block a user