]> git.pld-linux.org Git - packages/perl-Mozilla-CA.git/blame - perl-Mozilla-CA.spec
- up to 20111025
[packages/perl-Mozilla-CA.git] / perl-Mozilla-CA.spec
CommitLineData
2c6631bc 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Mozilla
6%define pnam CA
7%include /usr/lib/rpm/macros.perl
8Summary: Mozilla::CA - Mozilla's CA cert bundle in PEM format
9#Summary(pl.UTF-8):
10Name: perl-Mozilla-CA
8c758654 11Version: 20111025
2c6631bc 12Release: 1
13License: mozilla_1_1 gpl-2 lgpl_2_1
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Mozilla/%{pdir}-%{pnam}-%{version}.tar.gz
8c758654 16# Source0-md5: 74026b1a7aa0de8fc17d81efb3629195
2c6631bc 17# generic URL, check or change before uncommenting
18#URL: http://search.cpan.org/dist/Mozilla-CA/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Mozilla::CA provides a copy of Mozilla's bundle of Certificate Authority
28certificates in a form that can be consumed by modules and libraries
29based on OpenSSL.
30
31The module provide a single function:
32
2c6631bc 33# %description -l pl.UTF-8
34# TODO
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42%{__make}
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} pure_install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc README
58%{perl_vendorlib}/Mozilla/*.pm
59%{perl_vendorlib}/Mozilla/CA
60%{_mandir}/man3/*
This page took 0.126523 seconds and 4 git commands to generate.