perl-GDGraph-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
  2. Name: perl-GDGraph
  3. Version: 1.43
  4. Release: 6%{?_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. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.43-6
  39. - rebuild with perl-5.12.3
  40. * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-5
  41. - applied new versioning policy, spec in UTF-8
  42. - rebuilt with perl-5.10.0
  43. * Sun Sep 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl2
  44. - changed Group to Development/Libraries
  45. * Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl1
  46. - rebuild for Vine Linux
  47. - added Japanese summary
  48. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  49. - rebuilt
  50. * Sun Jul 11 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:1.43-0.fdr.3
  51. - Unowned directory: %%{perl_vendorlib}/GD (see bug 1800 comment #1).
  52. * Wed Jun 30 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:1.43-0.fdr.2
  53. - Bring up to date with current fedora.us perl spec template.
  54. - Added the samples directory to the documentation files.
  55. * Sun Oct 12 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.43-0.fdr.1
  56. - First build.