3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Mozilla::CA - Mozilla's CA cert bundle in PEM format
9 Summary(pl.UTF-8): Mozilla::CA - pakiet certyfikatów CA Mozilli w formacie PEM
13 License: MPL v1.1 or GPL v2+ or LGPL v2.1+
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Mozilla/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: f7fba6902335c5e068e3a576e4dce9ef
17 URL: http://search.cpan.org/dist/Mozilla-CA/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Mozilla::CA provides a copy of Mozilla's bundle of Certificate
25 Authority certificates in a form that can be consumed by modules and
26 libraries based on OpenSSL.
28 %description -l pl.UTF-8
29 Mozilla::CA dostarcza kopię pakietu certyfikatów CA (Certificate
30 Authority) w postaci nadającej się do odczytu przez moduły i
31 biblioteki oparte na OpenSSL.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
46 %{__make} pure_install \
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/Mozilla/CA.pm
56 %{perl_vendorlib}/Mozilla/CA
57 %{_mandir}/man3/Mozilla::CA.3pm*