|
|
@ -1,15 +1,17 @@
|
|
|
|
Name: perl-Text-Autoformat
|
|
|
|
Name: perl-Text-Autoformat
|
|
|
|
Version: 1.14.0
|
|
|
|
Version: 1.669002
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Automatic text wrapping and reformatting
|
|
|
|
Summary: Automatic 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-Autoformat/
|
|
|
|
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)
|
|
|
|
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(Test::More)
|
|
|
|
BuildRequires: perl(Text::Reform) >= 1.11
|
|
|
|
BuildRequires: perl(Text::Reform) >= 1.11
|
|
|
|
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
# Filter out perl(Hang) and perl(NullHang) auto-provides.
|
|
|
|
# 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.
|
|
|
|
the built-in Perl format() mechanism.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Text-Autoformat-v%{version}
|
|
|
|
%setup -q -n Text-Autoformat-%{version}
|
|
|
|
chmod a-x lib/Text/Autoformat.pm Changes README
|
|
|
|
chmod a-x lib/Text/Autoformat.pm Changes README
|
|
|
|
|
|
|
|
|
|
|
|
sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides}
|
|
|
|
sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides}
|
|
|
|
chmod +x %{__perl_provides}
|
|
|
|
chmod +x %{__perl_provides}
|
|
|
|
|
|
|
|
|
|
|
|
%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/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT %{__perl_provides}
|
|
|
|
rm -rf $RPM_BUILD_ROOT %{__perl_provides}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes README config.emacs config.vim
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.14.0-7
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
|
|
|
|