|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
Name: perl-Text-Reform
|
|
|
|
|
Version: 1.11
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Manual text wrapping and reformatting
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Text-Reform/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Reform-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: perl(TeX::Hyphen)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
@ -34,12 +33,10 @@ make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name 'demo*.pl' -exec rm -f {} \;
|
|
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
perldoc -t perlartistic > Artistic
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
@ -48,11 +45,14 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README demo*.pl Artistic
|
|
|
|
|
%{perl_vendorlib}/Text/
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
%doc Changes README demo*.pl
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.11-6
|
|
|
|
|
- Minor spec cleanup to more closely resemble current cpanspec output.
|
|
|
|
|
|
|
|
|
|
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 0.11-5
|
|
|
|
|
- Minor spec cleanup.
|
|
|
|
|
- Add Artistic.
|
|
|
|
|