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

Revision 12120, 5.0 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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