diff --git a/.cvsignore b/.cvsignore index e69de29..72f3c90 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Image-Xpm-1.09.tar.gz diff --git a/perl-Image-Xpm.spec b/perl-Image-Xpm.spec new file mode 100644 index 0000000..ea77802 --- /dev/null +++ b/perl-Image-Xpm.spec @@ -0,0 +1,63 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-Image-Xpm +Version: 1.09 +Release: 0.fdr.2.rh90 +Epoch: 0 +Summary: Load, create, manipulate and save xpm image files in Perl + +Group: Development/Libraries +License: GPL +URL: http://search.cpan.org/dist/Image-Xpm/ +Source0: http://www.cpan.org/authors/id/S/SU/SUMMER/Image-Xpm-1.09.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +BuildRequires: perl(Image::Base) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This class module provides basic load, manipulate and save functionality for +the xpm file format. It inherits from Image::Base which provides additional +manipulation functionality. + + +%prep +%setup -q -n Image-Xpm-%{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.09-0.fdr.2 +- Bring up to date with current fedora.us perl spec template. + +* Sun Oct 12 2003 Ville Skyttä - 0:1.09-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..52e4661 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1efd12d6f90c184b518282bff980a7f1 Image-Xpm-1.09.tar.gz