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