perl-Image-ExifTool/perl-Image-ExifTool.spec
Alexei Sorokin f554daef7b Accepting request 848796 from home:polslinux:branches:devel:languages:perl
- Update to 12.10
  * Added -validate test for proper TIFF magic number in
    JPEG EXIF header
  * Added support for Nikon Z7 LensData version 0801
  * Added a new XMP-GPano tag
  * Decode ColorData for the Canon EOS 1DXmkIII
  * Decode more tags for the Sony ILCE-7SM3
  * Automatically apply QuickTimeUTC option for CR3 files
  * Improved decoding of XAttrMDLabel from MacOS files
  * Ignore time zones when writing date/time values and
    using the -d option
  * Enhanced -echo3 and -echo4 options to allow exit status
    to be returned
  * Changed -execute so the -q option no longer suppresses
    the "{ready}" message when a synchronization number is used
  * Added ability to copy CanonMakerNotes from CR3 images
    to other file types
  * Added read support for ON1 presets file (.ONP)
  * Added two new CanonModelID values
  * Added trailing "/" when writing QuickTime:GPSCoordinates
  * Added a number of new XMP-crs tags
  * Added a new Sony LensType (thanks Jos Roost)
  * Added a new Nikon Z lens (thanks LibRaw)
  * Added a new Canon LensType
  * Decode ColorData for Canon EOS R5/R6
  * Decode a couple of new HEIF tags
  * Decode FirmwareVersion for Canon M50
  * Improved decoding of Sony CreativeStyle tags
  * Improved parsing of Radiance files to recognize comments
  * Renamed GIF AspectRatio tag to PixelAspectRatio
  * Patched EndDir() feature so subdirectories are always
    processed when -r is used (previously, EndDir() would
    end processing of a directory completely)
  * Avoid loading GoPro module unnecessarily when reading MP4 videos
    from some other cameras
  * Fixed problem with an incorrect naming of CodecID tags in some
    MKV videos
  * Fixed verbose output to avoid "adding" messages for
    existing flattened XMP tags
  * Added a new Sony LensType
  * Recognize Mac OS X xattr files
  * Extract ThumbnailImage from MP4 videos of more dashcam models
  * Improved decoding of a number of Sony tags
  * Fixed problem where the special -if EndDir() function didn't
    work properly for directories after the one in which
    it was initially called
  * Patched to read DLL files which don't have a .rsrc section
  * Patched to support new IGC date format when geotagging
  * Patched to read DLL files with an invalid size in the header 
  * Added support for GoPro .360 videos
  * Added some new Canon RF and Nikkor Z lenses
  * Added some new Sony LensType and CreativeStyle values
    and decode some ILCE-7C tags
  * Added a number of new Olympus SceneMode values
  * Added a new Nikon LensID
  * Decode more timed metadata from Insta360 videos
  * Decode timed GPS from videos of more Garmin dashcam models
  * Decode a new GoPro video tag
  * Reformat time-only EventTime values when writing and prevent
    arbitrary strings from being written
  * Patched to accept backslashes in SourceFile entries for -csv option

OBS-URL: https://build.opensuse.org/request/show/848796
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-ExifTool?expand=0&rev=85
2020-11-16 15:03:56 +00:00

106 lines
3.5 KiB
RPMSpec

#
# 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
Version: 12.10
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