perl-Image-ExifTool/perl-Image-ExifTool.spec

113 lines
4.0 KiB
RPMSpec

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Image-ExifTool
Version: 10.55
Release: 1mamba
Summary: Image::ExifTool - Utility for reading and writing image meta info
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/E/EX/EXIFTOOL/Image-ExifTool-%{version}.tar.gz
License: Artistic
Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
ExifTool is a customizable set of Perl modules plus an application script for reading and writing meta information in image, audio and video files, including the maker note information of many digital cameras by various
manufacturers such as Canon, Casio, FujiFilm, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Ricoh, Sanyo, Sigma/Foveon and Sony.
%prep
%setup -q -n Image-ExifTool-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 10.55-1mamba
- automatic update by autodist
* Mon Aug 29 2016 Automatic Build System <autodist@mambasoft.it> 10.20-1mamba
- automatic update by autodist
* Tue Mar 17 2015 Automatic Build System <autodist@mambasoft.it> 9.90-1mamba
- automatic update by autodist
* Thu Dec 11 2014 Automatic Build System <autodist@mambasoft.it> 9.76-1mamba
- automatic update by autodist
* Mon Sep 08 2014 Automatic Build System <autodist@mambasoft.it> 9.70-1mamba
- automatic update by autodist
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 9.60-1mamba
- automatic update by autodist
* Wed Feb 12 2014 Automatic Build System <autodist@mambasoft.it> 9.46-1mamba
- automatic update by autodist
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 9.27-1mamba
- automatic version update by autodist
* Sun Apr 07 2013 Automatic Build System <autodist@mambasoft.it> 9.25-1mamba
- automatic version update by autodist
* Thu Jan 17 2013 Automatic Build System <autodist@mambasoft.it> 9.13-1mamba
- automatic version update by autodist
* Mon Jan 07 2013 Automatic Build System <autodist@mambasoft.it> 9.12-1mamba
- automatic version update by autodist
* Wed Nov 07 2012 Automatic Build System <autodist@mambasoft.it> 9.04-1mamba
- automatic version update by autodist
* Sun Sep 09 2012 Automatic Build System <autodist@mambasoft.it> 9.01-1mamba
- automatic version update by autodist
* Fri Jun 15 2012 Automatic Build System <autodist@mambasoft.it> 8.90-1mamba
- automatic version update by autodist
* Mon Oct 03 2011 Automatic Build System <autodist@mambasoft.it> 8.65-1mamba
- automatic version update by autodist
* Mon Aug 08 2011 Automatic Build System <autodist@mambasoft.it> 8.60-1mamba
- automatic version update by autodist
* Mon Mar 07 2011 Automatic Build System <autodist@mambasoft.it> 8.50-1mamba
- automatic update by autodist
* Wed Nov 24 2010 Automatic Build System <autodist@mambasoft.it> 8.40-1mamba
- automatic update by autodist
* Fri Jul 16 2010 Automatic Build System <autodist@mambasoft.it> 8.25-1mamba
- automatic update by autodist
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 8.15-1mamba
- automatic update by autodist
* Sun Mar 07 2010 Davide Madrisan <davide.madrisan@gmail.com> 8.10-1mamba
- package created by autospec