perl-Text-Reform-vl.spec 4.6 KB

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