1.11-0.fdr.3 - Better summary info (bug 1353 comment #4). - Canonical source URL (bug 1353 comment #4). - Missing requirement: TeX::Hyphen (bug 1353 comment #4). - Replaced /usr/bin/perl by %{__perl} (bug 1353 comment #4). - Corrected file permissions (bug 1353 comment #4). 1.11-0.fdr.2 - Fix License (Artistic only, not GPL or Artistic). 1.11-0.fdr.1 - Specfile autogenerated.epel9
parent
50b5ffbd87
commit
8beb91239c
@ -0,0 +1 @@
|
|||||||
|
Text-Reform-1.11.tar.gz
|
@ -0,0 +1,73 @@
|
|||||||
|
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
|
||||||
|
|
||||||
|
Name: perl-Text-Reform
|
||||||
|
Version: 1.11
|
||||||
|
Release: 0.fdr.3.rh90
|
||||||
|
Epoch: 0
|
||||||
|
Summary: Manual text wrapping and reformatting
|
||||||
|
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: Artistic
|
||||||
|
URL: http://search.cpan.org/dist/Text-Reform/
|
||||||
|
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Reform-1.11.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl >= 1:5.6.1
|
||||||
|
Requires: perl(TeX::Hyphen)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
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 -type d -depth -exec rmdir {} 2>/dev/null \;
|
||||||
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
|
||||||
|
%check || :
|
||||||
|
make test
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes README demo*.pl
|
||||||
|
%{perl_vendorlib}/Text/
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jul 14 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.11-0.fdr.3
|
||||||
|
- Better summary info (bug 1353 comment #4).
|
||||||
|
- Canonical source URL (bug 1353 comment #4).
|
||||||
|
- Missing requirement: TeX::Hyphen (bug 1353 comment #4).
|
||||||
|
- Replaced /usr/bin/perl by %%{__perl} (bug 1353 comment #4).
|
||||||
|
- Corrected file permissions (bug 1353 comment #4).
|
||||||
|
|
||||||
|
* Wed Jun 09 2004 Steven Pritchard <steve@kspei.com> 0:1.11-0.fdr.2
|
||||||
|
- Fix License (Artistic only, not GPL or Artistic).
|
||||||
|
|
||||||
|
* Wed Jun 09 2004 Steven Pritchard <steve@kspei.com> 0:1.11-0.fdr.1
|
||||||
|
- Specfile autogenerated.
|
Loading…
Reference in new issue