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
|
|
|
#
|
2024-01-15 07:40:49 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
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.
|
|
|
|
|
2018-09-28 10:42:39 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-03-25 11:17:27 +01:00
|
|
|
#
|
|
|
|
|
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
|
2024-06-14 14:31:57 +02:00
|
|
|
Version: 12.87
|
2012-02-14 11:18:53 +01:00
|
|
|
Release: 0
|
2021-05-04 11:38:15 +02:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2021-08-30 12:45:10 +02:00
|
|
|
Summary: Read and write meta information
|
2023-05-04 09:50:36 +02:00
|
|
|
URL: https://www.exiftool.org/index.html
|
|
|
|
Source0: https://www.exiftool.org/%{cpan_name}-%{version}.tar.gz
|
2021-08-30 12:45:10 +02:00
|
|
|
Source1: cpanspec.yml
|
|
|
|
BuildArch: noarch
|
2011-03-25 11:17:27 +01:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2021-08-30 12:45:10 +02:00
|
|
|
Recommends: perl(Archive::Zip)
|
|
|
|
Recommends: perl(Compress::Zlib)
|
|
|
|
Recommends: perl(Digest::SHA)
|
|
|
|
Recommends: perl(IO::Compress::RawDeflate)
|
|
|
|
Recommends: perl(IO::Uncompress::RawInflate)
|
|
|
|
Recommends: perl(POSIX::strptime)
|
|
|
|
%{perl_requires}
|
2021-10-12 11:45:33 +02:00
|
|
|
# MANUAL BEGIN
|
|
|
|
Requires: perl(File::RandomAccess) >= 1.11
|
|
|
|
# MANUAL END
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
%description
|
2021-08-30 12:45:10 +02:00
|
|
|
Reads and writes meta information in a wide variety of files, including the
|
|
|
|
maker notes of many digital cameras by various manufacturers such as Canon,
|
|
|
|
Casio, DJI, FLIR, FujiFilm, GE, GoPro, HP, JVC/Victor, Kodak, Leaf,
|
|
|
|
Minolta/Konica-Minolta, Nikon, Nintendo, Olympus/Epson, Panasonic/Leica,
|
|
|
|
Pentax/Asahi, Phase One, Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and
|
|
|
|
Sony.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2023-04-20 14:12:21 +02:00
|
|
|
|
2021-08-30 12:45:10 +02:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes config_files html README
|
|
|
|
%exclude %{_bindir}/exiftool
|
|
|
|
%exclude %{_mandir}/man?/exiftool.?%{?ext_man}
|
|
|
|
%exclude %{perl_vendorlib}/File/
|
|
|
|
%exclude %{_mandir}/man?/File::RandomAccess*
|
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)
|
2018-02-23 12:54:05 +01:00
|
|
|
# Per https://perldoc.perl.org/index-modules-I.html, these are the part of perl-base.
|
2015-04-12 10:33:30 +02:00
|
|
|
#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
|
|
|
|
2021-08-30 12:45:10 +02:00
|
|
|
%files -n exiftool
|
|
|
|
%doc fmt_files/
|
|
|
|
%doc arg_files/
|
|
|
|
%{_bindir}/exiftool
|
|
|
|
%{_mandir}/man?/exiftool.?%{?ext_man}
|
|
|
|
|
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
|
|
|
|
|
|
|
%files -n perl-File-RandomAccess
|
2015-04-12 07:47:25 +02:00
|
|
|
%{perl_vendorlib}/File/
|
|
|
|
%{_mandir}/man?/File::RandomAccess*
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
%changelog
|