]> git.pld-linux.org Git - packages/nss.git/blob - nss.spec
- release 1.
[packages/nss.git] / nss.spec
1 # $Revision: 1.23 $ $Date: 2002-04-15 00:30:18 $
2 Summary:        NSS - Network Security Services
3 Summary(pl):    NSS - Network Security Services
4 Name:           nss
5 Version:        3.4.rc1
6 Release:        1
7 License:        GPL
8 Group:          Libraries
9 Source0:        ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_3_4_RC1/src/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-Makefile.patch
11 Patch1:         %{name}-dbm.patch.bz2
12 Patch2:         %{name}-system-zlib.patch
13 BuildRequires:  nspr-devel
14 BuildConflicts: mozilla < 0.9.6-3
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Obsoletes:      libnss3
17
18 %description
19 NSS supports cross-platform development of security-enabled server
20 applications. Applications built with NSS can support PKCS #5, PKCS
21 #7, PKCS #11, PKCS #12, S/MIME, TLS, SSL v2 and v3, X.509 v3
22 certificates, and other security standards.
23
24 %description -l pl
25 NSS wspomaga pisanie wieloplatformowych bezpiecznych serwerów.
26 Aplikacja u¿ywaj±ca NSS jest w stanie obs³u¿yæ PKCS #5, PKCS #7, PKCS
27 #11, PKCS #12, S/MIME, TLS, SSL v2 oraz v3, certyfikaty X.509 v3, i
28 wiele innych bezpiecznych standardów.
29
30 %package devel
31 Summary:        NSS - header files
32 Summary(pl):    NSS - pliki nag³ówkowe
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}
35 Obsoletes:      libnss3-devel
36
37 %description devel
38 Development part of NSS library.
39
40 %description devel -l pl
41 Czê¶æ biblioteki NSS przeznaczona dla programistów.
42
43 %package tools
44 Summary:        NSS command line tools and utilities
45 Summary(pl):    Narzêdzia NSS
46 Group:          Applications
47 Requires:       %{name} = %{version}
48
49 %description tools
50 The NSS Toolkit command line tool.
51
52 %description tools -l pl
53 Narzêdzia NSS obs³ugiwane z linii poleceñ.
54
55 %package static
56 Summary:        NSS - static library
57 Summary(pl):    NSS - biblioteka statyczna
58 Group:          Development/Libraries
59 Requires:       %{name}-devel = %{version}
60
61 %description static
62 Static NSS Toolkit libraries.
63
64 %description static -l pl
65 Statyczne wersje bibliotek z NSS.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70 %patch1 -p1
71 %patch2 -p1
72
73 %build
74 cd mozilla/security/nss
75
76 %{__make} build_coreconf \
77         NSDISTMODE=copy \
78         NS_USE_GCC=1 \
79         MOZILLA_CLIENT=1 \
80         NO_MDUPDATE=1 \
81         USE_PTHREADS=1 \
82         BUILD_OPT=1 \
83         OPTIMIZER="%{rpmcflags}"
84
85 %{__make} build_dbm \
86         NSDISTMODE=copy \
87         NS_USE_GCC=1 \
88         MOZILLA_CLIENT=1 \
89         NO_MDUPDATE=1 \
90         USE_PTHREADS=1 \
91         BUILD_OPT=1 \
92         OPTIMIZER="%{rpmcflags}" \
93         PLATFORM="pld"
94
95 %{__make} all \
96         NSDISTMODE=copy \
97         NS_USE_GCC=1 \
98         MOZILLA_CLIENT=1 \
99         NO_MDUPDATE=1 \
100         USE_PTHREADS=1 \
101         BUILD_OPT=1 \
102         OPTIMIZER="%{rpmcflags}" \
103         PLATFORM="pld"
104
105 %install
106 rm -rf $RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/nss,%{_libdir}}
108
109 install mozilla/dist/private/security/* $RPM_BUILD_ROOT%{_includedir}/nss
110 install mozilla/dist/public/dbm/*       $RPM_BUILD_ROOT%{_includedir}/nss
111 install mozilla/dist/public/seccmd/*    $RPM_BUILD_ROOT%{_includedir}/nss
112 install mozilla/dist/public/security/*  $RPM_BUILD_ROOT%{_includedir}/nss
113 install mozilla/dist/pld/bin/*          $RPM_BUILD_ROOT%{_bindir}
114 install mozilla/dist/pld/lib/*          $RPM_BUILD_ROOT%{_libdir}
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %post   -p /sbin/ldconfig
120 %postun -p /sbin/ldconfig
121
122 %files
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/lib*.so
125
126 %files devel
127 %defattr(644,root,root,755)
128 %{_includedir}/nss
129 %{_libdir}/libcrmf.a
130
131 %files tools
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_bindir}/*
134
135 %files static
136 %defattr(644,root,root,755)
137 %{_libdir}/lib[^c]*.a
138 %{_libdir}/libc[^r]*.a
139 %{_libdir}/libcr[^m]*.a
This page took 0.046434 seconds and 4 git commands to generate.