%define upstream_name Image-Size %define upstream_version 3.232 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Epoch: 1 Summary: Read the dimensions of an image in several popular formats License: GPL Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Image/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.800.0 BuildRequires: perl(Module::Build) >= 0.280.0 BuildRequires: perl(Test::More) >= 0.800.0 BuildArch: noarch %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. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install %makeinstall_std %files %doc ChangeLog META.json META.yml MYMETA.yml README ex %{_bindir}/imgsize %{_mandir}/*/* %{perl_vendorlib}/Image %changelog * Sun Jan 13 2013 umeabot <umeabot> 1:3.232.0-2.mga3 + Revision: 368738 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jun 05 2012 jquelin <jquelin> 1:3.232.0-1.mga3 + Revision: 255815 - update to 3.232 * Mon Jan 24 2011 jquelin <jquelin> 1:3.230.0-2.mga1 + Revision: 36876 - rebuild * Sun Jan 23 2011 jquelin <jquelin> 1:3.230.0-1.mga1 + Revision: 34889 - mageia rebuild - imported package perl-Image-Size