|
|
|
@ -1,12 +1,11 @@
|
|
|
|
|
Name: perl-Imager
|
|
|
|
|
Version: 0.83
|
|
|
|
|
Version: 0.84
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Perl extension for Generating 24 bit Images
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Imager/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/T/TO/TONYC/Imager-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: perl(Affix::Infix2Postfix)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Image::Math::Constrain)
|
|
|
|
@ -47,8 +46,6 @@ sed -i -e "s,#!perl,#! %{__perl}," samples/*
|
|
|
|
|
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 {} \;
|
|
|
|
@ -60,9 +57,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README samples
|
|
|
|
@ -71,6 +65,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jun 27 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.84-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
- Modernize spec-file.
|
|
|
|
|
|
|
|
|
|
* Sun May 22 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.83-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
|
|