1 # $Revision: 1.33 $ $Date: 2003-03-17 09:51:33 $
2 Summary: NSS - Network Security Services
3 Summary(pl): NSS - Network Security Services
6 %define foover %(echo %{version} | tr . _)
11 Source0: ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_%{foover}_RTM/src/%{name}-%{version}.tar.gz
12 Patch0: %{name}-Makefile.patch
13 Patch1: %{name}-system-zlib.patch
14 BuildRequires: nspr-devel >= 4.2.2
15 BuildRequires: zip >= 2.1
16 BuildConflicts: mozilla < 0.9.6-3
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 NSS supports cross-platform development of security-enabled server
22 applications. Applications built with NSS can support PKCS #5,
23 PKCS #7, PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 and v3, X.509 v3
24 certificates, and other security standards.
27 NSS wspomaga pisanie wieloplatformowych bezpiecznych serwerów.
28 Aplikacja u¿ywaj±ca NSS jest w stanie obs³u¿yæ PKCS #5, PKCS #7,
29 PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 oraz v3, certyfikaty X.509 v3, i
30 wiele innych bezpiecznych standardów.
33 Summary: NSS command line tools and utilities
34 Summary(pl): Narzêdzia NSS
36 Requires: %{name} = %{version}
39 The NSS Toolkit command line tool.
41 %description tools -l pl
42 Narzêdzia NSS obs³ugiwane z linii poleceñ.
45 Summary: NSS - header files
46 Summary(pl): NSS - pliki nag³ówkowe
47 Group: Development/Libraries
48 Requires: %{name} = %{version}
49 Obsoletes: libnss3-devel
52 Development part of NSS library.
54 %description devel -l pl
55 Czê¶æ biblioteki NSS przeznaczona dla programistów.
58 Summary: NSS - static library
59 Summary(pl): NSS - biblioteka statyczna
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{version}
64 Static NSS Toolkit libraries.
66 %description static -l pl
67 Statyczne wersje bibliotek z NSS.
75 cd mozilla/security/nss
77 %{__make} build_coreconf \
84 OPTIMIZER="%{rpmcflags}"
93 OPTIMIZER="%{rpmcflags}" \
103 OPTIMIZER="%{rpmcflags}" \
107 rm -rf $RPM_BUILD_ROOT
108 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/nss,%{_libdir}}
110 install mozilla/dist/private/nss/* $RPM_BUILD_ROOT%{_includedir}/nss
111 install mozilla/dist/public/dbm/* $RPM_BUILD_ROOT%{_includedir}/nss
112 install mozilla/dist/public/seccmd/* $RPM_BUILD_ROOT%{_includedir}/nss
113 install mozilla/dist/public/nss/* $RPM_BUILD_ROOT%{_includedir}/nss
114 install mozilla/dist/pld/bin/* $RPM_BUILD_ROOT%{_bindir}
115 install mozilla/dist/pld/lib/* $RPM_BUILD_ROOT%{_libdir}
117 # resolve conflict with squid
118 mv -f $RPM_BUILD_ROOT%{_bindir}/{,nss-}client
121 rm -rf $RPM_BUILD_ROOT
123 %post -p /sbin/ldconfig
124 %postun -p /sbin/ldconfig
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/lib*.so
131 %defattr(644,root,root,755)
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_bindir}/*
140 %defattr(644,root,root,755)
141 %{_libdir}/lib[^c]*.a
142 %{_libdir}/libc[^r]*.a
143 %{_libdir}/libcr[^m]*.a