]> git.pld-linux.org Git - packages/xmlsec1.git/blob - xmlsec1.spec
- up to 1.2.15
[packages/xmlsec1.git] / xmlsec1.spec
1 Summary:        XML Security Library
2 Summary(pl.UTF-8):      Biblioteka bezpieczeństwa XML
3 Name:           xmlsec1
4 Version:        1.2.15
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://www.aleksey.com/xmlsec/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  43bc8011a33ef9fba862eca4573034c4
10 Patch0:         %{name}-nss.patch
11 URL:            http://www.aleksey.com/xmlsec/
12 BuildRequires:  autoconf >= 2.2
13 BuildRequires:  automake
14 BuildRequires:  gnutls-devel >= 1.2.5
15 BuildRequires:  libtool
16 BuildRequires:  libxml2-devel >= 1:2.7.4
17 BuildRequires:  libxslt-devel >= 1.0.20
18 BuildRequires:  nspr-devel >= 4.0
19 BuildRequires:  nss-devel >= 3.2
20 BuildRequires:  openssl-devel >= 0.9.7
21 BuildRequires:  pkgconfig
22 Requires:       libxml2 >= 1:2.7.4
23 Requires:       libxslt >= 1.0.20
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 XMLSec library provides C based implementation for major XML Security
28 standards:
29  - XML Signature Syntax and Processing
30    <http://www.w3.org/TR/xmldsig-core/>
31  - XML Encryption Syntax and Processing
32    <http://www.w3.org/TR/xmlenc-core/>
33 XMLSec is based on well known LibXML <http://xmlsoft.org/>, LibXSLT
34 <http://xmlsoft.org/XSLT/> and OpenSSL <http://www.openssl.org/>
35 libraries.
36
37 This package contains core library, which provides implementation of
38 all the engines as well as support for all the non crypto transforms
39 (XML parser, c14n transforms, XPath and XSLT transforms...).
40 For cryptographic transforms, keys data and key data stores look at
41 one of the separate XML Security Crypto libraries (GnuTLS, NSS or
42 OpenSSL based).
43
44 %description -l pl.UTF-8
45 Biblioteka XMLSec dostarcza implementację w C głównych standardów
46 bezpieczeństwa XML:
47  - XML Signature Syntax and Processing (składnia i przetwarzanie
48    sygnatur XML)
49    <http://www.w3.org/TR/xmldsig-core/>
50  - XML Encryption Syntax and Processing (składnia i przetwarzanie
51    szyfrowania XML).
52 XMLSec jest oparta na dobrze znanych bibliotekach LibXML
53 <http://xmlsoft.org/>, LibXSLT <http://xmlsoft.org/XSLT/> oraz OpenSSL
54 <http://www.openssl.org/>.
55
56 Ten pakiet zawiera główną bibliotekę, zawierającą implementację
57 wszystkich silników oraz obsługę wszystkich przekształceń
58 niekryptograficznych (analizator XML, przekształcenia c14n,
59 przekształcenia XPath i XSLT...). Przekształcenia kryptograficzne,
60 dane kluczy oraz metody przechowywania kluczy można znaleźć w jednej
61 z wydzielonych bibliotek XML Security Crypto (opartych na GnuTLS,
62 NSS lub OpenSSL).
63
64 %package devel
65 Summary:        Header files for XMLSec library
66 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki XMLSec
67 Group:          Development/Libraries
68 Requires:       %{name} = %{version}-%{release}
69 Requires:       libxml2-devel >= 1:2.7.4
70 Requires:       libxslt-devel >= 1.0.20
71
72 %description devel
73 Header files for XMLSec library.
74
75 %description devel -l pl.UTF-8
76 Pliki nagłówkowe biblioteki XMLSec.
77
78 %package static
79 Summary:        Static XMLSec library
80 Summary(pl.UTF-8):      Statyczna biblioteka XMLSec
81 Group:          Development/Libraries
82 Requires:       %{name}-devel = %{version}-%{release}
83
84 %description static
85 Static XMLSec library.
86
87 %description static -l pl.UTF-8
88 Statyczna biblioteka XMLSec.
89
90 %package apidocs
91 Summary:        XMLSec library API documentation
92 Summary(pl.UTF-8):      Dokumentacja API biblioteki XMLSec
93 Group:          Documentation
94 Requires:       gtk-doc-common
95
96 %description apidocs
97 XMLSec library API documentation.
98
99 %description apidocs -l pl.UTF-8
100 Dokumentacja API biblioteki XMLSec.
101
102 %package gnutls
103 Summary:        GnuTLS Crypto library for XML Security Library
104 Summary(pl.UTF-8):      Biblioteka kryptograficzna GnuTLS dla biblioteki XMLSec
105 Group:          Libraries
106 Requires:       %{name} = %{version}-%{release}
107 Requires:       gnutls >= 1.0.0
108
109 %description gnutls
110 GnuTLS Crypto library for XML Security Library provides GnuTLS based
111 crypto services for the XMLSec library.
112
113 %description gnutls -l pl.UTF-8
114 Biblioteka kryptograficzna GnuTLS dla biblioteki XMLSec dostarcza
115 usługi kryptograficzne oparte na bibliotece GnuTLS.
116
117 %package gnutls-devel
118 Summary:        Header files for XMLSec GnuTLS API
119 Summary(pl.UTF-8):      Pliki nagłówkowe API GnuTLS XMLSec
120 Group:          Development/Libraries
121 Requires:       %{name}-devel = %{version}-%{release}
122 Requires:       %{name}-gnutls = %{version}-%{release}
123 Requires:       gnutls-devel >= 1.0.0
124
125 %description gnutls-devel
126 Header files for developing XML Security applications with GnuTLS.
127
128 %description gnutls-devel -l pl.UTF-8
129 Pliki nagłówkowe do tworzenia aplikacji związanych z bezpieczeństwem
130 XML przy użyciu GnuTLS.
131
132 %package gnutls-static
133 Summary:        Static GnuTLS Crypto library for XML Security Library
134 Summary(pl.UTF-8):      Statyczna biblioteka kryptograficzna GnuTLS dla biblioteki XMLSec
135 Group:          Development/Libraries
136 Requires:       %{name}-gnutls-devel = %{version}-%{release}
137
138 %description gnutls-static
139 Static GnuTLS Crypto library for XML Security Library.
140
141 %description gnutls-static -l pl.UTF-8
142 Statyczna biblioteka kryptograficzna GnuTLS dla biblioteki XMLSec.
143
144 %package nss
145 Summary:        NSS Crypto library for XML Security Library
146 Summary(pl.UTF-8):      Biblioteka kryptograficzna NSS dla biblioteki XMLSec
147 Group:          Libraries
148 Requires:       %{name} = %{version}-%{release}
149 Requires:       nspr >= 4.0
150 Requires:       nss >= 3.2
151
152 %description nss
153 NSS Crypto library for XML Security Library provides NSS based crypto
154 services for the XMLSec library.
155
156 %description nss -l pl.UTF-8
157 Biblioteka kryptograficzna NSS dla biblioteki XMLSec dostarcza usługi
158 kryptograficzne oparte na bibliotece NSS.
159
160 %package nss-devel
161 Summary:        Header files for XMLSec NSS API
162 Summary(pl.UTF-8):      Pliki nagłówkowe API NSS XMLSec
163 Group:          Development/Libraries
164 Requires:       %{name}-devel = %{version}-%{release}
165 Requires:       %{name}-nss = %{version}-%{release}
166 Requires:       nspr-devel >= 4.0
167 Requires:       nss-devel >= 3.2
168
169 %description nss-devel
170 Header files for developing XML Security applications with NSS.
171
172 %description nss-devel -l pl.UTF-8
173 Pliki nagłówkowe do tworzenia aplikacji związanych z bezpieczeństwem
174 XML przy użyciu NSS.
175
176 %package nss-static
177 Summary:        Static NSS Crypto library for XML Security Library
178 Summary(pl.UTF-8):      Statyczna biblioteka kryptograficzna NSS dla biblioteki XMLSec
179 Group:          Development/Libraries
180 Requires:       %{name}-nss-devel = %{version}-%{release}
181
182 %description nss-static
183 Static NSS Crypto library for XML Security Library.
184
185 %description nss-static -l pl.UTF-8
186 Statyczna biblioteka kryptograficzna NSS dla biblioteki XMLSec.
187
188 %package openssl
189 Summary:        OpenSSL Crypto library for XML Security Library
190 Summary(pl.UTF-8):      Biblioteka kryptograficzna OpenSSL dla biblioteki XMLSec
191 Group:          Libraries
192 Requires:       %{name} = %{version}-%{release}
193 Requires:       openssl >= 0.9.7
194
195 %description openssl
196 OpenSSL Crypto library for XML Security Library provides OpenSSL based
197 crypto services for the XMLSec library.
198
199 %description openssl -l pl.UTF-8
200 Biblioteka kryptograficzna OpenSSL dla biblioteki XMLSec dostarcza
201 usługi kryptograficzne oparte na bibliotece OpenSSL.
202
203 %package openssl-devel
204 Summary:        Header files for XMLSec OpenSSL API
205 Summary(pl.UTF-8):      Pliki nagłówkowe API OpenSSL XMLSec
206 Group:          Development/Libraries
207 Requires:       %{name}-devel = %{version}-%{release}
208 Requires:       %{name}-openssl = %{version}-%{release}
209 Requires:       openssl-devel >= 0.9.7
210
211 %description openssl-devel
212 Header files for developing XML Security applications with OpenSSL.
213
214 %description openssl-devel -l pl.UTF-8
215 Pliki nagłówkowe do tworzenia aplikacji związanych z bezpieczeństwem
216 XML przy użyciu OpenSSL.
217
218 %package openssl-static
219 Summary:        Static OpenSSL Crypto library for XML Security Library
220 Summary(pl.UTF-8):      Statyczna biblioteka kryptograficzna OpenSSL dla biblioteki XMLSec
221 Group:          Development/Libraries
222 Requires:       %{name}-nss-devel = %{version}-%{release}
223
224 %description openssl-static
225 Static OpenSSL Crypto library for XML Security Library.
226
227 %description openssl-static -l pl.UTF-8
228 Statyczna biblioteka kryptograficzna OpenSSL dla biblioteki XMLSec.
229
230 %prep
231 %setup -q
232 %patch0 -p1
233
234 %build
235 %{__libtoolize}
236 %{__aclocal}
237 %{__autoconf}
238 %{__autoheader}
239 %{__automake}
240 %configure \
241         CPPFLAGS='%{rpmcppflags} -DLTDL_OBJDIR=\".libs\" -DLTDL_SHLIB_EXT=\".so\"' \
242         --with-html-dir=%{_gtkdocdir}/xmlsec1 \
243         --with-nspr=/usr \
244         --with-nss=/usr
245 %{__make}
246
247 %install
248 rm -rf $RPM_BUILD_ROOT
249
250 %{__make} install \
251         DESTDIR=$RPM_BUILD_ROOT
252
253 %clean
254 rm -rf $RPM_BUILD_ROOT
255
256 %post   -p /sbin/ldconfig
257 %postun -p /sbin/ldconfig
258
259 %post   gnutls -p /sbin/ldconfig
260 %postun gnutls -p /sbin/ldconfig
261
262 %post   nss -p /sbin/ldconfig
263 %postun nss -p /sbin/ldconfig
264
265 %post   openssl -p /sbin/ldconfig
266 %postun openssl -p /sbin/ldconfig
267
268 %files
269 %defattr(644,root,root,755)
270 %doc AUTHORS ChangeLog Copyright README TODO
271 %attr(755,root,root) %{_bindir}/xmlsec1
272 %attr(755,root,root) %{_libdir}/libxmlsec1.so.*.*.*
273 %attr(755,root,root) %ghost %{_libdir}/libxmlsec1.so.1
274 %{_mandir}/man1/xmlsec1.1*
275
276 %files devel
277 %defattr(644,root,root,755)
278 %doc HACKING
279 %attr(755,root,root) %{_bindir}/xmlsec1-config
280 %attr(755,root,root) %{_libdir}/libxmlsec1.so
281 %{_libdir}/libxmlsec1.la
282 %{_libdir}/xmlsec1Conf.sh
283 %dir %{_includedir}/xmlsec1
284 %dir %{_includedir}/xmlsec1/xmlsec
285 %{_includedir}/xmlsec1/xmlsec/*.h
286 %{_includedir}/xmlsec1/xmlsec/private
287 %{_pkgconfigdir}/xmlsec1.pc
288 %{_aclocaldir}/xmlsec1.m4
289 %{_mandir}/man1/xmlsec1-config.1*
290
291 %files static
292 %defattr(644,root,root,755)
293 %{_libdir}/libxmlsec1.a
294
295 %files apidocs
296 %defattr(644,root,root,755)
297 %{_gtkdocdir}/xmlsec1
298
299 %files gnutls
300 %defattr(644,root,root,755)
301 %attr(755,root,root) %{_libdir}/libxmlsec1-gnutls.so.*.*.*
302 %attr(755,root,root) %ghost %{_libdir}/libxmlsec1-gnutls.so.1
303 %attr(755,root,root) %{_libdir}/libxmlsec1-gnutls.so
304
305 %files gnutls-devel
306 %defattr(644,root,root,755)
307 %{_libdir}/libxmlsec1-gnutls.la
308 %{_includedir}/xmlsec1/xmlsec/gnutls
309 %{_pkgconfigdir}/xmlsec1-gnutls.pc
310
311 %files gnutls-static
312 %defattr(644,root,root,755)
313 %{_libdir}/libxmlsec1-gnutls.a
314
315 %files nss
316 %defattr(644,root,root,755)
317 %attr(755,root,root) %{_libdir}/libxmlsec1-nss.so.*.*.*
318 %attr(755,root,root) %ghost %{_libdir}/libxmlsec1-nss.so.1
319 %attr(755,root,root) %{_libdir}/libxmlsec1-nss.so
320
321 %files nss-devel
322 %defattr(644,root,root,755)
323 %{_libdir}/libxmlsec1-nss.la
324 %{_includedir}/xmlsec1/xmlsec/nss
325 %{_pkgconfigdir}/xmlsec1-nss.pc
326
327 %files nss-static
328 %defattr(644,root,root,755)
329 %{_libdir}/libxmlsec1-nss.a
330
331 %files openssl
332 %defattr(644,root,root,755)
333 %attr(755,root,root) %{_libdir}/libxmlsec1-openssl.so.*.*.*
334 %attr(755,root,root) %ghost %{_libdir}/libxmlsec1-openssl.so.1
335 %attr(755,root,root) %{_libdir}/libxmlsec1-openssl.so
336
337 %files openssl-devel
338 %defattr(644,root,root,755)
339 %{_libdir}/libxmlsec1-openssl.la
340 %{_includedir}/xmlsec1/xmlsec/openssl
341 %{_pkgconfigdir}/xmlsec1-openssl.pc
342
343 %files openssl-static
344 %defattr(644,root,root,755)
345 %{_libdir}/libxmlsec1-openssl.a
This page took 0.073638 seconds and 4 git commands to generate.