source: spec/trunk/SPECS/perl-Regexp-Common.spec

Last change on this file was 1363, checked in by tellie, 8 years ago

spec: perl-Regexp-Common: Release version 2017060201-1.

File size: 1.6 KB
RevLine 
[1363]1Name: perl-Regexp-Common
2Version: 2017060201
3Release: 1%{?dist}
4Summary: 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.
7License: Artistic 2.0 or MIT or BSD
8Vendor: bww bitwise works GmbH
9Group: Development/Libraries
10URL: http://search.cpan.org/dist/Regexp-Common/
11Source0: http://www.cpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-%{version}.tar.gz
12
13BuildArch: noarch
14
15BuildRequires: %{__perl}
16BuildRequires: %{__make}
17
18BuildRequires: perl-generators
19BuildRequires: perl(ExtUtils::MakeMaker)
20BuildRequires: perl(Carp)
21BuildRequires: perl(Config)
22BuildRequires: perl(Exporter)
23BuildRequires: perl(overload)
24BuildRequires: perl(re)
25BuildRequires: perl(strict)
26BuildRequires: perl(vars)
27BuildRequires: perl(warnings)
28
29# for improved tests
30#BuildRequires: perl(Test::More)
31#BuildRequires: perl(Test::Regexp)
32
33Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
34
35%description
36Regexp::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}
44make manifypods
45
46%install
47%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
48find %{buildroot} -type f -name .packlist -delete
49chmod -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
Note: See TracBrowser for help on using the repository browser.