Update to 1.669002.

BR version and Module::Build (and build with that).
Include config.emacs and config.vim in docs.
epel9
Steven Pritchard 14 years ago
parent fb7dc2a58b
commit 3bcc05a577

1
.gitignore vendored

@ -1 +1,2 @@
Text-Autoformat-v1.14.0.tar.gz
/Text-Autoformat-1.669002.tar.gz

@ -1,15 +1,17 @@
Name: perl-Text-Autoformat
Version: 1.14.0
Release: 7%{?dist}
Version: 1.669002
Release: 1%{?dist}
Summary: Automatic text wrapping and reformatting
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-Autoformat/
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-v%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More)
BuildRequires: perl(Text::Reform) >= 1.11
BuildRequires: perl(version)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# Filter out perl(Hang) and perl(NullHang) auto-provides.
@ -29,39 +31,43 @@ The module also supplies a re-entrant, highly configurable replacement for
the built-in Perl format() mechanism.
%prep
%setup -q -n Text-Autoformat-v%{version}
%setup -q -n Text-Autoformat-%{version}
chmod a-x lib/Text/Autoformat.pm Changes README
sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides}
chmod +x %{__perl_provides}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%{__perl} Build.PL installdirs=vendor
./Build
%install
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 \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
./Build test
%clean
rm -rf $RPM_BUILD_ROOT %{__perl_provides}
%files
%defattr(-,root,root,-)
%doc Changes README
%doc Changes README config.emacs config.vim
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 1.669002-1
- Update to 1.669002.
- BR version and Module::Build (and build with that).
- Include config.emacs and config.vim in docs.
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.14.0-7
- Mass rebuild with perl-5.12.0

@ -1 +1 @@
06958fdf5d9acffc7d68e37cc606de72 Text-Autoformat-v1.14.0.tar.gz
c2c400207f49a769e32b5b1b660b07f7 Text-Autoformat-1.669002.tar.gz

Loading…
Cancel
Save