From 3eaf298abd7279fe49dbb68bf42e1b96b20c8241 Mon Sep 17 00:00:00 2001 From: cvsextras Date: Mon, 8 Nov 2004 05:04:26 +0000 Subject: [PATCH] auto-import changelog data from perl-Image-Base-1.07-0.fdr.3.rh90.src.rpm 1.07-0.fdr.3 - Added the perl(:MODULE_COMPAT_xxx) requirement. - Replaced the source URL by the canonical one. 1.07-0.fdr.2 - Bring up to date with current fedora.us perl spec template. 1.07-0.fdr.1 - First build. --- .cvsignore | 1 + perl-Image-Base.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 66 insertions(+) create mode 100644 perl-Image-Base.spec diff --git a/.cvsignore b/.cvsignore index e69de29..9d934ea 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Image-Base-1.07.tar.gz diff --git a/perl-Image-Base.spec b/perl-Image-Base.spec new file mode 100644 index 0000000..75cb1cd --- /dev/null +++ b/perl-Image-Base.spec @@ -0,0 +1,64 @@ +%{!?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. diff --git a/sources b/sources index e69de29..2603b1e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +49e524c89ccdf197b7b73b148d8e27e6 Image-Base-1.07.tar.gz