]> git.pld-linux.org Git - packages/perl-Mozilla-CA.git/blame - perl-Mozilla-CA.spec
up to 20141217, no changes to code
[packages/perl-Mozilla-CA.git] / perl-Mozilla-CA.spec
CommitLineData
2c6631bc 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
9a3b0fe8 4
2c6631bc 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
57794477 9Summary(pl.UTF-8): Mozilla::CA - pakiet certyfikatów CA Mozilli w formacie PEM
2c6631bc 10Name: perl-Mozilla-CA
60c38f49
ER
11# although upsream has new releases, there is no benefit of that other than
12# feeling library is fresh, as we do not use certs provided by this module.
13Version: 20141217
2c6631bc 14Release: 1
57794477 15License: MPL v1.1 or GPL v2+ or LGPL v2.1+
2c6631bc 16Group: Development/Languages/Perl
17Source0: http://www.cpan.org/modules/by-module/Mozilla/%{pdir}-%{pnam}-%{version}.tar.gz
60c38f49 18# Source0-md5: e0e5646886aeb3f71fb593f536295e2c
9a3b0fe8 19Patch0: system-ca-certificates.patch
57794477 20URL: http://search.cpan.org/dist/Mozilla-CA/
2c6631bc 21BuildRequires: perl-devel >= 1:5.8.0
22BuildRequires: rpm-perlprov >= 4.1-13
9a3b0fe8 23Requires: ca-certificates
2c6631bc 24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
9a3b0fe8
ER
28Mozilla::CA provides a path to ca-certificates copy of Mozilla's
29bundle of certificate authority certificates in a form that can be
30consumed by modules and libraries based on OpenSSL.
2c6631bc 31
57794477
JB
32%description -l pl.UTF-8
33Mozilla::CA dostarcza kopię pakietu certyfikatów CA (Certificate
34Authority) w postaci nadającej się do odczytu przez moduły i
35biblioteki oparte na OpenSSL.
2c6631bc 36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
9a3b0fe8
ER
39%patch0 -p1
40
41# Do not distribute Mozilla downloader, we take certificates from ca-certificates package
42rm mk-ca-bundle.pl
43sed -i '/^mk-ca-bundle.pl$/d' MANIFEST
2c6631bc 44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
48%{__make}
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} pure_install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
57794477
JB
63%doc Changes README
64%{perl_vendorlib}/Mozilla/CA.pm
9a3b0fe8 65#%{perl_vendorlib}/Mozilla/CA
57794477 66%{_mandir}/man3/Mozilla::CA.3pm*
This page took 0.029242 seconds and 4 git commands to generate.