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