source: projects/specs/branches/6/x/xmlsec1/xmlsec1-vl.spec @ 2603

Revision 2603, 10.7 KB checked in by Takemikaduchi, 13 years ago (diff)

stone,tcpdump: rebuild with openssl-1.0.0c, xmlsec1: new upstream release

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