perl-Text-Reform-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Name: perl-Text-Reform
  2. Version: 1.20
  3. Release: 1%{?_dist_release}
  4. Summary: Manual text wrapping and reformatting
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Text-Reform/
  8. Source0: http://www.cpan.org/authors/id/C/CH/CHORNY/Text-Reform-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(Module::Build)
  12. BuildRequires: perl(Test::More)
  13. BuildRequires: perl(Test::Pod) >= 1.14
  14. BuildRequires: perl(version)
  15. Requires: perl(TeX::Hyphen)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. The module supplies a re-entrant, highly configurable replacement for the
  21. built-in Perl format() mechanism.
  22. %prep
  23. %setup -q -n Text-Reform-%{version}
  24. chmod 644 Changes README lib/Text/*.pm
  25. %build
  26. %{__perl} Build.PL installdirs=vendor
  27. ./Build
  28. %install
  29. rm -rf %{buildroot}
  30. ./Build install destdir=%{buildroot} create_packlist=0
  31. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  32. %{_fixperms} %{buildroot}/*
  33. %check
  34. # the testsuite fails for locales with decimal point != ".", i.e. it
  35. # fails for almost all European languages except en
  36. LC_NUMERIC=C ./Build test
  37. %clean
  38. rm -rf %{buildroot}
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc Changes README demo/
  42. %{perl_vendorlib}/*
  43. %{_mandir}/man3/*
  44. %changelog
  45. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.20-1
  46. - initial build for Vine Linux
  47. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  49. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.20-3
  50. - Perl mass rebuild
  51. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  53. * Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 1.20-1
  54. - Update to 1.20.
  55. - Update Source0 URL.
  56. - BR Module::Build and build with it.
  57. - Add demo directory to docs.
  58. * Fri May 14 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12.2-11
  59. - Bump release for perl-5.12.0.
  60. * Fri May 07 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12.2-10
  61. - Add BR: perl(version) (Fix perl-5.12.x build breakdown).
  62. - Add BR: perl(Test::Pod).
  63. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.12.2-9
  64. - Mass rebuild with perl-5.12.0
  65. * Wed Feb 17 2010 Stepan Kasal <skasal@redhat.com> - 1.12.2-8
  66. - fix check for non-English languages
  67. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.12.2-7
  68. - rebuild against perl 5.10.1
  69. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.2-6
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  71. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.2-5
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  73. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12.2-4
  74. - Rebuild for perl 5.10 (again)
  75. * Tue Jan 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.12.2-3
  76. - BR: Test::More
  77. * Tue Jan 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.12.2-2
  78. - retag
  79. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.12.2-1
  80. - rebuild for new perl
  81. - drop demo*.pl scripts
  82. - Upstream license changed to GPL+ or Artistic
  83. * Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.11-7
  84. - BR ExtUtils::MakeMaker.
  85. - Use fixperms macro instead of our own chmod incantation.
  86. * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.11-6
  87. - Minor spec cleanup to more closely resemble current cpanspec output.
  88. * Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 0.11-5
  89. - Minor spec cleanup.
  90. - Add Artistic.
  91. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  92. - rebuilt
  93. * Wed Jul 14 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.11-0.fdr.3
  94. - Better summary info (bug 1353 comment #4).
  95. - Canonical source URL (bug 1353 comment #4).
  96. - Missing requirement: TeX::Hyphen (bug 1353 comment #4).
  97. - Replaced /usr/bin/perl by %%{__perl} (bug 1353 comment #4).
  98. - Corrected file permissions (bug 1353 comment #4).
  99. * Wed Jun 09 2004 Steven Pritchard <steve@kspei.com> 0:1.11-0.fdr.2
  100. - Fix License (Artistic only, not GPL or Artistic).
  101. * Wed Jun 09 2004 Steven Pritchard <steve@kspei.com> 0:1.11-0.fdr.1
  102. - Specfile autogenerated.