]> git.pld-linux.org Git - packages/apache-mod_nss.git/blame - apache-mod_nss.spec
- converted to UTF-8
[packages/apache-mod_nss.git] / apache-mod_nss.spec
CommitLineData
785a760e
JB
1%define apxs /usr/sbin/apxs
2Summary: mod_nss - strong cryptography support for Apache using SSL/TLS library NSS
a87a65b1 3Summary(pl.UTF-8): mod_nss - silna kryptografia dla Apache'a przy użyciu biblioteki SSL/TLS NSS
785a760e
JB
4Name: apache-mod_nss
5Version: 1.0.6
6Release: 0.1
7License: Apache 2.0
8Group: Networking/Daemons
9Source0: http://directory.fedora.redhat.com/sources/mod_nss-%{version}.tar.gz
10# Source0-md5: 5e529856b7c05e94c62146ef80eb5e37
11URL: http://directory.fedora.redhat.com/wiki/Mod_nss
12BuildRequires: %{apxs}
13BuildRequires: apache-devel >= 2.0
5b464216
JB
14BuildRequires: apr-devel >= 1:1.0
15BuildRequires: apr-util-devel >= 1:1.0
785a760e
JB
16BuildRequires: nspr-devel >= 1:4.6.2
17BuildRequires: nss-devel >= 1:3.11.3
dad6b5c7 18Requires: apache(modules-api) = %{apache_modules_api}
785a760e
JB
19Requires: nspr >= 1:4.6.2
20Requires: nss >= 1:3.11.3
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
24%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
25
26%description
27An Apache 2.0 module for implementing crypto using the Mozilla NSS
28crypto libraries. This supports SSL v3/TLS v1 including support for
29client certificate authentication. NSS provides web applications with
30a FIPS 140 certified crypto provider and support for a full range of
31PKCS#11 devices.
32
33mod_nss is based directly on the mod_ssl package from Apache 2.0.54.
34It is a conversion from using OpenSSL calls to using NSS calls
35instead.
36
a87a65b1
JR
37%description -l pl.UTF-8
38Moduł Apache'a 2.0 implementujący kryptografię przy użyciu bibliotek
39kryptograficznych Mozilla NSS. Obsługuje SSL v3/TLS v1 wraz z
40uwierzytelnianiem z użyciem certyfikatu klienta. NSS zapewnia
41aplikacjom WWW dostarczanie kryptografii z certyfikacją FIPS 140 i
42obsługę pełnego zakresu urządzeń PKCS#11.
785a760e 43
a87a65b1
JR
44mod_nss jest oparty bezpośrednio na pakiecie mod_ssl z Apache'a
452.0.54, jedynie został zmodyfikowany tak, aby używał wywołań NSS
785a760e
JB
46zamiast OpenSSL.
47
48%prep
49%setup -q -n mod_nss-%{version}
50
51%build
52# apr-util is missing in configure check
53CPPFLAGS="`apu-1-config --includes`"
54%configure \
55 --with-apxs=%{apxs} \
56 --with-apr-config \
57 --with-nspr-inc=/usr/include/nspr \
58 --with-nspr-lib=%{_libdir} \
59 --with-nss-inc=/usr/include/nss \
60 --with-nss-lib=%{_libdir}
61
62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66install -d $RPM_BUILD_ROOT{%{_sbindir},%{_pkglibdir}}
67
68install .libs/libmodnss.so $RPM_BUILD_ROOT%{_pkglibdir}
69install nss_pcache $RPM_BUILD_ROOT%{_sbindir}
70
71# TODO: nss.conf -> %{_sysconfdir}/httpd.conf/XX_mod_nss.conf
72# (NOTE: at least default config conflicts with mod_ssl)
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
79%doc NOTICE README TODO docs/mod_nss.html nss.conf
80%attr(755,root,root) %{_pkglibdir}/libmodnss.so
81%attr(755,root,root) %{_sbindir}/nss_pcache
This page took 0.058006 seconds and 4 git commands to generate.