%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} Name: perl-Image-Base Version: 1.07 Release: 0.fdr.3.rh90 Epoch: 0 Summary: Base class for loading, manipulating and saving images in Perl Group: Development/Libraries License: LGPL URL: http://search.cpan.org/dist/Image-Base/ Source0: http://www.cpan.org/authors/id/S/SU/SUMMER/Image-Base-1.07.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.6.1 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description %{summary}. %prep %setup -q -n Image-Base-%{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 README %{perl_vendorlib}/Image/ %{_mandir}/man3/*.3* %changelog * Thu Jun 3 2004 Jose Pedro Oliveira - 0:1.07-0.fdr.3 - Added the perl(:MODULE_COMPAT_xxx) requirement. - Replaced the source URL by the canonical one. * Thu Jun 3 2004 Ville Skyttä - 0:1.07-0.fdr.2 - Bring up to date with current fedora.us perl spec template. * Sun Oct 12 2003 Ville Skyttä - 0:1.07-0.fdr.1 - First build.