diff --git a/Image-ExifTool-12.29.tar.gz b/Image-ExifTool-12.29.tar.gz deleted file mode 100644 index 757675a..0000000 --- a/Image-ExifTool-12.29.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:256d5e46a8c73a202c7e56da2a2bd85e97adfc4c59672e49ca38df1c21ffda27 -size 4943412 diff --git a/Image-ExifTool-12.30.tar.gz b/Image-ExifTool-12.30.tar.gz new file mode 100644 index 0000000..6a3a3e9 --- /dev/null +++ b/Image-ExifTool-12.30.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3be7cda70b471df589c75a4adbb71bae62e633022b0ba62585f3bcd91b35544f +size 4948601 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..186d176 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,75 @@ +--- +description_paragraphs: 1 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +# baz.patch: PATCH-FIX-OPENSUSE +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module +skip_doc: exiftool +add_doc: html config_files +misc: |- + %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* diff --git a/perl-Image-ExifTool.changes b/perl-Image-ExifTool.changes index b71b425..bfcea1f 100644 --- a/perl-Image-ExifTool.changes +++ b/perl-Image-ExifTool.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 23 14:48:59 UTC 2021 - Dirk Stoecker + +- updated to 12.30 + see /usr/share/doc/packages/perl-Image-ExifTool/Changes + ------------------------------------------------------------------- Tue Aug 3 10:09:12 UTC 2021 - Paolo Stivanin diff --git a/perl-Image-ExifTool.spec b/perl-Image-ExifTool.spec index 7df7198..b4c1ad5 100644 --- a/perl-Image-ExifTool.spec +++ b/perl-Image-ExifTool.spec @@ -18,27 +18,54 @@ %define cpan_name Image-ExifTool Name: perl-Image-ExifTool -Version: 12.29 +Version: 12.30 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 +Summary: Read and write meta information +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/E/EX/EXIFTOOL/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros -Requires: perl(File::RandomAccess) -Conflicts: exiftool < %{version} -BuildArch: noarch -%{?perl_requires} +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} %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. +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 @@ -60,6 +87,12 @@ 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 @@ -69,35 +102,6 @@ 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*