]> git.pld-linux.org Git - packages/nss.git/blob - nss.spec
- %desc
[packages/nss.git] / nss.spec
1 # $Revision: 1.13 $ $Date: 2002-02-18 21:24:51 $
2 Summary:        NSS - Network Security Services
3 Summary(pl):    NSS - Network Security Services
4 Name:           nss
5 Version:        3.3.1
6 Release:        3
7 License:        GPL
8 Group:          Libraries
9 Group(de):      Libraries
10 Group(es):      Bibliotecas
11 Group(fr):      Librairies
12 Group(pl):      Biblioteki
13 Group(pt_BR):   Bibliotecas
14 Group(ru):      âÉÂÌÉÏÔÅËÉ
15 Group(uk):      â¦Â̦ÏÔÅËÉ
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 BuildRequires:  zip
20 BuildConflicts: mozilla < 0.9.6-3
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Obsoletes:      libnss3
23
24 %description
25 NSS supports cross-platform development of security-enabled server
26 applications. Applications built with NSS can support PKCS #5, PKCS
27 #7, PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 and v3, X.509 v3
28 certificates, and other security standards.
29
30 %description -l pl
31 NNS wspomaga pisanie wieloplatformowych bezpiecznych serwerów.
32 Aplikacja u¿ywaj±ca NSS jest w stanie obs³u¿yæ PKCS #5, PKCS #7, PKCS
33 #11, PKCS #12, S/MIME, TLS, SSL v2 oraz v3, certyfikaty X.509 v3, i
34 wiele innych bezpiecznych standardów.
35
36 %package devel
37 Summary:        NSS - header files
38 Summary(pl):    NSS - pliki nag³ówkowe
39 Group:          Development/Libraries
40 Group(de):      Entwicklung/Libraries
41 Group(es):      Desarrollo/Bibliotecas
42 Group(fr):      Development/Librairies
43 Group(pl):      Programowanie/Biblioteki
44 Group(pt_BR):   Desenvolvimento/Bibliotecas
45 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
46 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
47 Requires:       %{name} = %{version}
48 Obsoletes:      libnss3-devel
49
50 %description devel
51 Development part of NSS library.
52
53 %description devel -l pl
54 Czê¶æ biblioteki NSS przeznaczona dla programistów.
55
56 %package tools
57 Summary:        NSS command line tools and utilities
58 Summary(pl):    Narzêdzia NSS
59 Group:          Applications
60 Group(de):      Applikationen
61 Group(es):      Aplicaciones
62 Group(fr):      Utilitaires
63 Group(pl):      Aplikacje
64 Group(pt):      Aplicações
65 Group(pt_BR):   Aplicações
66 Requires:       %{name} = %{version}
67
68 %description tools
69 The NSS Toolkit command line tool.
70
71 %description tools -l pl
72 Narzêdzia NSS obs³ugiwane z linii poleceñ.
73
74 %package static
75 Summary:        NSS - static library
76 Summary(pl):    NSS - biblioteka statyczna
77 Group:          Development/Libraries
78 Group(de):      Entwicklung/Libraries
79 Group(es):      Desarrollo/Bibliotecas
80 Group(fr):      Development/Librairies
81 Group(pl):      Programowanie/Biblioteki
82 Group(pt_BR):   Desenvolvimento/Bibliotecas
83 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
84 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
85 Requires:       %{name}-devel = %{version}
86
87 %description static
88 Static NSS Toolkit libraries.
89
90 %description static -l pl
91 Statyczne wersje bibliotek z NSS.
92
93 %prep
94 %setup -q
95 %patch0 -p1
96
97 %build
98 cd mozilla/security/nss
99
100 %{__make} build_coreconf \
101         NSDISTMODE=copy \
102         NS_USE_GCC=1 \
103         MOZILLA_CLIENT=1 \
104         NO_MDUPDATE=1 \
105         USE_PTHREADS=1 \
106         BUILD_OPT=1 \
107         OPTIMIZER="%{rpmcflags}"
108
109 %{__make} build_dbm \
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 %{__make} all \
120         NSDISTMODE=copy \
121         NS_USE_GCC=1 \
122         MOZILLA_CLIENT=1 \
123         NO_MDUPDATE=1 \
124         USE_PTHREADS=1 \
125         BUILD_OPT=1 \
126         OPTIMIZER="%{rpmcflags}" \
127         PLATFORM="pld"
128
129 %install
130 rm -rf $RPM_BUILD_ROOT
131 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/nss,%{_libdir}}
132
133 install mozilla/dist/private/security/* $RPM_BUILD_ROOT%{_includedir}/nss
134 install mozilla/dist/public/dbm/*       $RPM_BUILD_ROOT%{_includedir}/nss
135 install mozilla/dist/public/seccmd/*    $RPM_BUILD_ROOT%{_includedir}/nss
136 install mozilla/dist/public/security/*  $RPM_BUILD_ROOT%{_includedir}/nss
137 install mozilla/dist/pld/bin/*          $RPM_BUILD_ROOT%{_bindir}
138 install mozilla/dist/pld/lib/*          $RPM_BUILD_ROOT%{_libdir}
139
140 %clean
141 rm -rf $RPM_BUILD_ROOT
142
143 %post -p /sbin/ldconfig
144 %postun -p /sbin/ldconfig
145
146 %files
147 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_libdir}/lib*.so
149
150 %files devel
151 %defattr(644,root,root,755)
152 %{_includedir}/nss
153
154 %files tools
155 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_bindir}/*
157
158 %files static
159 %defattr(644,root,root,755)
160 %{_libdir}/*.a
This page took 1.124827 seconds and 4 git commands to generate.