diff --git a/.cvsignore b/.cvsignore index e69de29..6070096 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +SVG-2.32.tar.gz diff --git a/perl-SVG.spec b/perl-SVG.spec new file mode 100644 index 0000000..907750a --- /dev/null +++ b/perl-SVG.spec @@ -0,0 +1,60 @@ +Name: perl-SVG +Version: 2.32 +Release: 2 +Summary: An extention to generate stand-alone or inline SVG. + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/SVG/ +Source0: http://www.cpan.org/authors/id/R/RO/RONAN/SVG-2.32.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 +SVG.pm is a perl extention to generate stand-alone or inline SVG +(scaleable vector graphics) images using the W3C SVG xml recommendation. + +%prep +%setup -q -n SVG-%{version} + +# avoid extra dependencies +chmod 644 examples/* + + +%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 -a \( -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README Changes examples +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + + +%changelog +* Wed Apr 06 2005 Hunter Matthews 2.32-2 +- Review suggestions from José Pedro Oliveira + +* Fri Mar 18 2005 Hunter Matthews 2.32-1 +- Initial packaging. diff --git a/sources b/sources index e69de29..7c19027 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a604dbd0d6f68907f825ff4c3c3f04dc SVG-2.32.tar.gz