0fc45e
Name:           perl-Text-Tabs+Wrap
0fc45e
Version:        2013.0523
0fc45e
Release:        396%{?dist}
0fc45e
Summary:        Expand tabs and do simple line wrapping
0fc45e
License:        TTWL
0fc45e
Group:          Development/Libraries
0fc45e
URL:            http://search.cpan.org/dist/Text-Tabs%2BWrap/
0fc45e
Source0:        http://www.cpan.org/authors/id/M/MU/MUIR/modules/Text-Tabs+Wrap-%{version}.tar.gz
0fc45e
# Work around CPAN RT#103116
0fc45e
Patch0:         Text-Tabs+Wrap-2013.0523-Build-from-lib.patch
0fc45e
BuildArch:      noarch
0fc45e
BuildRequires:  perl-interpreter
0fc45e
BuildRequires:  perl-generators
0fc45e
BuildRequires:  perl(ExtUtils::MakeMaker)
0fc45e
# Run-time:
0fc45e
BuildRequires:  perl(Exporter)
0fc45e
BuildRequires:  perl(re)
0fc45e
BuildRequires:  perl(strict)
0fc45e
BuildRequires:  perl(vars)
0fc45e
BuildRequires:  perl(warnings::register)
0fc45e
# Tests:
0fc45e
BuildRequires:  perl(bytes)
0fc45e
BuildRequires:  perl(Test::More)
0fc45e
BuildRequires:  perl(warnings)
0fc45e
# Optional tests:
0fc45e
# Benchmark not used
0fc45e
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0fc45e
# Sub-packaged from perl.spec, it would conflicted on manual pages
0fc45e
Conflicts:      perl < 4:5.20.2-325
0fc45e
0fc45e
%description
0fc45e
Text::Tabs performs the same job that the UNIX expand(1) and unexpand(1)
0fc45e
commands do: adding or removing tabs from a document.
0fc45e
0fc45e
Text::Wrap::wrap() will reformat lines into paragraphs. All it does is break
0fc45e
up long lines, it will not join short lines together.
0fc45e
0fc45e
%prep
0fc45e
%setup -q -n Text-Tabs+Wrap-%{version}
0fc45e
%patch0 -p1
0fc45e
0fc45e
%build
0fc45e
perl Makefile.PL INSTALLDIRS=vendor
0fc45e
make %{?_smp_mflags}
0fc45e
0fc45e
%install
0fc45e
make pure_install DESTDIR=%{buildroot}
0fc45e
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
0fc45e
%{_fixperms} %{buildroot}/*
0fc45e
0fc45e
%check
0fc45e
make test
0fc45e
0fc45e
%files
0fc45e
%doc CHANGELOG README
0fc45e
%{perl_vendorlib}/*
0fc45e
%{_mandir}/man3/*
0fc45e
0fc45e
%changelog
0fc45e
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2013.0523-396
0fc45e
- Rebuild with enable hardening (bug #1636329)
0fc45e
0fc45e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2013.0523-395
0fc45e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0fc45e
0fc45e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2013.0523-394
0fc45e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0fc45e
0fc45e
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2013.0523-393
0fc45e
- Perl 5.26 rebuild
0fc45e
0fc45e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2013.0523-366
0fc45e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0fc45e
0fc45e
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2013.0523-365
0fc45e
- Increase release to favour standalone package
0fc45e
0fc45e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2013.0523-347
0fc45e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0fc45e
0fc45e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2013.0523-346
0fc45e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0fc45e
0fc45e
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2013.0523-345
0fc45e
- Increase release to favour standalone package
0fc45e
0fc45e
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2013.0523-327
0fc45e
- Perl 5.22 rebuild
0fc45e
0fc45e
* Wed Mar 25 2015 Petr Pisar <ppisar@redhat.com> - 2013.0523-326
0fc45e
- Increase release number to compete with perl's sub-package
0fc45e
- Fix manual pages names
0fc45e
0fc45e
* Wed Feb 13 2013 Petr Pisar <ppisar@redhat.com> - 2013.0523-1
0fc45e
- Version 2013.0523 packaged
0fc45e