perl-Image-ExifTool/perl-Image-ExifTool.spec
Dirk Stoecker 1954aa18ae 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 09:38:15 +00:00

106 lines
3.5 KiB
RPMSpec

#
# spec file for package perl-Image-ExifTool
#
# Copyright (c) 2021 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.25
Release: 0
Summary: Perl module to read and write meta information
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Languages/Perl
URL: https://exiftool.org/
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