1 | Summary: Library providing support for "XML Signature" and "XML Encryption" standards |
---|
2 | Name: xmlsec1 |
---|
3 | Version: 1.2.20 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | License: MIT |
---|
6 | Group: System Environment/Libraries |
---|
7 | URL: http://www.aleksey.com/xmlsec/ |
---|
8 | Source: ftp://ftp.aleksey.com/pub/xmlsec/releases/xmlsec1-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildRequires: libxml2-devel >= 2.6.0 |
---|
12 | BuildRequires: libxslt-devel >= 1.1.0 |
---|
13 | BuildRequires: openssl-devel >= 0.9.6 |
---|
14 | BuildRequires: libgcrypt-devel >= 1.4.0 |
---|
15 | BuildRequires: gnutls-devel >= 1.0.20 |
---|
16 | BuildRequires: nss-devel >= 3.2 |
---|
17 | BuildRequires: nspr-devel |
---|
18 | BuildRequires: libtool-ltdl-devel |
---|
19 | # extra build deps needed for autoreconf after above patch |
---|
20 | BuildRequires: autoconf |
---|
21 | BuildRequires: automake |
---|
22 | BuildRequires: gettext-devel |
---|
23 | BuildRequires: libtool |
---|
24 | |
---|
25 | %description |
---|
26 | XML Security Library is a C library based on LibXML2 and OpenSSL. |
---|
27 | The library was created with a goal to support major XML security |
---|
28 | standards "XML Digital Signature" and "XML Encryption". |
---|
29 | |
---|
30 | %package devel |
---|
31 | Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support. |
---|
32 | Group: Development/Libraries |
---|
33 | Requires: xmlsec1 = %{version}-%{release} |
---|
34 | Requires: libxml2-devel >= 2.6.0 |
---|
35 | Requires: libxslt-devel >= 1.1.0 |
---|
36 | Requires: openssl-devel >= 0.9.6 |
---|
37 | Requires: zlib-devel |
---|
38 | Requires: pkgconfig |
---|
39 | |
---|
40 | %description devel |
---|
41 | Libraries, includes, etc. you can use to develop applications with XML Digital |
---|
42 | Signatures and XML Encryption support. |
---|
43 | |
---|
44 | %package openssl |
---|
45 | Summary: OpenSSL crypto plugin for XML Security Library |
---|
46 | Group: System Environment/Libraries |
---|
47 | Requires: xmlsec1 = %{version}-%{release} |
---|
48 | |
---|
49 | %description openssl |
---|
50 | OpenSSL plugin for XML Security Library provides OpenSSL based crypto services |
---|
51 | for the xmlsec library |
---|
52 | |
---|
53 | %package openssl-devel |
---|
54 | Summary: OpenSSL crypto plugin for XML Security Library |
---|
55 | Group: Development/Libraries |
---|
56 | Requires: xmlsec1-devel = %{version}-%{release} |
---|
57 | Requires: xmlsec1-openssl = %{version}-%{release} |
---|
58 | |
---|
59 | %description openssl-devel |
---|
60 | Libraries, includes, etc. for developing XML Security applications with OpenSSL |
---|
61 | |
---|
62 | %package gcrypt |
---|
63 | Summary: GCrypt crypto plugin for XML Security Library |
---|
64 | Group: System Environment/Libraries |
---|
65 | Requires: xmlsec1 = %{version}-%{release} |
---|
66 | |
---|
67 | %description gcrypt |
---|
68 | GCrypt plugin for XML Security Library provides GCrypt based crypto services |
---|
69 | for the xmlsec library. |
---|
70 | |
---|
71 | %package gcrypt-devel |
---|
72 | Summary: GCrypt crypto plugin for XML Security Library |
---|
73 | Group: Development/Libraries |
---|
74 | Requires: xmlsec1-devel = %{version}-%{release} |
---|
75 | Requires: xmlsec1-gnutls-devel = %{version}-%{release} |
---|
76 | |
---|
77 | %description gcrypt-devel |
---|
78 | Libraries, includes, etc. for developing XML Security applications with GCrypt. |
---|
79 | |
---|
80 | %package gnutls |
---|
81 | Summary: GNUTls crypto plugin for XML Security Library |
---|
82 | Group: System Environment/Libraries |
---|
83 | Requires: xmlsec1 = %{version}-%{release} |
---|
84 | |
---|
85 | %description gnutls |
---|
86 | GNUTls plugin for XML Security Library provides GNUTls based crypto services |
---|
87 | for the xmlsec library |
---|
88 | |
---|
89 | %package gnutls-devel |
---|
90 | Summary: GNUTls crypto plugin for XML Security Library |
---|
91 | Group: Development/Libraries |
---|
92 | Requires: xmlsec1 = %{version} |
---|
93 | Requires: xmlsec1-devel = %{version} |
---|
94 | Requires: xmlsec1-openssl = %{version} |
---|
95 | Requires: libgcrypt-devel >= 1.2.0 |
---|
96 | Requires: gnutls-devel >= 1.0.20 |
---|
97 | |
---|
98 | %description gnutls-devel |
---|
99 | Libraries, includes, etc. for developing XML Security applications with GNUTls |
---|
100 | |
---|
101 | %package nss |
---|
102 | Summary: NSS crypto plugin for XML Security Library |
---|
103 | Group: System Environment/Libraries |
---|
104 | Requires: xmlsec1 = %{version}-%{release} |
---|
105 | |
---|
106 | %description nss |
---|
107 | NSS plugin for XML Security Library provides NSS based crypto services |
---|
108 | for the xmlsec library |
---|
109 | |
---|
110 | %package nss-devel |
---|
111 | Summary: NSS crypto plugin for XML Security Library |
---|
112 | Group: Development/Libraries |
---|
113 | Requires: xmlsec1-devel = %{version}-%{release} |
---|
114 | Requires: xmlsec1-nss = %{version}-%{release} |
---|
115 | Requires: nss-devel >= 3.2 |
---|
116 | Requires: nspr-devel |
---|
117 | |
---|
118 | %description nss-devel |
---|
119 | Libraries, includes, etc. for developing XML Security applications with NSS |
---|
120 | |
---|
121 | %prep |
---|
122 | %setup -q |
---|
123 | |
---|
124 | %build |
---|
125 | autoreconf -if |
---|
126 | %configure --enable-silent-rules --disable-static |
---|
127 | |
---|
128 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
129 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
130 | make |
---|
131 | |
---|
132 | # positively ugly but only sane way to get around #192756 |
---|
133 | sed 's+/lib64+/$archlib+g' < xmlsec1-config | sed 's+/lib+/$archlib+g' | sed 's+ -DXMLSEC_NO_SIZE_T++' > xmlsec1-config.$$ && mv xmlsec1-config.$$ xmlsec1-config |
---|
134 | |
---|
135 | %install |
---|
136 | rm -rf $RPM_BUILD_ROOT |
---|
137 | mkdir -p $RPM_BUILD_ROOT/usr/bin |
---|
138 | mkdir -p $RPM_BUILD_ROOT/usr/include/xmlsec1 |
---|
139 | mkdir -p $RPM_BUILD_ROOT%{_libdir} |
---|
140 | mkdir -p $RPM_BUILD_ROOT/usr/man/man1 |
---|
141 | |
---|
142 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
143 | #make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install |
---|
144 | rm -fv $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
145 | #rm -fv $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
146 | |
---|
147 | rm -rf docs-to-install |
---|
148 | mkdir -p docs-to-install |
---|
149 | cp -pr $RPM_BUILD_ROOT%{_datadir}/doc/xmlsec1/* docs-to-install |
---|
150 | rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/xmlsec1 |
---|
151 | |
---|
152 | %clean |
---|
153 | rm -fr %{buildroot} |
---|
154 | |
---|
155 | %post -p /sbin/ldconfig |
---|
156 | |
---|
157 | %postun -p /sbin/ldconfig |
---|
158 | |
---|
159 | %post openssl -p /sbin/ldconfig |
---|
160 | |
---|
161 | %postun openssl -p /sbin/ldconfig |
---|
162 | |
---|
163 | %post gcrypt -p /sbin/ldconfig |
---|
164 | |
---|
165 | %postun gcrypt -p /sbin/ldconfig |
---|
166 | |
---|
167 | %post gnutls -p /sbin/ldconfig |
---|
168 | |
---|
169 | %postun gnutls -p /sbin/ldconfig |
---|
170 | |
---|
171 | %post nss -p /sbin/ldconfig |
---|
172 | |
---|
173 | %postun nss -p /sbin/ldconfig |
---|
174 | |
---|
175 | |
---|
176 | %files |
---|
177 | %defattr(-, root, root) |
---|
178 | %doc AUTHORS ChangeLog NEWS README Copyright |
---|
179 | %doc %{_mandir}/man1/xmlsec1.1* |
---|
180 | %{_libdir}/libxmlsec1.so.* |
---|
181 | %{_bindir}/xmlsec1 |
---|
182 | |
---|
183 | %files devel |
---|
184 | %defattr(-, root, root) |
---|
185 | %{_bindir}/xmlsec1-config |
---|
186 | %{_includedir}/xmlsec1/xmlsec/*.h |
---|
187 | %{_includedir}/xmlsec1/xmlsec/private/*.h |
---|
188 | %{_libdir}/libxmlsec1.so |
---|
189 | %{_libdir}/pkgconfig/xmlsec1.pc |
---|
190 | %{_libdir}/xmlsec1Conf.sh |
---|
191 | %{_datadir}/aclocal/*.m4 |
---|
192 | %doc AUTHORS HACKING ChangeLog NEWS README Copyright |
---|
193 | %doc docs-to-install/* |
---|
194 | %doc %{_mandir}/man1/xmlsec1-config.1* |
---|
195 | |
---|
196 | %files openssl |
---|
197 | %defattr(-, root, root) |
---|
198 | %{_libdir}/libxmlsec1-openssl.so |
---|
199 | %{_libdir}/libxmlsec1-openssl.so.* |
---|
200 | |
---|
201 | %files openssl-devel |
---|
202 | %defattr(-, root, root) |
---|
203 | %{_includedir}/xmlsec1/xmlsec/openssl/*.h |
---|
204 | %{_libdir}/pkgconfig/xmlsec1-openssl.pc |
---|
205 | |
---|
206 | %files gcrypt |
---|
207 | %defattr(-, root, root, -) |
---|
208 | %{_libdir}/libxmlsec1-gcrypt.so |
---|
209 | %{_libdir}/libxmlsec1-gcrypt.so.* |
---|
210 | |
---|
211 | %files gcrypt-devel |
---|
212 | %defattr(-, root, root, -) |
---|
213 | %{_includedir}/xmlsec1/xmlsec/gcrypt/ |
---|
214 | %{_libdir}/pkgconfig/xmlsec1-gcrypt.pc |
---|
215 | |
---|
216 | %files gnutls |
---|
217 | %defattr(-, root, root) |
---|
218 | %{_libdir}/libxmlsec1-gnutls.so |
---|
219 | %{_libdir}/libxmlsec1-gnutls.so.* |
---|
220 | |
---|
221 | %files gnutls-devel |
---|
222 | %defattr(-, root, root) |
---|
223 | %{_includedir}/xmlsec1/xmlsec/gnutls/*.h |
---|
224 | %{_libdir}/pkgconfig/xmlsec1-gnutls.pc |
---|
225 | |
---|
226 | %files nss |
---|
227 | %defattr(-, root, root) |
---|
228 | %{_libdir}/libxmlsec1-nss.so |
---|
229 | %{_libdir}/libxmlsec1-nss.so.* |
---|
230 | |
---|
231 | %files nss-devel |
---|
232 | %defattr(-, root, root) |
---|
233 | %{_includedir}/xmlsec1/xmlsec/nss/*.h |
---|
234 | %{_libdir}/pkgconfig/xmlsec1-nss.pc |
---|
235 | |
---|
236 | %changelog |
---|
237 | * Fri Jul 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.20-2 |
---|
238 | - fixed %%files. |
---|
239 | |
---|
240 | * Sat Nov 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2.20-1 |
---|
241 | - new upstream release |
---|
242 | - moved gcrypt to System Environment/Libraries Group |
---|
243 | |
---|
244 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.16-1 |
---|
245 | - new upstream release |
---|
246 | - add BuildRequires: libtool-ltdl-devel |
---|
247 | - add -gcrypt,-gcrypt-devel package |
---|
248 | |
---|
249 | * Fri Jul 24 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.12-1 |
---|
250 | - new upstream release with security fix (CVE-2009-0217) |
---|
251 | - remove *.a files |
---|
252 | |
---|
253 | * Sat Jan 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.11-2 |
---|
254 | - rebuilt with gnutls-2.6.3 |
---|
255 | |
---|
256 | * Wed Jul 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-1 |
---|
257 | - new upstream release |
---|
258 | |
---|
259 | * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.9-0vl1 |
---|
260 | - initial build for Vine Linux |
---|
261 | |
---|
262 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-8.1 |
---|
263 | - rebuild |
---|
264 | |
---|
265 | * Wed Jun 14 2006 Tomas Mraz <tmraz@redhat.com> - 1.2.9-8 |
---|
266 | - rebuilt with new gnutls |
---|
267 | |
---|
268 | * Thu Jun 8 2006 Daniel Veillard <veillard@redhat.com> - 1.2.9-7 |
---|
269 | - oops libxmlsec1.la was still there, should fix #171410 and #154142 |
---|
270 | |
---|
271 | * Thu Jun 8 2006 Daniel Veillard <veillard@redhat.com> - 1.2.9-6 |
---|
272 | - Ugly patch and sed based changes to work around #192756 xmlsec1-config |
---|
273 | multilib problem |
---|
274 | |
---|
275 | * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.9-5 |
---|
276 | - move .so symlinks to -devel subpackage |
---|
277 | |
---|
278 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.2 |
---|
279 | - bump again for double-long bug on ppc(64) |
---|
280 | |
---|
281 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-4.1 |
---|
282 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
283 | |
---|
284 | * Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 1.2.9-4 |
---|
285 | - NSS has been split out of the mozilla package, so require that now |
---|
286 | and update separate_nspr.patch to account for the new NSS as well |
---|
287 | |
---|
288 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
289 | - rebuilt |
---|
290 | |
---|
291 | * Wed Nov 23 2005 Tomas Mraz <tmraz@redhat.com> 1.2.9-3 |
---|
292 | - rebuilt due to gnutls library revision |
---|
293 | * Wed Nov 9 2005 <veillard@redhat.com> 1.2.9-2 |
---|
294 | - rebuilt due to openssl library revision |
---|
295 | * Tue Sep 20 2005 <veillard@redhat.com> 1.2.9-1 |
---|
296 | - update from upstream, release done in July |
---|
297 | - apparently nss is now available on ppc64 |
---|
298 | * Mon Aug 8 2005 <veillard@redhat.com> 1.2.8-3 |
---|
299 | - rebuilt with new gnutls |
---|
300 | - nspr has been split to a separate package |
---|
301 | * Fri Jul 8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-2 |
---|
302 | - Enabling the mozilla-nss crypto backend |
---|
303 | * Fri Jul 8 2005 Daniel Veillard <veillard@redhat.com> 1.2.8-1 |
---|
304 | - update from upstream, needed for openoffice |
---|
305 | * Tue Mar 8 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-4 |
---|
306 | - rebuilt with gcc4 |
---|
307 | * Wed Feb 23 2005 Daniel Veillard <veillard@redhat.com> 1.2.7-1 |
---|
308 | - Upstream release of 1.2.7, mostly bug fixes plus new functions |
---|
309 | to GetKeys from simple store and X509 handling. |
---|
310 | * Wed Feb 9 2005 Daniel Veillard <veillard@redhat.com> 1.2.6-4 |
---|
311 | - Adding support for GNUTls crypto backend |
---|
312 | * Wed Sep 1 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-3 |
---|
313 | - adding missing ldconfig calls |
---|
314 | * Thu Aug 26 2004 Daniel Veillard <veillard@redhat.com> 1.2.6-2 |
---|
315 | - updated with upstream release from Aleksey |
---|
316 | * Mon Jun 21 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-2 |
---|
317 | - rebuilt |
---|
318 | * Mon Apr 19 2004 Daniel Veillard <veillard@redhat.com> 1.2.5-1 |
---|
319 | - updated with upstream release from Aleksey |
---|
320 | * Wed Feb 11 2004 Daniel Veillard <veillard@redhat.com> 1.2.4-1 |
---|
321 | - updated with upstream release from Aleksey |
---|
322 | * Tue Jan 6 2004 Daniel Veillard <veillard@redhat.com> 1.2.3-1 |
---|
323 | - updated with upstream release from Aleksey |
---|
324 | * Wed Nov 12 2003 Daniel Veillard <veillard@redhat.com> 1.2.2-1 |
---|
325 | - updated with upstream release from Aleksey, specific patches should |
---|
326 | have been integrated now. |
---|
327 | * Thu Nov 6 2003 Daniel Veillard <veillard@redhat.com> 1.2.1-1 |
---|
328 | - initial packaging based on the upstream one and libxml2 one. |
---|
329 | - desactivated mozilla-nss due to detection/architecture problems |
---|