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