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: c10b5100510dab1e3c94b76a4d7b1f23
12 Patch0: %{name}-Makefile.patch
13 Patch1: %{name}-system-zlib.patch
14 BuildRequires: nspr-devel >= 4.4.1
15 BuildRequires: zip >= 2.1
16 BuildConflicts: mozilla < 0.9.6-3
17 Requires: nspr >= 4.4.1
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 NSS supports cross-platform development of security-enabled server
23 applications. Applications built with NSS can support PKCS #5,
24 PKCS #7, PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 and v3, X.509 v3
25 certificates, and other security standards.
28 NSS wspomaga pisanie wieloplatformowych bezpiecznych serwerów.
29 Aplikacja u¿ywaj±ca NSS jest w stanie obs³u¿yæ PKCS #5, PKCS #7,
30 PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 oraz v3, certyfikaty X.509 v3,
31 i wiele innych bezpiecznych standardów.
34 Summary: NSS command line tools and utilities
35 Summary(pl): Narzêdzia NSS
37 Requires: %{name} = %{epoch}:%{version}-%{release}
40 The NSS Toolkit command line tool.
42 %description tools -l pl
43 Narzêdzia NSS obs³ugiwane z linii poleceñ.
46 Summary: NSS - header files
47 Summary(pl): NSS - pliki nag³ówkowe
48 Group: Development/Libraries
49 Requires: %{name} = %{epoch}:%{version}-%{release}
50 Obsoletes: libnss3-devel
53 Development part of NSS library.
55 %description devel -l pl
56 Czê¶æ biblioteki NSS przeznaczona dla programistów.
59 Summary: NSS - static library
60 Summary(pl): NSS - biblioteka statyczna
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
65 Static NSS Toolkit libraries.
67 %description static -l pl
68 Statyczne wersje bibliotek z NSS.
76 cd mozilla/security/nss
78 %{__make} build_coreconf \
85 OPTIMIZER="%{rpmcflags}"
94 OPTIMIZER="%{rpmcflags}" \
104 OPTIMIZER="%{rpmcflags}" \
108 rm -rf $RPM_BUILD_ROOT
109 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/nss,%{_libdir}}
111 install mozilla/dist/private/nss/* $RPM_BUILD_ROOT%{_includedir}/nss
112 install mozilla/dist/public/dbm/* $RPM_BUILD_ROOT%{_includedir}/nss
113 install mozilla/dist/public/seccmd/* $RPM_BUILD_ROOT%{_includedir}/nss
114 install mozilla/dist/public/nss/* $RPM_BUILD_ROOT%{_includedir}/nss
115 install mozilla/dist/pld/bin/* $RPM_BUILD_ROOT%{_bindir}
116 install mozilla/dist/pld/lib/* $RPM_BUILD_ROOT%{_libdir}
118 # resolve conflict with squid
119 mv -f $RPM_BUILD_ROOT%{_bindir}/{,nss-}client
122 rm -rf $RPM_BUILD_ROOT
124 %post -p /sbin/ldconfig
125 %postun -p /sbin/ldconfig
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/lib*.so
133 %defattr(644,root,root,755)
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_bindir}/*
142 %defattr(644,root,root,755)
144 %exclude %{_libdir}/libcrmf.a