[packages/perl-Image-ExifTool] Split exiftool package

glen glen at pld-linux.org
Fri Apr 28 08:27:32 CEST 2023


commit 26233e41a709d1fa55d75d6d8b9f1e034f908c8e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Apr 28 09:19:23 2023 +0300

    Split exiftool package
    
    Have the package installable by expected name

 perl-Image-ExifTool.spec | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)
---
diff --git a/perl-Image-ExifTool.spec b/perl-Image-ExifTool.spec
index bc7c4ce..99c8b0e 100644
--- a/perl-Image-ExifTool.spec
+++ b/perl-Image-ExifTool.spec
@@ -8,7 +8,7 @@ Summary:	Perl module for reading and writing image metadata
 Summary(pl.UTF-8):	Moduł Perla do czytania i zapisywania metadanych w plikach graficznych
 Name:		perl-Image-ExifTool
 Version:	12.29
-Release:	1
+Release:	2
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
@@ -28,13 +28,12 @@ BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-ExifTool is a customizable set of Perl modules plus an application
-script 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.
+ExifTool is a customizable set of Perl modules 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.
 
 %description -l pl.UTF-8
 ExifTool to dostosowywalny zestaw modułów perlowych oraz aplikacja do
@@ -45,6 +44,19 @@ JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson,
 Panasonic/Leica, Pentax/Asahi, Reconyx, Ricoh, Samsung, Sanyo,
 Sigma/Foveon i Sony.
 
+%package -n exiftool
+Summary:	Program for reading and writing EXIF metadata
+Group:		Applications/Graphics
+Requires:	%{name} = %{version}-%{release}
+
+%description -n exiftool
+ExifTool is an 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.
+
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
@@ -72,7 +84,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README Changes html
-%attr(755,root,root) %{_bindir}/exiftool
 %{perl_vendorlib}/File/RandomAccess.pm
 %{perl_vendorlib}/Image/ExifTool.pm
 %dir %{perl_vendorlib}/Image/ExifTool
@@ -97,6 +108,10 @@ rm -rf $RPM_BUILD_ROOT
 %lang(tr) %{perl_vendorlib}/Image/ExifTool/Lang/tr.pm
 %lang(zh_CN) %{perl_vendorlib}/Image/ExifTool/Lang/zh_cn.pm
 %lang(zh_TW) %{perl_vendorlib}/Image/ExifTool/Lang/zh_tw.pm
-%{_mandir}/man1/exiftool.1p*
 %{_mandir}/man3/File::RandomAccess.3pm*
 %{_mandir}/man3/Image::ExifTool*.3pm*
+
+%files -n exiftool
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/exiftool
+%{_mandir}/man1/exiftool.1p*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Image-ExifTool.git/commitdiff/26233e41a709d1fa55d75d6d8b9f1e034f908c8e



More information about the pld-cvs-commit mailing list