1 | Name: perl-Regexp-Common
|
---|
2 | Version: 2017060201
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: Regexp::Common Perl module
|
---|
5 | # Old Artistic 1.0 is also valid, but we won't list it here since it is non-free.
|
---|
6 | # Also, it would throw off the automated license check and flag this package.
|
---|
7 | License: Artistic 2.0 or MIT or BSD
|
---|
8 | Vendor: bww bitwise works GmbH
|
---|
9 | Group: Development/Libraries
|
---|
10 | URL: http://search.cpan.org/dist/Regexp-Common/
|
---|
11 | Source0: http://www.cpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-%{version}.tar.gz
|
---|
12 |
|
---|
13 | BuildArch: noarch
|
---|
14 |
|
---|
15 | BuildRequires: %{__perl}
|
---|
16 | BuildRequires: %{__make}
|
---|
17 |
|
---|
18 | BuildRequires: perl-generators
|
---|
19 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
20 | BuildRequires: perl(Carp)
|
---|
21 | BuildRequires: perl(Config)
|
---|
22 | BuildRequires: perl(Exporter)
|
---|
23 | BuildRequires: perl(overload)
|
---|
24 | BuildRequires: perl(re)
|
---|
25 | BuildRequires: perl(strict)
|
---|
26 | BuildRequires: perl(vars)
|
---|
27 | BuildRequires: perl(warnings)
|
---|
28 |
|
---|
29 | # for improved tests
|
---|
30 | #BuildRequires: perl(Test::More)
|
---|
31 | #BuildRequires: perl(Test::Regexp)
|
---|
32 |
|
---|
33 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
---|
34 |
|
---|
35 | %description
|
---|
36 | Regexp::Common - Provide commonly requested regular expressions
|
---|
37 |
|
---|
38 | %prep
|
---|
39 | %setup -q -n Regexp-Common-%{version}
|
---|
40 |
|
---|
41 | %build
|
---|
42 | %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
---|
43 | %{__make} %{?_smp_mflags}
|
---|
44 | make manifypods
|
---|
45 |
|
---|
46 | %install
|
---|
47 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
---|
48 | find %{buildroot} -type f -name .packlist -delete
|
---|
49 | chmod -R u+w $RPM_BUILD_ROOT/*
|
---|
50 |
|
---|
51 | %check
|
---|
52 | #%{__make} test
|
---|
53 |
|
---|
54 | %files
|
---|
55 | %doc TODO README
|
---|
56 | %{perl_vendorlib}/Regexp
|
---|
57 | %{_mandir}/man3/*
|
---|
58 |
|
---|
59 | %changelog
|
---|
60 | * Mon Mar 12 2018 Elbert Pol <elbert.pol@gmail.com> - 2017060201-1
|
---|
61 | - initial rpm for OS2
|
---|