Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
perl-Text-Tabs+Wrap.spec 1.82 KB
Copy Edit Web IDE Raw Blame History
syyhao authored 2020-01-12 16:12 . delete redundant file
Name: perl-Text-Tabs+Wrap
Version: 2013.0523
Release: 419
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
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
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 2013.0523-419
- Delete redundant file
* Mon Sep 16 2019 luhuaxin <luhuaxin@huawei.com> - 2013.0523-418
- Package init