perl-Text-Balanced/perl-Text-Balanced.spec
2019-09-30 11:13:24 -04:00

62 lines
1.5 KiB
RPMSpec

Name: perl-Text-Balanced
Version: 2.03
Release: 419
Summary: Extract delimited text sequences from strings
License: GPL+ or Artistic
URL: https://metacpan.org/release/Text-Balanced
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHAY/Text-Balanced-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils, findutils, make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
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 NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%check
make test
%files
%defattr(-,root,root)
%doc README
%license LICENSE
%{perl_vendorlib}/*
%package_help
%files help
%doc Changes
%{_mandir}/man3/*
%changelog
* Sun Sep 29 2019 shenyangyang <shenyangyang4@huawei.com> - 2.03-419
- Type:NA
- ID:NA
- SUG:NA
- DESC:move the directory of README
* Mon Sep 23 2019 shenyangyang<shenyangyang4@huawei.com> - 2.03-418
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise requires of perl
* Fri Aug 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.03-417
- Package init