perl-SVG-vl.spec 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. %define real_name SVG
  2. Summary: Perl extension for generating Scalable Vector Graphics (SVG) documents
  3. Name: perl-SVG
  4. Version: 2.33
  5. Release: 1%{?_dist_release}
  6. License: distributable
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/SVG/
  9. Source: http://www.cpan.org/modules/by-module/SVG/SVG-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: perl >= 0:5.00503
  13. Requires: perl >= 0:5.00503
  14. %description
  15. Perl extension for generating Scalable Vector Graphics (SVG) documents.
  16. %prep
  17. %setup -n %{real_name}-%{version}
  18. %build
  19. CFLAGS="%{optflags}" %{__perl} Makefile.PL \
  20. PREFIX="%{buildroot}%{_prefix}" \
  21. INSTALLDIRS="vendor"
  22. %{__make} %{?_smp_mflags}
  23. %install
  24. %{__rm} -rf %{buildroot}
  25. %makeinstall
  26. ### Clean up buildroot (noarch)
  27. %{__rm} -rf %{buildroot}%{perl_archlib} \
  28. %{buildroot}%{perl_vendorarch}
  29. ### Clean up buildroot (arch)
  30. %{__rm} -rf %{buildroot}%{perl_archlib} \
  31. %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
  32. %check
  33. make test
  34. %clean
  35. %{__rm} -rf %{buildroot}
  36. %files
  37. %defattr(-, root, root, 0755)
  38. %doc Changes MANIFEST README examples/
  39. %doc %{_mandir}/man?/*
  40. %{perl_vendorlib}/*
  41. %changelog
  42. * Fri Jul 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.33-1
  43. - rebuild
  44. - applied new versioning policy
  45. * Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.33-0vl1
  46. - initial build for Vine Linux
  47. * Sat Nov 5 2005 Dries Verachtert <dries@ulyssis.org> - 2.33-1 - 3685/dries
  48. - Updated to release 2.33.
  49. * Tue Apr 13 2004 Dag Wieers <dag@wieers.com> - 2.28-1
  50. - Initial package. (using DAR)