From d25c9308ee80610f72f6438a01b96a36a963eb7c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:12:11 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 3.232-2mamba;Mon Nov 12 2012] --- README.md | 4 +++ perl-Image-Size.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 perl-Image-Size.spec diff --git a/README.md b/README.md index 7867e0a..f3b8c86 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-Image-Size +Image::Size is a library based on the image-sizing code in the wwwimagesize script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to IMG directives. +Image::Size has generalized that code to return a raw (X, Y) pair, and included wrappers to pre-format that output into either HTML or a set of attribute pairs suitable for the CGI.pm library by Lincoln Stein. +Currently, Image::Size can size images in XPM, XBM, GIF, JPEG, PNG, MNG, TIFF, the PPM family of formats (PPM/PGM/PBM) and if Image::Magick is installed, the formats supported by it. + diff --git a/perl-Image-Size.spec b/perl-Image-Size.spec new file mode 100644 index 0000000..4b54a66 --- /dev/null +++ b/perl-Image-Size.spec @@ -0,0 +1,81 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Image-Size +Version: 3.232 +Release: 2mamba +Summary: Image::Size - Determine the size of images in several common formats +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Image/Image-Size-%{version}.tar.gz +License: GPL +BuildRequires: perl-devel >= %perl_major_ver +Requires: perl >= %perl_major_ver +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Image::Size is a library based on the image-sizing code in the wwwimagesize script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to IMG directives. +Image::Size has generalized that code to return a raw (X, Y) pair, and included wrappers to pre-format that output into either HTML or a set of attribute pairs suitable for the CGI.pm library by Lincoln Stein. +Currently, Image::Size can size images in XPM, XBM, GIF, JPEG, PNG, MNG, TIFF, the PPM family of formats (PPM/PGM/PBM) and if Image::Magick is installed, the formats supported by it. + +%prep +%setup -q -n Image-Size-%{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 -f $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}" + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Mon Nov 12 2012 Silvan Calarco 3.232-2mamba +- perl 5.16 mass rebuild + +* Sun Aug 12 2012 Automatic Build System 3.232-1mamba +- automatic version update by autodist + +* Mon May 28 2012 Automatic Build System 3.231-1mamba +- automatic version update by autodist + +* Sat Mar 19 2011 Automatic Build System 3.230-1mamba +- automatic update by autodist + +* Wed Oct 28 2009 Automatic Build System 3.210-1mamba +- automatic update by autodist + +* Tue Mar 31 2009 Silvan Calarco 3.2-1mamba +- automatic update by autodist + +* Fri Feb 06 2009 Silvan Calarco 3.1.1-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 3.1-2mamba +- automatic rebuild by autodist + +* Fri Nov 30 2007 Aleph0 3.1-1mamba +- update to 3.1 + +* Tue Oct 26 2004 Mirko Cortillaro 2.992-1qilnx +- package created by autospec