From 0c9852628e5bfd9390f3233ec6bdb71d8059b1e8 Mon Sep 17 00:00:00 2001 From: cvsextras Date: Nov 08 2004 05:04:44 +0000 Subject: auto-import changelog data from perl-Image-Size-2.992-0.fdr.2.rh90.src.rpm 2.992-0.fdr.2 - Bring up to date with current fedora.us perl spec template. 2.992-0.fdr.1 - First build. --- diff --git a/.cvsignore b/.cvsignore index e69de29..9ec359d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Image-Size-2.992.tar.gz diff --git a/perl-Image-Size.spec b/perl-Image-Size.spec new file mode 100644 index 0000000..f15884f --- /dev/null +++ b/perl-Image-Size.spec @@ -0,0 +1,70 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-Image-Size +Version: 2.992 +Release: 0.fdr.2.rh90 +Epoch: 0 +Summary: Determine the size of images in several common formats in Perl + +Group: Development/Libraries +License: Artistic +URL: http://search.cpan.org/dist/Image-Size/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJRAY/Image-Size-2.992.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +Requires: perl(Image::Magick) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%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 INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc ChangeLog README +%{_bindir}/imgsize +%{perl_vendorlib}/Image/ +%{perl_vendorlib}/auto/ +%{_mandir}/man[13]/*.* + + +%changelog +* Thu Jun 3 2004 Jose Pedro Oliveira - 0:2.992-0.fdr.2 +- Bring up to date with current fedora.us perl spec template. + +* Sun Oct 12 2003 Ville Skyttä - 0:2.992-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..3c48544 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2e278c39a9379f5fefaf6eb288208bd8 Image-Size-2.992.tar.gz