]> git.pld-linux.org Git - packages/perl-Mozilla-CA.git/blob - perl-Mozilla-CA.spec
- updated to 20120309
[packages/perl-Mozilla-CA.git] / perl-Mozilla-CA.spec
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
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
10 Name:           perl-Mozilla-CA
11 Version:        20120309
12 Release:        1
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
27
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.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} pure_install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes README
55 %{perl_vendorlib}/Mozilla/CA.pm
56 %{perl_vendorlib}/Mozilla/CA
57 %{_mandir}/man3/Mozilla::CA.3pm*
This page took 0.068651 seconds and 4 git commands to generate.