perl 5.16 mass rebuild [release 3.232-2mamba;Mon Nov 12 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:12:11 +01:00
parent 2beb05a324
commit d25c9308ee
2 changed files with 85 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# perl-Image-Size # 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.

81
perl-Image-Size.spec Normal file
View File

@ -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 <aleph0@openmamba.org>
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 <silvan.calarco@mambasoft.it> 3.232-2mamba
- perl 5.16 mass rebuild
* Sun Aug 12 2012 Automatic Build System <autodist@mambasoft.it> 3.232-1mamba
- automatic version update by autodist
* Mon May 28 2012 Automatic Build System <autodist@mambasoft.it> 3.231-1mamba
- automatic version update by autodist
* Sat Mar 19 2011 Automatic Build System <autodist@mambasoft.it> 3.230-1mamba
- automatic update by autodist
* Wed Oct 28 2009 Automatic Build System <autodist@mambasoft.it> 3.210-1mamba
- automatic update by autodist
* Tue Mar 31 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2-1mamba
- automatic update by autodist
* Fri Feb 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-2mamba
- automatic rebuild by autodist
* Fri Nov 30 2007 Aleph0 <aleph0@openmamba.org> 3.1-1mamba
- update to 3.1
* Tue Oct 26 2004 Mirko Cortillaro <mirko.cortillaro@qilinux.it> 2.992-1qilnx
- package created by autospec