]> git.pld-linux.org Git - packages/nss.git/blob - nss.spec
- added Conflicts: mozilla (because this lib shouldn't link with mozilla)
[packages/nss.git] / nss.spec
1 # $Revision: 1.2 $ $Date: 2001-12-13 16:29:18 $
2 Summary:        NSS - Network Security Services
3 Summary(pl):    NSS - Network Security Services
4 Name:           nss
5 Version:        3.3.1
6 Release:        1
7 License:        GPL
8 Group:          X11/Libraries
9 Group(de):      X11/Libraries
10 Group(es):      X11/Bibliotecas
11 Group(fr):      X11/Librairies
12 Group(pl):      X11/Biblioteki
13 Group(pt_BR):   X11/Bibliotecas
14 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
15 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
16 Source0:        ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_3_3_1_RTM/src/%{name}-%{version}.tar.gz
17 Patch0:         %{name}-Makefile.patch
18 BuildRequires:  nspr-devel
19 Conflicts:      mozilla
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description 
23 NSS supports cross-platform development of security-enabled server 
24 applications. Applications built with NSS can support PKCS #5, PKCS #7, 
25 PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 and v3, X.509 v3 certificates, 
26 and other security standards.
27
28 %description -l pl
29 NNS 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.
33
34 %package devel
35 Summary:        NSS - header files
36 Summary(pl):    NSS - pliki nag³ówkowe
37 Group:          Development/Libraries
38 Group(de):      Entwicklung/Libraries
39 Group(es):      Desarrollo/Bibliotecas
40 Group(fr):      Development/Librairies
41 Group(pl):      Programowanie/Biblioteki
42 Group(pt_BR):   Desenvolvimento/Bibliotecas
43 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
44 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
45 Requires:       %{name} = %{version}
46
47 %description devel
48 Development part of NSS library.
49
50 %description devel -l pl
51 Czê¶æ biblioteki NSS przeznaczona dla programistów.
52
53 %package tools
54 Summary:        NSS command line tools and utilities
55 Group:          Applications
56 Group(de):      Applikationen
57 Group(fr):      Utilitaires
58 Group(pl):      Aplikacje
59 Requires:       %{name} = %{version}
60
61 %description tools
62 The NSS Toolkit command line tool.
63
64 %package static
65 Summary:        NSS - static library
66 Summary(pl):    NSS - biblioteka statyczna
67 Group:          Development/Libraries
68 Group(de):      Entwicklung/Libraries
69 Group(es):      Desarrollo/Bibliotecas
70 Group(fr):      Development/Librairies
71 Group(pl):      Programowanie/Biblioteki
72 Group(pt_BR):   Desenvolvimento/Bibliotecas
73 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
74 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
75 Requires:       %{name}-devel = %{version}
76
77 %description static
78 Static NSS Toolkit libraries.
79
80 %description static -l pl
81 Statyczne wersje bibliotek z NSS.
82
83 %prep
84 %setup -q
85 %patch0 -p1
86
87 %build
88 cd mozilla/security/nss
89
90 %{__make} build_coreconf \
91         NSDISTMODE=copy \
92         NS_USE_GCC=1 \
93         MOZILLA_CLIENT=1 \
94         NO_MDUPDATE=1 \
95         USE_PTHREADS=1 \
96         BUILD_OPT=1 \
97         OPTIMIZER="%{rpmcflags}"
98
99 %{__make} build_dbm \
100         NSDISTMODE=copy \
101         NS_USE_GCC=1 \
102         MOZILLA_CLIENT=1 \
103         NO_MDUPDATE=1 \
104         USE_PTHREADS=1 \
105         BUILD_OPT=1 \
106         OPTIMIZER="%{rpmcflags}" \
107         PLATFORM="pld"
108         
109 %{__make} all \
110         NSDISTMODE=copy \
111         NS_USE_GCC=1 \
112         MOZILLA_CLIENT=1 \
113         NO_MDUPDATE=1 \
114         USE_PTHREADS=1 \
115         BUILD_OPT=1 \
116         OPTIMIZER="%{rpmcflags}" \
117         PLATFORM="pld"
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/nss,%{_libdir}}
122 install mozilla/dist/private/security/* $RPM_BUILD_ROOT%{_includedir}/nss
123 install mozilla/dist/public/dbm/*       $RPM_BUILD_ROOT%{_includedir}/nss
124 install mozilla/dist/public/seccmd/*    $RPM_BUILD_ROOT%{_includedir}/nss
125 install mozilla/dist/public/security/*  $RPM_BUILD_ROOT%{_includedir}/nss
126 install mozilla/dist/pld/bin/*          $RPM_BUILD_ROOT%{_bindir}
127 install mozilla/dist/pld/lib/*          $RPM_BUILD_ROOT%{_libdir}
128
129 %clean
130 rm -rf $RPM_BUILD_ROOT
131
132 %post   -p /sbin/ldconfig
133 %postun -p /sbin/ldconfig
134
135 %files
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_libdir}/lib*.so
138
139 %files devel
140 %defattr(644,root,root,755)
141 %{_includedir}/nss
142
143 %files tools
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_bindir}/*
146
147 %files static
148 %defattr(644,root,root,755)
149 %{_libdir}/*.a
This page took 0.044142 seconds and 4 git commands to generate.