|
|
|
Name: perl-Image-Base
|
|
|
|
Version: 1.07
|
|
|
|
Release: 5%{?dist}
|
|
|
|
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-%{version}.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
|
|
|
|
* Fri Dec 30 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-5
|
|
|
|
- Dist tag.
|
|
|
|
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.07-4
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Jun 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 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ä <ville.skytta at iki.fi> - 0:1.07-0.fdr.2
|
|
|
|
- Bring up to date with current fedora.us perl spec template.
|
|
|
|
|
|
|
|
* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1
|
|
|
|
- First build.
|