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