Name: perl-Image-Size Version: 3.300 Release: 1%{?dist} Summary: Read the dimensions of an image in several popular formats License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Image-Size/ Source0: http://www.cpan.org/authors/id/R/RJ/RJRAY/Image-Size-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006001 BuildRequires: perl(Compress::Zlib) >= 2 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.8 BuildRequires: perl(Module::Build) >= 0.28 BuildRequires: perl(Test::More) >= 0.80 Requires: perl(Compress::Zlib) >= 2 Requires: perl(File::Spec) >= 0.8 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The Image::Size library is based upon the wwwis script written by Alex Knowles (alex@ed.ac.uk), a tool to examine HTML and add 'width' and 'height' parameters to image tags. The sizes are cached internally based on file name, so multiple calls on the same file name (such as images used in bulleted lists, for example) do not result in repeated computations. %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 -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog ChangeLog.xml etc ex imgsize META.json README README.textile xt %{perl_vendorlib}/* %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Sun Jun 26 2016 Dave Cross 3.300-1 - Specfile autogenerated by cpanspec 1.78.