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