8
0
Files
perl-Image-ExifTool/perl-Image-ExifTool.spec

106 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Image-ExifTool
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define cpan_name Image-ExifTool
Name: perl-Image-ExifTool
Accepting request 859238 from home:dirkmueller:branches:devel:languages:perl - update to 12.13: - Add time zone automatically to most string-based QuickTime date/time tags when writing unless the PrintConv option is disabled - Added -i HIDDEN option to ignore files with names that start with "." - Added a few new Nikon ShutterMode values (thanks Jan Skoda) - Added ability to write Google GCamera MicroVideo XMP tags - Decode a new Sony tag (thanks LibRaw) - Changed behaviour when writing only pseudo tags to return an error and avoid writing any other tags if writing FileName fails - Print "X image files read" message even if only 1 file is read when at least one other file has failed the -if condition - Added ability to geotag from DJI CSV log files - Added a new CanonModelID - Added a couple of new Sony LensType values (thanks LibRaw) - Enhanced -csvDelim option to allow "\t", "\n", "\r" and "\\" - Unescape "\b" and "\f" in imported JSON values - Fixed bug introduced in 12.10 which generated a "Not an integer" warning when attempting to shift some QuickTime date/time tags - Fixed shared-write permission problem with -@ argfile when using -stay_open and a filename containing special characters on Windows - Added -csvDelim option - Added new Canon and Olympus LensType values (thanks LibRaw) - Added a warning if ICC_Profile is deleted from an image (github issue #63) - EndDir() function for -if option now works when -fileOrder is used - Changed FileSize conversion to use binary prefixes since that is how the conversion is currently done (eg. MiB instead of MB) - Patched -csv option so columns aren't resorted when using -G option and one of the tags is missing from a file - Fixed incompatiblity with Google Photos when writing UserData:GPSCoordinates to MP4 videos OBS-URL: https://build.opensuse.org/request/show/859238 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-ExifTool?expand=0&rev=87
2021-01-04 14:23:37 +00:00
Version: 12.13
Release: 0
Summary: Perl module to read and write meta information
License: GPL-1.0-or-later OR Artistic-1.0
Group: Development/Languages/Perl
URL: https://exiftool.sourceforge.io/
Source: https://downloads.sf.net/exiftool/%{cpan_name}-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(File::RandomAccess)
Conflicts: exiftool < %{version}
BuildArch: noarch
%{?perl_requires}
%description
ExifTool is a customisable set of Perl modules plus 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.
%package -n exiftool
Summary: Customisable application to read and write meta information in files
Group: Productivity/Graphics/Other
Requires: perl(Image::ExifTool) = %{version}
Recommends: perl(Archive::Zip)
# Per https://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)
%description -n exiftool
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.
%package -n perl-File-RandomAccess
Summary: Random access reads of sequential file or scalar
Group: Development/Languages/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}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} V=1
%check
make %{?_smp_mflags} V=1 test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files
%doc Changes README html
%doc config_files/
%exclude %{_bindir}/exiftool
%exclude %{_mandir}/man?/exiftool.?%{?ext_man}
%{perl_vendorlib}/Image/
%{_mandir}/man?/Image::ExifTool*
%files -n exiftool
%doc fmt_files/
%doc arg_files/
%{_bindir}/exiftool
%{_mandir}/man?/exiftool.?%{?ext_man}
%files -n perl-File-RandomAccess
%{perl_vendorlib}/File/
%{_mandir}/man?/File::RandomAccess*
%changelog