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