1 Summary: NSS - Network Security Services
2 Summary(pl): NSS - Network Security Services
5 %define foover %(echo %{version} | tr . _)
10 Source0: http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_%{foover}_RTM/src/%{name}-%{version}.tar.gz
11 # Source0-md5: 9d6349eca70dc2ad06d2f6b01570faa7
12 Patch0: %{name}-Makefile.patch
13 Patch1: %{name}-system-zlib.patch
14 Patch2: %{name}-amd64.patch
15 BuildRequires: nspr-devel >= 4.4.1
16 BuildRequires: zip >= 2.1
17 BuildConflicts: mozilla < 0.9.6-3
18 Requires: nspr >= 4.4.1
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 NSS supports cross-platform development of security-enabled server
24 applications. Applications built with NSS can support PKCS #5,
25 PKCS #7, PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 and v3, X.509 v3
26 certificates, and other security standards.
29 NSS wspomaga pisanie wieloplatformowych bezpiecznych serwerów.
30 Aplikacja u¿ywaj±ca NSS jest w stanie obs³u¿yæ PKCS #5, PKCS #7,
31 PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 oraz v3, certyfikaty X.509 v3,
32 i wiele innych bezpiecznych standardów.
35 Summary: NSS command line tools and utilities
36 Summary(pl): Narzêdzia NSS
38 Requires: %{name} = %{epoch}:%{version}
41 The NSS Toolkit command line tool.
43 %description tools -l pl
44 Narzêdzia NSS obs³ugiwane z linii poleceñ.
47 Summary: NSS - header files
48 Summary(pl): NSS - pliki nag³ówkowe
49 Group: Development/Libraries
50 Requires: %{name} = %{epoch}:%{version}
51 Obsoletes: libnss3-devel
54 Development part of NSS library.
56 %description devel -l pl
57 Czê¶æ biblioteki NSS przeznaczona dla programistów.
60 Summary: NSS - static library
61 Summary(pl): NSS - biblioteka statyczna
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{epoch}:%{version}
66 Static NSS Toolkit libraries.
68 %description static -l pl
69 Statyczne wersje bibliotek z NSS.
76 cp -f mozilla/security/coreconf/Linux2.5.mk mozilla/security/coreconf/Linux2.6.mk
79 cd mozilla/security/nss
81 %{__make} build_coreconf \
88 OPTIMIZER="%{rpmcflags}"
97 OPTIMIZER="%{rpmcflags}" \
107 OPTIMIZER="%{rpmcflags}" \
111 rm -rf $RPM_BUILD_ROOT
112 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/nss,%{_libdir}}
114 install mozilla/dist/private/nss/* $RPM_BUILD_ROOT%{_includedir}/nss
115 install mozilla/dist/public/dbm/* $RPM_BUILD_ROOT%{_includedir}/nss
116 install mozilla/dist/public/seccmd/* $RPM_BUILD_ROOT%{_includedir}/nss
117 install mozilla/dist/public/nss/* $RPM_BUILD_ROOT%{_includedir}/nss
118 install mozilla/dist/pld/bin/* $RPM_BUILD_ROOT%{_bindir}
119 install mozilla/dist/pld/lib/* $RPM_BUILD_ROOT%{_libdir}
121 # resolve conflict with squid
122 mv -f $RPM_BUILD_ROOT%{_bindir}/{,nss-}client
125 rm -rf $RPM_BUILD_ROOT
127 %post -p /sbin/ldconfig
128 %postun -p /sbin/ldconfig
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/lib*.so
136 %defattr(644,root,root,755)
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_bindir}/*
145 %defattr(644,root,root,755)
147 %exclude %{_libdir}/libcrmf.a