Package init
This commit is contained in:
commit
ffc8ecfc68
BIN
Text-Balanced-2.03.tar.gz
Normal file
BIN
Text-Balanced-2.03.tar.gz
Normal file
Binary file not shown.
61
perl-Text-Balanced.spec
Normal file
61
perl-Text-Balanced.spec
Normal file
@ -0,0 +1,61 @@
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user