]>
Commit | Line | Data |
---|---|---|
667fc943 | 1 | Summary: XML Security Library |
3710761f | 2 | Summary(pl.UTF-8): Biblioteka bezpieczeństwa XML |
667fc943 | 3 | Name: xmlsec1 |
7c6903ae | 4 | Version: 1.2.14 |
2edf2798 | 5 | Release: 3 |
667fc943 JB |
6 | License: MIT |
7 | Group: Libraries | |
8 | Source0: http://www.aleksey.com/xmlsec/download/%{name}-%{version}.tar.gz | |
7c6903ae | 9 | # Source0-md5: 1f24ab1d39f4a51faf22244c94a6203f |
667fc943 JB |
10 | Patch0: %{name}-nss.patch |
11 | URL: http://www.aleksey.com/xmlsec/ | |
12 | BuildRequires: autoconf >= 2.2 | |
13 | BuildRequires: automake | |
2d675b4f | 14 | BuildRequires: gnutls-devel >= 1.2.5 |
667fc943 | 15 | BuildRequires: libtool |
5db44fb5 | 16 | BuildRequires: libxml2-devel >= 1:2.7.4 |
667fc943 JB |
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 | |
5db44fb5 | 22 | Requires: libxml2 >= 1:2.7.4 |
667fc943 JB |
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 | |
1d60267a | 30 | <http://www.w3.org/TR/xmldsig-core/> |
667fc943 | 31 | - XML Encryption Syntax and Processing |
1d60267a ER |
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/> | |
667fc943 JB |
35 | libraries. |
36 | ||
2cc6845e JB |
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 | ||
4bb531dd JR |
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 | |
667fc943 | 48 | sygnatur XML) |
1d60267a | 49 | <http://www.w3.org/TR/xmldsig-core/> |
4bb531dd | 50 | - XML Encryption Syntax and Processing (składnia i przetwarzanie |
1767a31e JB |
51 | szyfrowania XML). |
52 | XMLSec jest oparta na dobrze znanych bibliotekach LibXML | |
1d60267a ER |
53 | <http://xmlsoft.org/>, LibXSLT <http://xmlsoft.org/XSLT/> oraz OpenSSL |
54 | <http://www.openssl.org/>. | |
667fc943 | 55 | |
2cc6845e JB |
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 | ||
667fc943 JB |
64 | %package devel |
65 | Summary: Header files for XMLSec library | |
3710761f | 66 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki XMLSec |
667fc943 JB |
67 | Group: Development/Libraries |
68 | Requires: %{name} = %{version}-%{release} | |
5db44fb5 | 69 | Requires: libxml2-devel >= 1:2.7.4 |
667fc943 JB |
70 | Requires: libxslt-devel >= 1.0.20 |
71 | ||
72 | %description devel | |
73 | Header files for XMLSec library. | |
74 | ||
4bb531dd JR |
75 | %description devel -l pl.UTF-8 |
76 | Pliki nagłówkowe biblioteki XMLSec. | |
667fc943 JB |
77 | |
78 | %package static | |
79 | Summary: Static XMLSec library | |
3710761f | 80 | Summary(pl.UTF-8): Statyczna biblioteka XMLSec |
667fc943 JB |
81 | Group: Development/Libraries |
82 | Requires: %{name}-devel = %{version}-%{release} | |
83 | ||
84 | %description static | |
85 | Static XMLSec library. | |
86 | ||
4bb531dd | 87 | %description static -l pl.UTF-8 |
667fc943 JB |
88 | Statyczna biblioteka XMLSec. |
89 | ||
46853c09 MB |
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 | ||
667fc943 | 102 | %package gnutls |
2cc6845e JB |
103 | Summary: GnuTLS Crypto library for XML Security Library |
104 | Summary(pl.UTF-8): Biblioteka kryptograficzna GnuTLS dla biblioteki XMLSec | |
667fc943 JB |
105 | Group: Libraries |
106 | Requires: %{name} = %{version}-%{release} | |
107 | Requires: gnutls >= 1.0.0 | |
108 | ||
109 | %description gnutls | |
2cc6845e JB |
110 | GnuTLS Crypto library for XML Security Library provides GnuTLS based |
111 | crypto services for the XMLSec library. | |
667fc943 | 112 | |
4bb531dd | 113 | %description gnutls -l pl.UTF-8 |
2cc6845e JB |
114 | Biblioteka kryptograficzna GnuTLS dla biblioteki XMLSec dostarcza |
115 | usługi kryptograficzne oparte na bibliotece GnuTLS. | |
667fc943 JB |
116 | |
117 | %package gnutls-devel | |
118 | Summary: Header files for XMLSec GnuTLS API | |
3710761f | 119 | Summary(pl.UTF-8): Pliki nagłówkowe API GnuTLS XMLSec |
667fc943 JB |
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 | ||
4bb531dd JR |
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. | |
667fc943 | 131 | |
2cc6845e JB |
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 | ||
667fc943 | 144 | %package nss |
2cc6845e JB |
145 | Summary: NSS Crypto library for XML Security Library |
146 | Summary(pl.UTF-8): Biblioteka kryptograficzna NSS dla biblioteki XMLSec | |
667fc943 JB |
147 | Group: Libraries |
148 | Requires: %{name} = %{version}-%{release} | |
149 | Requires: nspr >= 4.0 | |
150 | Requires: nss >= 3.2 | |
151 | ||
152 | %description nss | |
2cc6845e JB |
153 | NSS Crypto library for XML Security Library provides NSS based crypto |
154 | services for the XMLSec library. | |
667fc943 | 155 | |
4bb531dd | 156 | %description nss -l pl.UTF-8 |
2cc6845e JB |
157 | Biblioteka kryptograficzna NSS dla biblioteki XMLSec dostarcza usługi |
158 | kryptograficzne oparte na bibliotece NSS. | |
667fc943 JB |
159 | |
160 | %package nss-devel | |
161 | Summary: Header files for XMLSec NSS API | |
3710761f | 162 | Summary(pl.UTF-8): Pliki nagłówkowe API NSS XMLSec |
667fc943 JB |
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 | ||
4bb531dd JR |
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. | |
667fc943 | 175 | |
2cc6845e JB |
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 | ||
667fc943 | 188 | %package openssl |
2cc6845e JB |
189 | Summary: OpenSSL Crypto library for XML Security Library |
190 | Summary(pl.UTF-8): Biblioteka kryptograficzna OpenSSL dla biblioteki XMLSec | |
667fc943 JB |
191 | Group: Libraries |
192 | Requires: %{name} = %{version}-%{release} | |
193 | Requires: openssl >= 0.9.7 | |
194 | ||
195 | %description openssl | |
2cc6845e JB |
196 | OpenSSL Crypto library for XML Security Library provides OpenSSL based |
197 | crypto services for the XMLSec library. | |
667fc943 | 198 | |
4bb531dd | 199 | %description openssl -l pl.UTF-8 |
2cc6845e JB |
200 | Biblioteka kryptograficzna OpenSSL dla biblioteki XMLSec dostarcza |
201 | usługi kryptograficzne oparte na bibliotece OpenSSL. | |
667fc943 JB |
202 | |
203 | %package openssl-devel | |
204 | Summary: Header files for XMLSec OpenSSL API | |
3710761f | 205 | Summary(pl.UTF-8): Pliki nagłówkowe API OpenSSL XMLSec |
667fc943 JB |
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 | ||
4bb531dd JR |
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. | |
667fc943 | 217 | |
2cc6845e JB |
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 | ||
667fc943 JB |
230 | %prep |
231 | %setup -q | |
232 | %patch0 -p1 | |
233 | ||
234 | %build | |
235 | %{__libtoolize} | |
236 | %{__aclocal} | |
237 | %{__autoconf} | |
238 | %{__autoheader} | |
239 | %{__automake} | |
240 | %configure \ | |
6406dd2d | 241 | CPPFLAGS='%{rpmcppflags} -DLTDL_OBJDIR=\".libs\" -DLTDL_SHLIB_EXT=\".so\"' \ |
667fc943 JB |
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 | ||
4c06fa76 JB |
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 | ||
667fc943 JB |
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.*.*.* | |
b6921784 | 273 | %attr(755,root,root) %ghost %{_libdir}/libxmlsec1.so.1 |
667fc943 JB |
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 | |
b6921784 | 288 | %{_aclocaldir}/xmlsec1.m4 |
667fc943 | 289 | %{_mandir}/man1/xmlsec1-config.1* |
667fc943 JB |
290 | |
291 | %files static | |
292 | %defattr(644,root,root,755) | |
293 | %{_libdir}/libxmlsec1.a | |
294 | ||
46853c09 MB |
295 | %files apidocs |
296 | %defattr(644,root,root,755) | |
297 | %{_gtkdocdir}/xmlsec1 | |
298 | ||
667fc943 JB |
299 | %files gnutls |
300 | %defattr(644,root,root,755) | |
301 | %attr(755,root,root) %{_libdir}/libxmlsec1-gnutls.so.*.*.* | |
b6921784 | 302 | %attr(755,root,root) %ghost %{_libdir}/libxmlsec1-gnutls.so.1 |
667fc943 JB |
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 | |
2cc6845e JB |
310 | |
311 | %files gnutls-static | |
312 | %defattr(644,root,root,755) | |
313 | %{_libdir}/libxmlsec1-gnutls.a | |
667fc943 JB |
314 | |
315 | %files nss | |
316 | %defattr(644,root,root,755) | |
317 | %attr(755,root,root) %{_libdir}/libxmlsec1-nss.so.*.*.* | |
b6921784 | 318 | %attr(755,root,root) %ghost %{_libdir}/libxmlsec1-nss.so.1 |
667fc943 JB |
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 | |
2cc6845e JB |
326 | |
327 | %files nss-static | |
328 | %defattr(644,root,root,755) | |
329 | %{_libdir}/libxmlsec1-nss.a | |
667fc943 JB |
330 | |
331 | %files openssl | |
332 | %defattr(644,root,root,755) | |
333 | %attr(755,root,root) %{_libdir}/libxmlsec1-openssl.so.*.*.* | |
b6921784 | 334 | %attr(755,root,root) %ghost %{_libdir}/libxmlsec1-openssl.so.1 |
667fc943 JB |
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 | |
2cc6845e JB |
342 | |
343 | %files openssl-static | |
344 | %defattr(644,root,root,755) | |
345 | %{_libdir}/libxmlsec1-openssl.a |