1
0
perl-Image-ExifTool/perl-Image-ExifTool.spec

116 lines
3.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Image-ExifTool
#
- Update to 12.52: - Added a few new Nikon LensID's (thanks LibRaw and Chris) - Added Slovak translations (thanks Peter Bagin) - Made SphericalVideoXML readable/writable as a block - Improved handling of Matroska metadata tags, including language support - Improved French translations (thanks Philippe Bonnaure of GraphicConverter) - Improved Composite:GPSAltitude conversion to honour -lang setting - Improved -v2 messages to indicate files extracted from zip archives - Added a new Olympus LensType (thanks Herb) - Extract C2PA JUMBF metadata from PNG images and extract C2PA Salt values - Decode NikonSettings for Z9 firmware 3.0 (thanks Warren Hatch) - Decode additional camm metadata from Insta360 Pro2 MP4 videos - Improved Verbose output when writing Composite tags to add a "+" sign to indicate related tags that are being written - Enhanced -geotag option CSV format to support GPSImgDirection column - Fixed problem where -w+ option didn't work in Windows if there were Unicode characters in the path name - Fixed problem where only the last image of the sequence was extracted (multiple times) when using -ee2 to extract embedded images from FLIR SEQ files - Fixed issue where GPS reference directions may be unknowingly written when using ExifTool 12.44 or later to write GPSLatitude or GPSLongitude without specifying a group name. The fix was to Avoid writing the Composite tags unless the Composite group is specified explicitly - Fixed -geotag to write orientation and track tags even if some tags in the category were missing - Fixed inconsistency in selecting which tag to output with the -json option when multiple tags with the same JSON key exist and the -TAG# feature is used to disable print conversion - Fixed problem writing QuickTime:PlayListID OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-ExifTool?expand=0&rev=103
2023-01-03 15:03:49 +01:00
# Copyright (c) 2023 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
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 08:58:09 +02:00
Name: perl-Image-ExifTool
Version: 12.59
Release: 0
Accepting request 889920 from home:alois:branches:devel:languages:perl - Update to version 12.25 fixes (boo#1185547) * JPEG XL support is now official * Added read support for Medical Research Council (MRC) image files * Added ability to write a number of 3gp tags in video files * Added a new Sony PictureProfile value (thanks Jos Roost) * Added a new Sony LensType (thanks LibRaw) * Added a new Nikon LensID (thanks Niels Kristian Bech Jensen) * Added a new Canon LensType * Decode more GPS information from Blackvue dashcam videos * Decode a couple of new NikonSettings tags (thanks Warren Hatch) * Decode a few new RIFF tags * Improved Validate option to add minor warning if standard XMP is missing xpacket wrapper * Avoid decoding some large arrays in DNG images to improve performance unless the -m option is used * Patched bug that could give runtime warning when trying to write an empty XMP structure * Fixed decoding of ImageWidth/Height for JPEG XL images * Fixed problem were Microsoft Xtra tags couldn't be deleted version 12.24: * Added a new PhaseOne RawFormat value (thanks LibRaw) * Decode a new Sony tag (thanks Jos Roost) * Decode a few new Panasonic and FujiFilm tags (thanks LibRaw and Greybeard) * Patched security vulnerability in DjVu reader * Updated acdsee.config in distribution (thanks StarGeek) * Recognize AutoCAD DXF files * More work on experimental JUMBF read support * More work on experimental JPEG XL read/write support version 12.23: * Added support for Olympus ORI files * Added experimental read/write support for JPEG XL images * Added experimental read support for JUMBF metadata in JPEG and Jpeg2000 images * Added built-in support for parsing GPS track from Denver ACG-8050 videos with the -ee option * Added a some new Sony lenses (thanks Jos Roost and LibRaw) * Changed priority of Samsung trailer tags so the first DepthMapImage takes precedence when -a is not used * Improved identification of M4A audio files * Patched to avoid escaping ',' in "Binary data" message when -struct is used * Removed Unknown flag from MXF VideoCodingSchemeID tag * Fixed -forcewrite=EXIF to apply to EXIF in binary header of EPS files * API Changes: + Added BlockExtract option version 12.22: * Added a few new Sony LensTypes and a new SonyModelID (thanks Jos Roost and LibRaw) * Added Extra BaseName tag * Added a new CanonModelID (thanks LibRaw) * Decode timed GPS from unlisted programs in M2TS videos with the -ee3 option * Decode more Sony rtmd tags * Decode some tags for the Sony ILME-FX3 (thanks Jos Roost) * Allow negative values to be written to XMP-aux:LensID * Recognize HEVC video program in M2TS files * Enhanced -b option so --b suppresses tags with binary data * Improved flexibility when writing GPS coordinates: + Now pulls latitude and longitude from a combined GPSCoordinates string + Recognizes the full word "South" and "West" to write negative coordinates * Improved warning when trying to write an integer QuickTime date/time tag and Time::Local is not available * Convert GPSSpeed from mph to km/h in timed GPS from Garmin MP4 videos version 12.21: * Added a few new iOS QuickTime tags * Decode a couple more Sony rtmd tags * Patch to avoid possible "Use of uninitialized value" warning when attempting to write QuickTime date/time tags with an invalid value * Fixed problem writing Microsoft Xtra tags * Fixed Windows daylight savings time patch for file times that was broken in 12.19 (however directory times will not yet handle DST properly) version 12.20: * Added ability to write some Microsoft Xtra tags in MOV/MP4 videos * Added two new Canon LensType values (thanks Norbert Wasser) * Added a new Nikon LensID * Fixed problem reading FITS comments that start before column 11 version 12.19: * Added -list_dir option * Added the "ls-l" Shortcut tag * Extract Comment and History from FITS files * Enhanced FilePermissions to include device type (similar to "ls -l") * Changed the name of Apple ContentIdentifier tag to MediaGroupUUID (thanks Neal Krawetz) * Fixed a potential "substr outside of string" runtime error when reading corrupted EXIF * Fixed edge case where NikonScanIFD may not be copied properly when copying MakerNotes to another file * API Changes: + Added ability to read/write System tags of directories + Enhanced GetAllGroups() to support family 7 and take optional ExifTool reference + Changed QuickTimeHandler option default to 1 version 12.18: * Added a new SonyModelID * Decode a number of Sony tags for the ILCE-1 (thanks Jos Roost) * Decode a couple of new Canon tags (thanks LibRaw) * Patched to read differently formatted UserData:Keywords as written by iPhone * Patched to tolerate out-of-order Nikon MakerNote IFD entries when obtaining tags necessary for decryption * Fixed a few possible Condition warnings for some NikonSettings tags version 12.17: * Added a new Canon FocusMode value * Added a new FujiFilm FilmMode value * Added a number of new XMP-crs tags (thanks Herb) * Decode a new H264 MDPM tag * Allow non-conforming lower-case XMP boolean "true" and "false" values to be written, but only when print conversion is disabled * Improved Validate option to warn about non-capitalized boolean XMP values * Improved logic for setting GPSLatitude/LongitudeRef values when writing * Changed -json and -php options so the -a option is implied even without the -g option * Avoid extracting audio/video data from AVI videos when -ee -u is used * Patched decoding of Canon ContinuousShootingSpeed for newer firmware versions of the EOS-1DXmkIII * Re-worked LensID patch of version 12.00 (github issue #51) * Fixed a few typos in newly-added NikonSettings tags (thanks Herb) * Fixed problem where group could not be specified for PNG-pHYs tags when writing version 12.16: * Extract another form of video subtitle text * Enhanced -ee option with -ee2 and -ee3 to allow parsing of the H264 video stream in MP4 files * Changed a Nikon FlashMode value * Fixed problem that caused a failed DPX test on Strawberry Perl * API Changes: + Enhanced ExtractEmbedded option version 12.15: * Added a couple of new Sony LensType values (thanks LibRaw and Jos Roost) * Added a new Nikon FlashMode value (thanks Mike) * Decode NikonSettings (thanks Warren Hatch) * Decode thermal information from DJI RJPEG images * Fixed extra newline in -echo3 and -echo4 outputs added in version 12.10 * Fixed out-of-memory problem when writing some very large PNG files under Windows version 12.14: * Added support for 2 more types of timed GPS in video files (that makes 49 different formats now supported) * Added validity check for PDF trailer dictionary Size * Added a new Pentax LensType * Extract metadata from Jpeg2000 Association box * Changed -g:XX:YY and -G:XX:YY options to show empty strings for non-existent groups * Patched to issue warning and avoid writing date/time values with a zero month or day number * Patched to avoid runtime warnings if trying to set FileName to an empty string * Fixed issue that could cause GPS test number 12 to fail on some systems * Fixed problem extracting XML as a block from Jpeg2000 images, and extract XML tags in the XML group instead of XMP - Update URL OBS-URL: https://build.opensuse.org/request/show/889920 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-ExifTool?expand=0&rev=89
2021-05-04 11:38:15 +02:00
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