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
13 License: mozilla_1_1 gpl-2 lgpl_2_1
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Mozilla/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 74026b1a7aa0de8fc17d81efb3629195
17 # generic URL, check or change before uncommenting
18 #URL: http://search.cpan.org/dist/Mozilla-CA/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Mozilla::CA provides a copy of Mozilla's bundle of Certificate Authority
28 certificates in a form that can be consumed by modules and libraries
31 The module provide a single function:
33 # %description -l pl.UTF-8
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
49 %{__make} pure_install \
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/Mozilla/*.pm
59 %{perl_vendorlib}/Mozilla/CA