1 Summary: XML Security Library
2 Summary(pl.UTF-8): Biblioteka bezpieczeństwa XML
8 Source0: http://www.aleksey.com/xmlsec/download/%{name}-%{version}.tar.gz
9 # Source0-md5: 5652d44eec1375a399a6c61f5f6091f1
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.6.12
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.6.12
23 Requires: libxslt >= 1.0.20
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 XMLSec library provides C based implementation for major XML Security
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/)
37 %description -l pl.UTF-8
38 Biblioteka XMLSec dostarcza implementację w C głównych standardów
40 - XML Signature Syntax and Processing (składnia i przetwarzanie
42 http://www.w3.org/TR/xmldsig-core/
43 - XML Encryption Syntax and Processing (składnia i przetwarzanie
45 XMLSec jest oparta na dobrze znanych bibliotekach LibXML
46 (http://xmlsoft.org/), LibXSLT (http://xmlsoft.org/XSLT/) oraz OpenSSL
47 (http://www.openssl.org/).
50 Summary: Header files for XMLSec library
51 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki XMLSec
52 Group: Development/Libraries
53 Requires: %{name} = %{version}-%{release}
54 Requires: libxml2-devel >= 1:2.6.12
55 Requires: libxslt-devel >= 1.0.20
58 Header files for XMLSec library.
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe biblioteki XMLSec.
64 Summary: Static XMLSec library
65 Summary(pl.UTF-8): Statyczna biblioteka XMLSec
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
70 Static XMLSec library.
72 %description static -l pl.UTF-8
73 Statyczna biblioteka XMLSec.
76 Summary: XMLSec library API documentation
77 Summary(pl.UTF-8): Dokumentacja API biblioteki XMLSec
79 Requires: gtk-doc-common
82 XMLSec library API documentation.
84 %description apidocs -l pl.UTF-8
85 Dokumentacja API biblioteki XMLSec.
88 Summary: GnuTLS crypto plugin for XML Security Library
89 Summary(pl.UTF-8): Wtyczka kryptograficzna GnuTLS dla biblioteki XMLSec
91 Requires: %{name} = %{version}-%{release}
92 Requires: gnutls >= 1.0.0
95 GnuTLS plugin for XML Security Library provides GnuTLS based crypto
96 services for the XMLSec library.
98 %description gnutls -l pl.UTF-8
99 Wtyczka GnuTLS dla biblioteki XMLSec dostarcza usługi kryptograficzne
100 oparte na bibliotece GnuTLS.
102 %package gnutls-devel
103 Summary: Header files for XMLSec GnuTLS API
104 Summary(pl.UTF-8): Pliki nagłówkowe API GnuTLS XMLSec
105 Group: Development/Libraries
106 Requires: %{name}-devel = %{version}-%{release}
107 Requires: %{name}-gnutls = %{version}-%{release}
108 Requires: gnutls-devel >= 1.0.0
110 %description gnutls-devel
111 Header files for developing XML Security applications with GnuTLS.
113 %description gnutls-devel -l pl.UTF-8
114 Pliki nagłówkowe do tworzenia aplikacji związanych z bezpieczeństwem
115 XML przy użyciu GnuTLS.
118 Summary: NSS crypto plugin for XML Security Library
119 Summary(pl.UTF-8): Wtyczka kryptograficzna NSS dla biblioteki XMLSec
121 Requires: %{name} = %{version}-%{release}
122 Requires: nspr >= 4.0
126 NSS plugin for XML Security Library provides NSS based crypto services
127 for the XMLSec library.
129 %description nss -l pl.UTF-8
130 Wtyczka NSS dla biblioteki XMLSec dostarcza usługi kryptograficzne
131 oparte na bibliotece NSS.
134 Summary: Header files for XMLSec NSS API
135 Summary(pl.UTF-8): Pliki nagłówkowe API NSS XMLSec
136 Group: Development/Libraries
137 Requires: %{name}-devel = %{version}-%{release}
138 Requires: %{name}-nss = %{version}-%{release}
139 Requires: nspr-devel >= 4.0
140 Requires: nss-devel >= 3.2
142 %description nss-devel
143 Header files for developing XML Security applications with NSS.
145 %description nss-devel -l pl.UTF-8
146 Pliki nagłówkowe do tworzenia aplikacji związanych z bezpieczeństwem
150 Summary: OpenSSL crypto plugin for XML Security Library
151 Summary(pl.UTF-8): Wtyczka kryptograficzna OpenSSL dla biblioteki XMLSec
153 Requires: %{name} = %{version}-%{release}
154 Requires: openssl >= 0.9.7
157 OpenSSL plugin for XML Security Library provides OpenSSL based crypto
158 services for the XMLSec library.
160 %description openssl -l pl.UTF-8
161 Wtyczka OpenSSL dla biblioteki XMLSec dostarcza usługi
162 kryptograficzne oparte na bibliotece OpenSSL.
164 %package openssl-devel
165 Summary: Header files for XMLSec OpenSSL API
166 Summary(pl.UTF-8): Pliki nagłówkowe API OpenSSL XMLSec
167 Group: Development/Libraries
168 Requires: %{name}-devel = %{version}-%{release}
169 Requires: %{name}-openssl = %{version}-%{release}
170 Requires: openssl-devel >= 0.9.7
172 %description openssl-devel
173 Header files for developing XML Security applications with OpenSSL.
175 %description openssl-devel -l pl.UTF-8
176 Pliki nagłówkowe do tworzenia aplikacji związanych z bezpieczeństwem
177 XML przy użyciu OpenSSL.
183 # workaround for variable name (really not macro)
184 echo 'm4_pattern_allow(PKG_CONFIG_ENABLED)' > acinclude.m4
193 --with-html-dir=%{_gtkdocdir}/xmlsec1 \
199 rm -rf $RPM_BUILD_ROOT
202 DESTDIR=$RPM_BUILD_ROOT
205 rm -rf $RPM_BUILD_ROOT
207 %post -p /sbin/ldconfig
208 %postun -p /sbin/ldconfig
210 %post gnutls -p /sbin/ldconfig
211 %postun gnutls -p /sbin/ldconfig
213 %post nss -p /sbin/ldconfig
214 %postun nss -p /sbin/ldconfig
216 %post openssl -p /sbin/ldconfig
217 %postun openssl -p /sbin/ldconfig
220 %defattr(644,root,root,755)
221 %doc AUTHORS ChangeLog Copyright README TODO
222 %attr(755,root,root) %{_bindir}/xmlsec1
223 %attr(755,root,root) %{_libdir}/libxmlsec1.so.*.*.*
224 %attr(755,root,root) %ghost %{_libdir}/libxmlsec1.so.1
225 %{_mandir}/man1/xmlsec1.1*
228 %defattr(644,root,root,755)
230 %attr(755,root,root) %{_bindir}/xmlsec1-config
231 %attr(755,root,root) %{_libdir}/libxmlsec1.so
232 %{_libdir}/libxmlsec1.la
233 %{_libdir}/xmlsec1Conf.sh
234 %dir %{_includedir}/xmlsec1
235 %dir %{_includedir}/xmlsec1/xmlsec
236 %{_includedir}/xmlsec1/xmlsec/*.h
237 %{_includedir}/xmlsec1/xmlsec/private
238 %{_pkgconfigdir}/xmlsec1.pc
239 %{_aclocaldir}/xmlsec1.m4
240 %{_mandir}/man1/xmlsec1-config.1*
243 %defattr(644,root,root,755)
244 %{_libdir}/libxmlsec1.a
247 %defattr(644,root,root,755)
248 %{_gtkdocdir}/xmlsec1
251 %defattr(644,root,root,755)
252 %attr(755,root,root) %{_libdir}/libxmlsec1-gnutls.so.*.*.*
253 %attr(755,root,root) %ghost %{_libdir}/libxmlsec1-gnutls.so.1
254 %attr(755,root,root) %{_libdir}/libxmlsec1-gnutls.so
257 %defattr(644,root,root,755)
258 %{_libdir}/libxmlsec1-gnutls.la
259 %{_includedir}/xmlsec1/xmlsec/gnutls
260 %{_pkgconfigdir}/xmlsec1-gnutls.pc
262 #%{_libdir}/libxmlsec1-gnutls.a
265 %defattr(644,root,root,755)
266 %attr(755,root,root) %{_libdir}/libxmlsec1-nss.so.*.*.*
267 %attr(755,root,root) %ghost %{_libdir}/libxmlsec1-nss.so.1
268 %attr(755,root,root) %{_libdir}/libxmlsec1-nss.so
271 %defattr(644,root,root,755)
272 %{_libdir}/libxmlsec1-nss.la
273 %{_includedir}/xmlsec1/xmlsec/nss
274 %{_pkgconfigdir}/xmlsec1-nss.pc
276 #%{_libdir}/libxmlsec1-nss.a
279 %defattr(644,root,root,755)
280 %attr(755,root,root) %{_libdir}/libxmlsec1-openssl.so.*.*.*
281 %attr(755,root,root) %ghost %{_libdir}/libxmlsec1-openssl.so.1
282 %attr(755,root,root) %{_libdir}/libxmlsec1-openssl.so
285 %defattr(644,root,root,755)
286 %{_libdir}/libxmlsec1-openssl.la
287 %{_includedir}/xmlsec1/xmlsec/openssl
288 %{_pkgconfigdir}/xmlsec1-openssl.pc
290 #%{_libdir}/libxmlsec1-openssl.a