perl-GDGraph-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
  2. Name: perl-GDGraph
  3. Version: 1.43
  4. Release: 5%{?_dist_release}
  5. Summary: Graph generation package for Perl
  6. Summary(ja): Perl によるグラフ生成パッケージ
  7. Group: Development/Libraries
  8. License: GPL or Artistic
  9. URL: http://search.cpan.org/dist/GDGraph/
  10. Source0: http://www.cpan.org/authors/id/M/MV/MVERB/GDGraph-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: perl >= 5.6.1, perl-GD, perl-GDTextUtil
  14. Requires: perl >= 5.6.1, perl-GD, perl-GDTextUtil
  15. %description
  16. %{summary}.
  17. %prep
  18. %setup -q -n GDGraph-%{version}
  19. %build
  20. perl Makefile.PL INSTALLDIRS=vendor
  21. make %{?_smp_mflags}
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  25. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  26. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  27. chmod -R u+w $RPM_BUILD_ROOT/*
  28. %check || :
  29. make test
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc CHANGES README samples/
  35. %{perl_vendorlib}/GD/*
  36. %{_mandir}/man3/*.3*
  37. %changelog
  38. * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-5
  39. - applied new versioning policy, spec in UTF-8
  40. - rebuilt with perl-5.10.0
  41. * Sun Sep 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl2
  42. - changed Group to Development/Libraries
  43. * Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl1
  44. - rebuild for Vine Linux
  45. - added Japanese summary
  46. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  47. - rebuilt
  48. * Sun Jul 11 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:1.43-0.fdr.3
  49. - Unowned directory: %%{perl_vendorlib}/GD (see bug 1800 comment #1).
  50. * Wed Jun 30 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:1.43-0.fdr.2
  51. - Bring up to date with current fedora.us perl spec template.
  52. - Added the samples directory to the documentation files.
  53. * Sun Oct 12 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.43-0.fdr.1
  54. - First build.