perl-Text-Autoformat-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. Name: perl-Text-Autoformat
  2. Epoch: 1
  3. Version: 1.74
  4. Release: 1%{?_dist_release}
  5. Summary: Automatic text wrapping and reformatting
  6. License: GPL+ or Artistic
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/Text-Autoformat/
  9. Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: perl(Module::Build)
  13. BuildRequires: perl(Test::More)
  14. BuildRequires: perl(Text::Reform)
  15. BuildRequires: perl(version)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. # Filter out perl(Hang) and perl(NullHang) auto-provides.
  18. %if "%{_dist_release}" > "vl6"
  19. %global __provides_exclude ^perl\\((Hang|NullHang)\\)$
  20. %else
  21. %global provfilt /bin/sh -c "%{__perl_provides} | grep -Ev '^perl[(](Hang|NullHang)[)]$'"
  22. %define __perl_provides %{provfilt}
  23. %endif
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. %description
  27. Text::Autoformat provides intelligent formatting of plaintext without the
  28. need for any kind of embedded mark-up. The module recognizes Internet
  29. quoting conventions, a wide range of bulleting and number schemes, centered
  30. text, and block quotations, and reformats each appropriately. Other options
  31. allow the user to adjust inter-word and inter-paragraph spacing, justify
  32. text, and impose various capitalization schemes.
  33. The module also supplies a re-entrant, highly configurable replacement for
  34. the built-in Perl format() mechanism.
  35. %prep
  36. %setup -q -n Text-Autoformat-%{version}
  37. chmod a-x lib/Text/Autoformat.pm Changes README
  38. %build
  39. %{__perl} Makefile.PL INSTALLDIRS=vendor
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf %{buildroot}
  43. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  44. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  45. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  46. chmod -R u+w $RPM_BUILD_ROOT/*
  47. %{_fixperms} %{buildroot}/*
  48. %check
  49. make test
  50. %clean
  51. rm -rf %{buildroot}
  52. %files
  53. %defattr(-,root,root,-)
  54. %doc Changes README config.emacs config.vim
  55. %{perl_vendorlib}/*
  56. %{_mandir}/man3/*
  57. %changelog
  58. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.74-1
  59. - new upstream release.
  60. - rebuilt with perl-5.26.
  61. * Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.669006-1
  62. - updated to 1.669006
  63. - built with perl 5.16.3
  64. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.669002-1
  65. - initial build for Vine Linux
  66. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.669002-4
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  68. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.669002-3
  69. - Perl mass rebuild
  70. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.669002-2
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  72. * Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 1.669002-1
  73. - Update to 1.669002.
  74. - BR version and Module::Build (and build with that).
  75. - Include config.emacs and config.vim in docs.
  76. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.14.0-7
  77. - Mass rebuild with perl-5.12.0
  78. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.14.0-6
  79. - rebuild against perl 5.10.1
  80. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14.0-5
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  82. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14.0-4
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  84. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14.0-3
  85. - Rebuild for perl 5.10 (again)
  86. * Wed Jan 23 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.14.0-2
  87. - add BR: Test::More
  88. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.14.0-1
  89. - rebuild for new perl
  90. - upstream changed license to GPL+ or Artistic
  91. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.13-5
  92. - Use fixperms macro instead of our own chmod incantation.
  93. - BR ExtUtils::MakeMaker.
  94. * Fri Sep 01 2006 Steven Pritchard <steve@kspei.com> 1.13-4
  95. - Rework spec to look more like current cpanspec output.
  96. * Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.13-3
  97. - Minor spec cleanup.
  98. - Add Artistic.
  99. * Sat Aug 20 2005 Steven Pritchard <steve@kspei.com> 1.13-2
  100. - Fix permissions (#166406).
  101. * Tue May 24 2005 Steven Pritchard <steve@kspei.com> 1.13-1
  102. - Update to 1.13 final.
  103. - Filter bogus perl(Hang) and perl(NullHang) auto-provides.
  104. * Tue May 10 2005 Steven Pritchard <steve@kspei.com> 1.13-0.3.beta
  105. - Drop Epoch and change Release for Fedora Extras.
  106. * Wed Feb 09 2005 Steven Pritchard <steve@kspei.com> 0:1.13-0.fdr.0.2.beta
  107. - Minor update to 0.13beta source, from
  108. http://rt.cpan.org/NoAuth/Bug.html?id=8018 (pointed out by jpo@di.uminho.pt)
  109. * Wed Jun 09 2004 Steven Pritchard <steve@kspei.com> 0:1.13-0.fdr.0.1.beta
  110. - Specfile regenerated.
  111. - Update to 0.13beta, which includes the upstream fix for a bug reported to
  112. the author.