2011-03-25 11:17:27 +01:00
|
|
|
#
|
2011-06-06 14:45:28 +02:00
|
|
|
# spec file for package perl-Image-ExifTool
|
2011-03-25 11:17:27 +01:00
|
|
|
#
|
2017-02-14 04:41:55 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-03-25 11:17:27 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-06-06 14:45:28 +02:00
|
|
|
|
2015-04-12 07:47:25 +02:00
|
|
|
%define cpan_name Image-ExifTool
|
2011-03-25 11:17:27 +01:00
|
|
|
Name: perl-Image-ExifTool
|
2017-06-09 18:32:35 +02:00
|
|
|
Version: 10.55
|
2012-02-14 11:18:53 +01:00
|
|
|
Release: 0
|
2011-12-06 15:47:57 +01:00
|
|
|
Summary: Perl module to read and write meta information
|
2012-02-14 11:18:53 +01:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
2015-04-12 07:47:25 +02:00
|
|
|
Group: Development/Languages/Perl
|
|
|
|
Url: http://exiftool.sourceforge.net/
|
|
|
|
Source: http://downloads.sf.net/exiftool/%{cpan_name}-%{version}.tar.gz
|
2011-03-25 11:17:27 +01:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2015-04-16 22:24:04 +02:00
|
|
|
Requires: perl(File::RandomAccess)
|
2012-10-01 07:44:05 +02:00
|
|
|
Conflicts: exiftool < %{version}
|
2015-04-12 07:47:25 +02:00
|
|
|
BuildArch: noarch
|
2016-06-15 00:30:47 +02:00
|
|
|
%{?perl_requires}
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
%description
|
2016-04-30 16:22:07 +02:00
|
|
|
ExifTool is a customisable set of Perl modules plus a full-featured
|
2011-11-17 22:37:42 +01:00
|
|
|
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.
|
2011-03-25 11:17:27 +01:00
|
|
|
|
2011-12-06 15:47:57 +01:00
|
|
|
%package -n exiftool
|
2016-04-30 16:22:07 +02:00
|
|
|
Summary: Customisable application to read and write meta information in files
|
2011-12-06 15:47:57 +01:00
|
|
|
Group: Productivity/Graphics/Other
|
|
|
|
Requires: perl(Image::ExifTool) = %{version}
|
2015-04-12 10:33:30 +02:00
|
|
|
Recommends: perl(Archive::Zip)
|
|
|
|
# Per http://perldoc.perl.org/index-modules-I.html, these are the part of perl-base.
|
|
|
|
#Recommends: perl(Compress::Zlib)
|
|
|
|
#Recommends: perl(Digest::MD5)
|
|
|
|
#Recommends: perl(Digest::SHA)
|
|
|
|
#Recommends: perl(IO::Compress::Bzip2)
|
|
|
|
#Recommends: perl(Time::HiRes)
|
2011-12-12 18:22:07 +01:00
|
|
|
|
2011-12-06 15:47:57 +01:00
|
|
|
%description -n exiftool
|
|
|
|
ExifTool is a a full-featured application for reading and writing
|
2016-04-30 16:22:07 +02:00
|
|
|
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.
|
2011-12-06 15:47:57 +01:00
|
|
|
|
2012-10-01 07:44:05 +02:00
|
|
|
%package -n perl-File-RandomAccess
|
2016-04-30 16:22:07 +02:00
|
|
|
Summary: Random access reads of sequential file or scalar
|
2015-04-12 07:47:25 +02:00
|
|
|
Group: Development/Languages/Perl
|
2012-10-01 07:44:05 +02:00
|
|
|
|
|
|
|
%description -n perl-File-RandomAccess
|
2015-04-12 07:47:25 +02:00
|
|
|
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.
|
2012-10-01 07:44:05 +02:00
|
|
|
|
2011-03-25 11:17:27 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2012-09-26 07:32:26 +02:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2016-11-25 19:32:12 +01:00
|
|
|
make %{?_smp_mflags} V=1
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
%check
|
2016-11-25 19:32:12 +01:00
|
|
|
make %{?_smp_mflags} V=1 test
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
2015-04-12 07:47:25 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README html
|
|
|
|
%doc config_files/
|
|
|
|
%exclude %{_bindir}/exiftool
|
|
|
|
%exclude %{_mandir}/man?/exiftool.?%{?ext_man}
|
|
|
|
%{perl_vendorlib}/Image/
|
|
|
|
%{_mandir}/man?/Image::ExifTool*
|
|
|
|
|
2011-12-06 15:47:57 +01:00
|
|
|
%files -n exiftool
|
2015-04-12 07:47:25 +02:00
|
|
|
%defattr(-,root,root)
|
2013-08-05 15:23:13 +02:00
|
|
|
%doc fmt_files/
|
|
|
|
%doc arg_files/
|
2015-04-12 07:47:25 +02:00
|
|
|
%{_bindir}/exiftool
|
|
|
|
%{_mandir}/man?/exiftool.?%{?ext_man}
|
2012-10-01 07:44:05 +02:00
|
|
|
|
|
|
|
%files -n perl-File-RandomAccess
|
|
|
|
%defattr(-,root,root)
|
2015-04-12 07:47:25 +02:00
|
|
|
%{perl_vendorlib}/File/
|
|
|
|
%{_mandir}/man?/File::RandomAccess*
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
%changelog
|