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