Import
This commit is contained in:
parent
92e6813b33
commit
4915e99290
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Text-Tabs+Wrap-2013.0523.tar.gz
|
56
perl-Text-Tabs+Wrap.spec
Normal file
56
perl-Text-Tabs+Wrap.spec
Normal file
@ -0,0 +1,56 @@
|
||||
Name: perl-Text-Tabs+Wrap
|
||||
Version: 2013.0523
|
||||
Release: 1%{?dist}
|
||||
Summary: Expand tabs and do simple line wrapping
|
||||
License: TTWL
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Text-Tabs%2BWrap/
|
||||
Source0: http://www.cpan.org/authors/id/M/MU/MUIR/modules/Text-Tabs+Wrap-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(re)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings::register)
|
||||
# Tests:
|
||||
BuildRequires: perl(bytes)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(warnings)
|
||||
# Optional tests:
|
||||
# Benchmark not used
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Text::Tabs performs the same job that the UNIX expand(1) and unexpand(1)
|
||||
commands do: adding or removing tabs from a document.
|
||||
|
||||
Text::Wrap::wrap() will reformat lines into paragraphs. All it does is break
|
||||
up long lines, it will not join short lines together.
|
||||
|
||||
%prep
|
||||
%setup -q -n Text-Tabs+Wrap-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc CHANGELOG README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 13 2013 Petr Pisar <ppisar@redhat.com> - 2013.0523-1
|
||||
- Version 2013.0523 packaged
|
||||
|
Loading…
Reference in New Issue
Block a user