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