From ad2c5f8265c64edf5c700f6b00fe1223dc38ece6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 10 Jul 2015 12:54:07 +0200 Subject: [PATCH] Import --- .gitignore | 1 + perl-Text-Balanced.spec | 59 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 61 insertions(+) create mode 100644 perl-Text-Balanced.spec diff --git a/.gitignore b/.gitignore index e69de29..7cb321d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Text-Balanced-2.03.tar.gz diff --git a/perl-Text-Balanced.spec b/perl-Text-Balanced.spec new file mode 100644 index 0000000..657cb4d --- /dev/null +++ b/perl-Text-Balanced.spec @@ -0,0 +1,59 @@ +Name: perl-Text-Balanced +Version: 2.03 +Release: 348%{?dist} +Summary: Extract delimited text sequences from strings +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Text-Balanced/ +Source0: http://www.cpan.org/authors/id/S/SH/SHAY/Text-Balanced-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(overload) +BuildRequires: perl(SelfLoader) +# Tests: +BuildRequires: perl(Test::More) >= 0.47 +# Perl::MinimumVersion 1.20 not used +# Pod::Simple 3.07 not used +# Test::CPAN::Meta 0.12 not used +# Test::MinimumVersion 0.008 not used +# Test::Pod 1.26 not used +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Conflicts: perl < 4:5.22.0-347 + +%description +These Perl subroutines may be used to extract a delimited substring, possibly +after skipping a specified prefix string. + +%prep +%setup -q -n Text-Balanced-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Jul 01 2015 Petr Pisar 2.03-348 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..a05076a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +891fa8a0f20307a5f22ac1fdd0ce565b Text-Balanced-2.03.tar.gz