1 # $Revision: 1.18 $ $Date: 2002-04-11 17:48:44 $
2 Summary: NSS - Network Security Services
3 Summary(pl): NSS - Network Security Services
9 Source0: ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_3_4_RC1/src/%{name}-%{version}.tar.gz
10 Patch0: %{name}-Makefile.patch
11 BuildRequires: nspr-devel
13 BuildConflicts: mozilla < 0.9.6-3
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 NSS supports cross-platform development of security-enabled server
19 applications. Applications built with NSS can support PKCS #5, PKCS
20 #7, PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 and v3, X.509 v3
21 certificates, and other security standards.
24 NNS wspomaga pisanie wieloplatformowych bezpiecznych serwerów.
25 Aplikacja u¿ywaj±ca NSS jest w stanie obs³u¿yæ PKCS #5, PKCS #7, PKCS
26 #11, PKCS #12, S/MIME, TLS, SSL v2 oraz v3, certyfikaty X.509 v3, i
27 wiele innych bezpiecznych standardów.
30 Summary: NSS - header files
31 Summary(pl): NSS - pliki nag³ówkowe
32 Group: Development/Libraries
33 Requires: %{name} = %{version}
34 Obsoletes: libnss3-devel
37 Development part of NSS library.
39 %description devel -l pl
40 Czê¶æ biblioteki NSS przeznaczona dla programistów.
43 Summary: NSS command line tools and utilities
44 Summary(pl): Narzêdzia NSS
46 Requires: %{name} = %{version}
49 The NSS Toolkit command line tool.
51 %description tools -l pl
52 Narzêdzia NSS obs³ugiwane z linii poleceñ.
55 Summary: NSS - static library
56 Summary(pl): NSS - biblioteka statyczna
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{version}
61 Static NSS Toolkit libraries.
63 %description static -l pl
64 Statyczne wersje bibliotek z NSS.
71 cd mozilla/security/nss
73 %{__make} build_coreconf \
80 OPTIMIZER="%{rpmcflags}"
89 OPTIMIZER="%{rpmcflags}" \
99 OPTIMIZER="%{rpmcflags}" \
103 rm -rf $RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/nss,%{_libdir}}
106 install mozilla/dist/private/security/* $RPM_BUILD_ROOT%{_includedir}/nss
107 install mozilla/dist/public/dbm/* $RPM_BUILD_ROOT%{_includedir}/nss
108 install mozilla/dist/public/seccmd/* $RPM_BUILD_ROOT%{_includedir}/nss
109 install mozilla/dist/public/security/* $RPM_BUILD_ROOT%{_includedir}/nss
110 install mozilla/dist/pld/bin/* $RPM_BUILD_ROOT%{_bindir}
111 install mozilla/dist/pld/lib/* $RPM_BUILD_ROOT%{_libdir}
114 rm -rf $RPM_BUILD_ROOT
116 %post -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/lib*.so
124 %defattr(644,root,root,755)
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_bindir}/*
132 %defattr(644,root,root,755)