|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
Name: perl-Text-Reform
|
|
|
|
|
Version: 1.11
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 1.12.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Manual text wrapping and reformatting
|
|
|
|
|
License: Artistic
|
|
|
|
|
License: GPL+ or 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
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Reform-v%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
@ -17,9 +17,8 @@ The module supplies a re-entrant, highly configurable replacement for the
|
|
|
|
|
built-in Perl format() mechanism.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Text-Reform-%{version}
|
|
|
|
|
%{__perl} -pi -e 's,/usr/local/bin/perl,%{__perl},' *.pl
|
|
|
|
|
chmod 644 Changes README lib/Text/*.pm demo*.pl
|
|
|
|
|
%setup -q -n Text-Reform-v%{version}
|
|
|
|
|
chmod 644 Changes README lib/Text/*.pm
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
@ -30,9 +29,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
# demo scripts packaged as documentation files
|
|
|
|
|
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 -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
@ -46,11 +42,16 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README demo*.pl
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.12.2-1
|
|
|
|
|
- rebuild for new perl
|
|
|
|
|
- drop demo*.pl scripts
|
|
|
|
|
- Upstream license changed to GPL+ or Artistic
|
|
|
|
|
|
|
|
|
|
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.11-7
|
|
|
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
|
|
|