perl-Text-Autoformat-vl.spec 4.7 KB

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