perl-Text-Reform-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Name: perl-Text-Reform
  2. Version: 1.20
  3. Release: 2%{?_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. * Sun Nov 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.20-2
  46. - rebuilt with perl 5.16.3
  47. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.20-1
  48. - initial build for Vine Linux
  49. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  51. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.20-3
  52. - Perl mass rebuild
  53. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  55. * Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 1.20-1
  56. - Update to 1.20.
  57. - Update Source0 URL.
  58. - BR Module::Build and build with it.
  59. - Add demo directory to docs.
  60. * Fri May 14 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12.2-11
  61. - Bump release for perl-5.12.0.
  62. * Fri May 07 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12.2-10
  63. - Add BR: perl(version) (Fix perl-5.12.x build breakdown).
  64. - Add BR: perl(Test::Pod).
  65. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.12.2-9
  66. - Mass rebuild with perl-5.12.0
  67. * Wed Feb 17 2010 Stepan Kasal <skasal@redhat.com> - 1.12.2-8
  68. - fix check for non-English languages
  69. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.12.2-7
  70. - rebuild against perl 5.10.1
  71. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.2-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.12.2-5
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  75. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12.2-4
  76. - Rebuild for perl 5.10 (again)
  77. * Tue Jan 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.12.2-3
  78. - BR: Test::More
  79. * Tue Jan 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.12.2-2
  80. - retag
  81. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.12.2-1
  82. - rebuild for new perl
  83. - drop demo*.pl scripts
  84. - Upstream license changed to GPL+ or Artistic
  85. * Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.11-7
  86. - BR ExtUtils::MakeMaker.
  87. - Use fixperms macro instead of our own chmod incantation.
  88. * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.11-6
  89. - Minor spec cleanup to more closely resemble current cpanspec output.
  90. * Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 0.11-5
  91. - Minor spec cleanup.
  92. - Add Artistic.
  93. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  94. - rebuilt
  95. * Wed Jul 14 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.11-0.fdr.3
  96. - Better summary info (bug 1353 comment #4).
  97. - Canonical source URL (bug 1353 comment #4).
  98. - Missing requirement: TeX::Hyphen (bug 1353 comment #4).
  99. - Replaced /usr/bin/perl by %%{__perl} (bug 1353 comment #4).
  100. - Corrected file permissions (bug 1353 comment #4).
  101. * Wed Jun 09 2004 Steven Pritchard <steve@kspei.com> 0:1.11-0.fdr.2
  102. - Fix License (Artistic only, not GPL or Artistic).
  103. * Wed Jun 09 2004 Steven Pritchard <steve@kspei.com> 0:1.11-0.fdr.1
  104. - Specfile autogenerated.