]> git.pld-linux.org Git - packages/perl-Mozilla-CA.git/blob - perl-Mozilla-CA.spec
added
[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):     
10 Name:           perl-Mozilla-CA
11 Version:        20110409
12 Release:        1
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:  b68cbbc2a364de8e2c418b46126221d0
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
21 %if %{with tests}
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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
29 based on OpenSSL.
30
31 The module provide a single function:
32
33
34
35 # %description -l pl.UTF-8
36 # TODO
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} pure_install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc README
60 %{perl_vendorlib}/Mozilla/*.pm
61 %{perl_vendorlib}/Mozilla/CA
62 %{_mandir}/man3/*
This page took 0.083068 seconds and 4 git commands to generate.