perl-GDTextUtil-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. Name: perl-GDTextUtil
  2. Version: 0.86
  3. Release: 8%{?_dist_release}
  4. Summary: Text utilities for use with GD
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/GDTextUtil/
  8. Source0: http://www.cpan.org/authors/id/M/MV/MVERB/GDTextUtil-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(GD)
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Test::More)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. %description
  16. This package provides three modules that make it possible to work with
  17. internal GD fonts as well as TrueType fonts, without having to worry
  18. about different interface functions to call. Apart from an abstract
  19. interface to all font types and strings for GD, this library also
  20. provides some utility in aligning and wrapping your string.
  21. %prep
  22. %setup -q -n GDTextUtil-%{version}
  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} -type d -depth -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 demo/
  39. %{perl_vendorlib}/GD/
  40. %{_mandir}/man3/*.3pm*
  41. %changelog
  42. * Fri Jul 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.86-8
  43. - fix release number
  44. * Wed Oct 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.86-2
  45. - rebuilt with perl-5.16.3.
  46. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.86-1
  47. - updated to 0.86; font removed (only used for buildtime tests)
  48. - spec revamped
  49. - previous Vine changelogs as follows:
  50. - Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.86-7
  51. - rebuild with perl-5.12.3
  52. - Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.86-6
  53. - applied new versioning policy
  54. - rebuilt with perl-5.10.0
  55. - Sun Sep 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.86-5vl2
  56. - changed Group to Development/Libraries
  57. - Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.86-5vl1
  58. - rebuild for Vine
  59. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-20
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  61. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-19
  62. - Perl mass rebuild
  63. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-18
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  65. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.86-17
  66. - 661697 rebuild for fixing problems with vendorach/lib
  67. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.86-16
  68. - Mass rebuild with perl-5.12.0
  69. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.86-15
  70. - rebuild against perl 5.10.1
  71. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-14
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  73. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-13
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  75. * Wed Jan 14 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.86-12
  76. - no need to package this font, only used for buildtime tests
  77. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.86-11
  78. - Rebuild for perl 5.10 (again)
  79. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.86-10
  80. - rebuild for new perl
  81. * Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> - 0.86-9
  82. - Add BR: perl(Test::More) (BZ 419631).
  83. * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.86-8.1
  84. - correct license tag
  85. - add BR: perl(ExtUtils::MakeMaker)
  86. * Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.86-8
  87. - Rebuild for FC6.
  88. * Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.86-7
  89. - Rebuild for FC5 (perl 5.8.8).
  90. * Thu Dec 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.86-6
  91. - Dist tag.
  92. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.86-5
  93. - rebuilt
  94. * Sun Jul 11 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.86-0.fdr.4
  95. - Unowned directory: %%{perl_vendorlib}/GD (see bug 1800 comment #1).
  96. * Tue Jul 6 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.86-0.fdr.3
  97. - Install the Dustismo_Sans TrueType font (bug 1757).
  98. * Wed Jun 16 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.86-0.fdr.2
  99. - Bring up to date with current fedora.us perl spec template.
  100. * Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.86-0.fdr.1
  101. - First build.