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