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