perl-Image-ExifTool/perl-Image-ExifTool.spec
Stephan Kulow 6fd26a53e7 Accepting request 973841 from home:polslinux:branches:devel:languages:perl
- update to version 12.41:
  * Added support for "OM SYSTEM" maker notes
  * Added 2 new Sony LensType values (thanks Jos Roost)
  * Added some new Canon lenses (thanks LibRaw)
  * Added a new Nikon LensID (thanks Bert Ligtvoet)
  * Added a new Canon ContinuousDrive value (thanks Wolfgang Gulcker)
  * Enhanced -v0 option to also print new file name when renaming, moving or
    copying a file
  * Updated xmp2exif.args and exif2xmp.args helper files to reflect the IPTC
    Photometadata Mapping Guidelines version 2202.1
  * Made "Invalid Xxx data" a minor warning for MakerNote data
  * Patched to allow writing of MP4 videos which have other tracks with a
    missing sample description entry
  * Patched MacOS version to specify directory for external utilities (setfile,
    xattr, stat, mdls and osascript from /usr/bin, and tag from /usr/local/bin)
  * Fixed long-standing problem where Windows version could behave differently
    for -if conditions containing undefined tags
  * Fixed problem where -W+! combined with -j or -X produced invalid JSON or XML
    when  processing multiple files
  * Fixed potential "uninitialized value $time in division" runtime warning when
    reading MP4 videos
  * Added PageCount tag to return the number of pages in a multi-page TIFF
  * Added a new Nikon LensID (thanks Wolfgang Exler)
  * Added a few more Sony LensTypes (thanks Jos Roost)
  * Decode some new Canon tags (thanks Mark Reid)
  * Decode another Nikon Z9 tag (thanks Warren Hatch)
  * Decode Nikon NKSC GPSImgDirection (thanks Olaf)
  * Improved handling of empty XMP structures in lists
  * Tolerate leading UTF-8 BOM in -geotag log files
  * Updated photoshop_paths.config to include WorkingPath
  * Patched to allow writing of MP4 videos which have url tracks with a missing
    sample description entry
  * Fixed deep recursion error when reading multi-page TIFF images with more
    than 100 pages
  * Fixed potential deep recursion runtime error when writing nested XMP
    structures
  * Fixed warning which could be generated when writing new
    Composite:GPSCoordinates tag
  * Fixed description of GPR (General Purpose RAW) file type
  * Fixed typo in the name of a new Nikon tag (thanks Herb)

OBS-URL: https://build.opensuse.org/request/show/973841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-ExifTool?expand=0&rev=95
2022-04-30 06:58:09 +00:00

116 lines
3.9 KiB
RPMSpec

#
# spec file for package perl-Image-ExifTool
#
# Copyright (c) 2022 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
Version: 12.41
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Read and write meta information
URL: https://metacpan.org/release/%{cpan_name}
# use non-release build because of CVE-2022-23935
#Source0: https://cpan.metacpan.org/authors/id/E/EX/EXIFTOOL/%%{cpan_name}-%%{version}.tar.gz
Source0: https://exiftool.org/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
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}
# MANUAL BEGIN
Requires: perl(File::RandomAccess) >= 1.11
# MANUAL END
%description
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}
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*
%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.
%files -n exiftool
%doc fmt_files/
%doc arg_files/
%{_bindir}/exiftool
%{_mandir}/man?/exiftool.?%{?ext_man}
%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.
%files -n perl-File-RandomAccess
%{perl_vendorlib}/File/
%{_mandir}/man?/File::RandomAccess*
%changelog