perl-GDGraph-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. Name: perl-GDGraph
  2. Version: 1.48
  3. Release: 1%{?_dist_release}
  4. Summary: Graph generation package for Perl
  5. Summary(ja): Perl によるグラフ生成パッケージ
  6. Group: Development/Libraries
  7. License: GPL+ or Artistic
  8. URL: http://search.cpan.org/dist/GDGraph/
  9. Source0: http://www.cpan.org/authors/id/B/BW/BWARFIELD/GDGraph-%{version}.tar.gz
  10. BuildArch: noarch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: perl(GD), perl(GD::Text)
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(Test::More)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. Requires: perl-GD, perl-GDTextUtil
  17. %description
  18. %{summary}.
  19. %prep
  20. %setup -q -n GDGraph-%{version}
  21. %{__perl} -pi -e 's{^#!/usr/local/bin/perl\b}{#!%{__perl}}' samples/sample1A.pl
  22. %{__perl} -pi -e 's/\r\n/\n/' samples/sample64.pl
  23. %build
  24. %{__perl} Makefile.PL INSTALLDIRS=vendor
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf %{buildroot}
  28. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  29. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  30. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  31. chmod -R u+w %{buildroot}/*
  32. %check
  33. make test
  34. %clean
  35. rm -rf %{buildroot}
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc CHANGES README samples/
  39. %{perl_vendorlib}/GD/
  40. %{_mandir}/man3/*.3pm*
  41. %changelog
  42. * Wed Oct 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1:1.48-1
  43. - updated to 1.48
  44. - rebuilt with perl-5.16.3.
  45. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:1.44-1
  46. - updated to 1.44
  47. - spec revamped
  48. - previous Vine changelogs as follows:
  49. - Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.43-6
  50. - rebuild with perl-5.12.3
  51. - Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-5
  52. - applied new versioning policy, spec in UTF-8
  53. - rebuilt with perl-5.10.0
  54. - Sun Sep 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl2
  55. - changed Group to Development/Libraries
  56. - Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl1
  57. - rebuild for Vine Linux
  58. - added Japanese summary
  59. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.44-12
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  61. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.44-11
  62. - Perl mass rebuild
  63. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.44-10
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  65. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.44-9
  66. - 661697 rebuild for fixing problems with vendorach/lib
  67. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.44-8
  68. - Mass rebuild with perl-5.12.0
  69. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1:1.44-7
  70. - rebuild against perl 5.10.1
  71. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.44-6
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  73. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.44-5
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  75. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.44-4
  76. - Rebuild for perl 5.10 (again)
  77. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.44-3
  78. - rebuild for new perl
  79. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.44-2.2
  80. - add BR: perl(Test::More)
  81. * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.44-2.1
  82. - correct license tag
  83. - add BR: perl(ExtUtils::MakeMaker)
  84. * Sat Jun 9 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:1.44-2
  85. - Bumping release (due to dist tag mismatches).
  86. * Sat May 5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:1.44-1
  87. - Update to 1.44.
  88. * Thu May 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4308-1
  89. - Update to 1.4308.
  90. * Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4307-1
  91. - Update to 1.4307.
  92. * Mon Feb 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4306-1
  93. - Update to 1.4306.
  94. * Thu Dec 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4305-1
  95. - Update to 1.4305.
  96. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.43-4
  97. - rebuilt
  98. * Sun Jul 11 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.43-0.fdr.3
  99. - Unowned directory: %%{perl_vendorlib}/GD (see bug 1800 comment #1).
  100. * Wed Jun 30 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.43-0.fdr.2
  101. - Bring up to date with current fedora.us perl spec template.
  102. - Added the samples directory to the documentation files.
  103. * Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.43-0.fdr.1
  104. - First build.