Name: perl-Text-Tabs+Wrap Version: 2013.0523 Release: 418 Summary: Expand tabs and do simple line wrapping License: TTWL URL: https://metacpan.org/release/Text-Tabs%2BWrap Source0: https://cpan.metacpan.org/authors/id/M/MU/MUIR/modules/Text-Tabs+Wrap-%{version}.tar.gz Patch0: Text-Tabs+Wrap-2013.0523-Build-from-lib.patch BuildArch: noarch BuildRequires: perl-interpreter perl-generators BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Conflicts: perl < 4:5.20.2-325 %description Text::Tabs does most of what the unix utilities expand(1) and unexpand(1) do. Given a line with tabs in it, expand replaces those tabs with the appropriate number of spaces. Given a line with or without tabs in it, unexpand adds tabs when it can save bytes by doing so, like the unexpand -a command. Unlike the old unix utilities, this module correctly accounts for any Unicode combining characters (such as diacriticals) that may occur in each line for both expansion and unexpansion. These are overstrike characters that do not increment the logical position. Make sure you have the appropriate Unicode settings enabled. %package help Summary: Doc files for %{name} Buildarch: noarch requires: man %description help The %{name}-help package contains doc files for %{name}. %prep %autosetup -n Text-Tabs+Wrap-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %make_build %install make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* %check make test %files %{perl_vendorlib}/* %files help %doc CHANGELOG README %{_mandir}/man3/* %changelog * Mon Sep 16 2019 luhuaxin - 2013.0523-418 - Package init