|
|
@ -1,16 +1,15 @@
|
|
|
|
Name: perl-Text-Autoformat
|
|
|
|
Name: perl-Text-Autoformat
|
|
|
|
Version: 1.669004
|
|
|
|
Version: 1.669006
|
|
|
|
Release: 3%{?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-%{version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz
|
|
|
|
Patch0: Text-Autoformat-1.669004-provides.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Module Build
|
|
|
|
# Module Build
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Module Runtime
|
|
|
|
# Module Runtime
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
@ -27,6 +26,9 @@ BuildRequires: perl(Test::More)
|
|
|
|
# Runtime
|
|
|
|
# Runtime
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Do not export private modules
|
|
|
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude|%__provides_exclude|}^perl\\((Hang|NullHang)\\)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Text::Autoformat provides intelligent formatting of plain text without the
|
|
|
|
Text::Autoformat provides intelligent formatting of plain text without the
|
|
|
|
need for any kind of embedded mark-up. The module recognizes Internet
|
|
|
|
need for any kind of embedded mark-up. The module recognizes Internet
|
|
|
@ -40,27 +42,20 @@ the built-in Perl format() mechanism.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Text-Autoformat-%{version}
|
|
|
|
%setup -q -n Text-Autoformat-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
# Drop bogus exec bits
|
|
|
|
# Drop bogus exec bits
|
|
|
|
chmod -c -x config.*
|
|
|
|
chmod -c -x config.*
|
|
|
|
|
|
|
|
|
|
|
|
# Hide private modules from rpm
|
|
|
|
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Build.PL installdirs=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
./Build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes README config.emacs config.vim
|
|
|
|
%doc Changes README config.emacs config.vim
|
|
|
@ -68,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_mandir}/man3/Text::Autoformat.3pm*
|
|
|
|
%{_mandir}/man3/Text::Autoformat.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Nov 14 2014 Petr Pisar <ppisar@redhat.com> - 1.669006-1
|
|
|
|
|
|
|
|
- 1.669006 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.669004-3
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.669004-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
|
|
|
|