source: projects/specs/trunk/p/perl-Text-Autoformat/perl-Text-Autoformat-vl.spec @ 5871

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