Update to 1.20.

Update Source0 URL.
BR Module::Build and build with it.
Add demo directory to docs.
epel9
Steven Pritchard 14 years ago
parent eb066b42d3
commit db9c6442be

1
.gitignore vendored

@ -1 +1,2 @@
Text-Reform-v1.12.2.tar.gz Text-Reform-v1.12.2.tar.gz
/Text-Reform-1.20.tar.gz

@ -1,16 +1,17 @@
Name: perl-Text-Reform Name: perl-Text-Reform
Version: 1.12.2 Version: 1.20
Release: 11%{?dist} Release: 1%{?dist}
Summary: Manual text wrapping and reformatting Summary: Manual text wrapping and reformatting
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-Reform/ URL: http://search.cpan.org/dist/Text-Reform/
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Reform-v%{version}.tar.gz Source0: http://www.cpan.org/authors/id/C/CH/CHORNY/Text-Reform-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More) BuildRequires: perl(Module::Build)
BuildRequires: perl(version) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(version)
Requires: perl(TeX::Hyphen) Requires: perl(TeX::Hyphen)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -20,19 +21,18 @@ The module supplies a re-entrant, highly configurable replacement for the
built-in Perl format() mechanism. built-in Perl format() mechanism.
%prep %prep
%setup -q -n Text-Reform-v%{version} %setup -q -n Text-Reform-%{version}
chmod 644 Changes README lib/Text/*.pm chmod 644 Changes README lib/Text/*.pm
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Build.PL installdirs=vendor
make %{?_smp_mflags} ./Build
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
@ -40,18 +40,24 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check %check
# the testsuite fails for locales with decimal point != ".", i.e. it # the testsuite fails for locales with decimal point != ".", i.e. it
# fails for almost all European languages except en # fails for almost all European languages except en
LC_NUMERIC=C make test LC_NUMERIC=C ./Build test
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes README %doc Changes README demo/
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 1.20-1
- Update to 1.20.
- Update Source0 URL.
- BR Module::Build and build with it.
- Add demo directory to docs.
* Fri May 14 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12.2-11 * Fri May 14 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12.2-11
- Bump release for perl-5.12.0. - Bump release for perl-5.12.0.

@ -1 +1 @@
c2dc7c1d885e5d977831d798dd31e99b Text-Reform-v1.12.2.tar.gz f37f5834f3dc221eacd09bdfcfe40918 Text-Reform-1.20.tar.gz

Loading…
Cancel
Save