source: projects/specs/tags/6_0_REL/lib/libx/libxml2/libxml2-vl.spec @ 4082

Revision 4082, 16.6 KB checked in by Takemikaduchi, 13 years ago (diff)

chkconfig,libcap: fix BR, libxml2: fix debian security announce DSA-2255, wireshark: new upstream release

Line 
1Summary: Library providing XML and HTML support
2Summary(ja): XML や HTML サポートを提供するライブラリ
3Name: libxml2
4Version: 2.7.8
5Release: 2%{_dist_release}
6License: MIT
7Group: System Environment/Libraries
8Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
9
10Patch0: libxml2-multilib.patch
11Patch1: libxml2-2.7.8-reactivate-versionning-script.patch
12Patch10: libxml2-2.7.8-CVE-2010-4494.patch
13Patch11: libxml2-2.7.8-xpath.patch
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: python
17BuildRequires: python-devel
18BuildRequires: zlib-devel
19BuildRequires: pkgconfig
20
21URL: http://xmlsoft.org/
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
27
28%description
29This library allows to manipulate XML files. It includes support
30to read, modify and write XML and HTML files. There is DTDs support
31this includes parsing and validation even with complex DtDs, either
32at parse time or later once the document has been modified. The output
33can be a simple SAX stream or and in-memory DOM like representations.
34In this case one can use the built-in XPath and XPointer implementation
35to select subnodes or ranges. A flexible Input/Output mechanism is
36available, with existing HTTP and FTP modules and combined to an
37URI library.
38
39%description -l ja
40このライブラリはXMLファイルを扱う事ができます。XMLやHTMLファイルを読み込み、
41修正、書き込みをサポートしています。DTDに対応しており、パース時や一度
42ドキュメントが修正された後でも複雑なDTDであってもパースと確認が出来ます。
43出力は簡単なSAXストリームやメモリ内のDOM形式を使えます。この場合、
44選択したサブノードやレンジの実装に組み込まれたXPathやXPointerを使うことが
45出来ます。HTTPやFTPモジュールやURIライブラリを使って柔軟な入力/出力が可能です。
46
47%package -n compat32-%{name}
48Summary: Library providing XML and HTML support
49Summary(ja): XML や HTML サポートを提供するライブラリ
50Group: System Environment/Libraries
51Requires: %{name} = %{version}-%{release}
52
53%description -n compat32-%{name}
54This library allows to manipulate XML files. It includes support
55to read, modify and write XML and HTML files. There is DTDs support
56this includes parsing and validation even with complex DtDs, either
57at parse time or later once the document has been modified. The output
58can be a simple SAX stream or and in-memory DOM like representations.
59In this case one can use the built-in XPath and XPointer implementation
60to select subnodes or ranges. A flexible Input/Output mechanism is
61available, with existing HTTP and FTP modules and combined to an
62URI library.
63
64%description -n compat32-%{name} -l ja
65このライブラリはXMLファイルを扱う事ができます。XMLやHTMLファイルを読み込み、
66修正、書き込みをサポートしています。DTDに対応しており、パース時や一度
67ドキュメントが修正された後でも複雑なDTDであってもパースと確認が出来ます。
68出力は簡単なSAXストリームやメモリ内のDOM形式を使えます。この場合、
69選択したサブノードやレンジの実装に組み込まれたXPathやXPointerを使うことが
70出来ます。HTTPやFTPモジュールやURIライブラリを使って柔軟な入力/出力が可能です。
71
72%package devel
73Summary: Libraries, includes, etc. to develop XML and HTML applications
74Summary(ja): XML や HTML アプリケーションを開発するためのライブラリやヘッダ類
75Group: Development/Libraries
76Requires: %{name} = %{version}-%{release}
77Requires: zlib-devel
78
79%description devel
80Libraries, include files, etc you can use to develop XML applications.
81This library allows to manipulate XML files. It includes support
82to read, modify and write XML and HTML files. There is DTDs support
83this includes parsing and validation even with complex DtDs, either
84at parse time or later once the document has been modified. The output
85can be a simple SAX stream or and in-memory DOM like representations.
86In this case one can use the built-in XPath and XPointer implementation
87to select subnodes or ranges. A flexible Input/Output mechanism is
88available, with existing HTTP and FTP modules and combined to an
89URI library.
90
91%description devel -l ja
92XMLアプリケーションを開発するためのライブラリやヘッダファイル類。
93このライブラリはXMLファイルを扱う事ができます。
94XMLやHTMLファイルを読み込み、修正、書き込みをサポートしています。
95DTDに対応しており、パース時や一度ドキュメントが修正された後でも
96複雑なDTDであってもパースと確認が出来ます。
97出力は簡単なSAXストリームやメモリ内のDOM形式を使えます。この場合、
98選択したサブノードやレンジの実装に組み込まれたXPathやXPointerを使うことが
99出来ます。HTTPやFTPモジュールやURIライブラリを使って柔軟な入力/出力が可能です。
100
101%package -n compat32-%{name}-devel
102Summary: Libraries, includes, etc. to develop XML and HTML applications
103Summary(ja): XML や HTML アプリケーションを開発するためのライブラリやヘッダ類
104Group: Development/Libraries
105Requires: compat32-%{name} = %{version}-%{release}
106Requires: %{name}-devel    = %{version}-%{release}
107Requires: compat32-zlib-devel
108
109%description -n compat32-%{name}-devel
110Libraries, include files, etc you can use to develop XML applications.
111This library allows to manipulate XML files. It includes support
112to read, modify and write XML and HTML files. There is DTDs support
113this includes parsing and validation even with complex DtDs, either
114at parse time or later once the document has been modified. The output
115can be a simple SAX stream or and in-memory DOM like representations.
116In this case one can use the built-in XPath and XPointer implementation
117to select subnodes or ranges. A flexible Input/Output mechanism is
118available, with existing HTTP and FTP modules and combined to an
119URI library.
120
121%description -n compat32-%{name}-devel -l ja
122XMLアプリケーションを開発するためのライブラリやヘッダファイル類。
123このライブラリはXMLファイルを扱う事ができます。
124XMLやHTMLファイルを読み込み、修正、書き込みをサポートしています。
125DTDに対応しており、パース時や一度ドキュメントが修正された後でも
126複雑なDTDであってもパースと確認が出来ます。
127出力は簡単なSAXストリームやメモリ内のDOM形式を使えます。この場合、
128選択したサブノードやレンジの実装に組み込まれたXPathやXPointerを使うことが
129出来ます。HTTPやFTPモジュールやURIライブラリを使って柔軟な入力/出力が可能です。
130
131%package static
132Summary: Static library for libxml2
133Summary(ja): libxml2 のスタティックライブラリ
134Group: Development/Libraries
135Requires: libxml2 = %{version}-%{release}
136
137%description static
138Static library for libxml2 provided for specific uses or shaving a few
139microseconds when parsing, do not link to them for generic purpose packages.
140
141%package python
142Summary: Python bindings for the libxml2 library
143Summary(ja): libxml2 ライブラリ用の python バインディング
144Group: Development/Libraries
145Requires: %{name} = %{version}-%{release}
146Requires: python >= 2.2
147
148%description python
149The libxml2-python package contains a module that permits applications
150written in the Python programming language to use the interface
151supplied by the libxml2 library to manipulate XML files.
152
153This library allows to manipulate XML files. It includes support
154to read, modify and write XML and HTML files. There is DTDs support
155this includes parsing and validation even with complex DTDs, either
156at parse time or later once the document has been modified.
157
158%description python -l ja
159libxml2-pythonはXMLファイルを扱うlibxml2ライブラリによって提供される
160インターフェースを使用するためにpythonプログラム言語で書かれた
161アプリケーションを許可するモジュール類を含んでいます。
162
163このライブラリはXMLファイルを扱う事ができます。
164XMLやHTMLファイルを読み込み、修正、書き込みをサポートしています。
165DTDに対応しており、パース時や一度ドキュメントが修正された後でも複雑な
166DTDであってもパースと確認が出来ます。
167
168%prep
169%setup -q
170
171%patch0 -p1
172%patch1 -p1
173
174%patch10 -p1 -b .CVE-2010-4494
175%patch11 -p1 -b .xpath
176
177%build
178%configure
179make %{?_smp_mflags}
180gzip -9 ChangeLog
181
182
183%install
184[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
185
186%makeinstall
187gzip -9 doc/libxml2-api.xml
188
189rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
190rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.{a,la}
191
192# multiarch crazyness on timestamp differences or Makefile/binaries for examples
193touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxml2/libxml/parser.h $RPM_BUILD_ROOT/%{_bindir}/xml2-config
194
195(cd doc/examples ; make clean ; rm -rf .deps Makefile)
196
197%clean
198[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
199
200%post -p /sbin/ldconfig
201
202%postun -p /sbin/ldconfig
203
204%post -n compat32-%{name} -p /sbin/ldconfig
205
206%postun -n compat32-%{name} -p /sbin/ldconfig
207
208%files
209%defattr(-, root, root)
210%doc AUTHORS ChangeLog.gz NEWS README COPYING Copyright TODO
211%{_bindir}/xmlcatalog
212%{_bindir}/xmllint
213%{_libdir}/lib*.so.*
214%{_mandir}/man1/xmllint.1*
215%{_mandir}/man1/xmlcatalog.1*
216%{_mandir}/man3/libxml.3*
217
218%files devel
219%defattr(-, root, root)
220%doc doc/*.html doc/html doc/*.gif doc/*.png
221%doc doc/tutorial doc/libxml2-api.xml.gz
222%{_bindir}/xml2-config
223%{_datadir}/aclocal/libxml.m4
224%{_includedir}/*
225%{_libdir}/lib*.so
226%{_libdir}/lib*.a
227%{_libdir}/*.sh
228%{_libdir}/pkgconfig/libxml-2.0.pc
229%{_mandir}/man1/xml2-config.1*
230%{_datadir}/gtk-doc/html/libxml2
231
232%files static
233%defattr(-, root, root)
234%{_libdir}/lib*.a
235
236%files python
237%defattr(-, root, root)
238%doc AUTHORS ChangeLog.gz NEWS README Copyright
239%doc python/TODO
240%doc python/libxml2class.txt
241%doc python/tests/*.py
242%doc doc/*.py
243%doc doc/python.html
244%{_libdir}/python*/site-packages/*
245
246%if %{build_compat32}
247%files -n compat32-%{name}
248%defattr(-, root, root)
249%{_libdir}/lib*.so.*
250
251%files -n compat32-%{name}-devel
252%defattr(-, root, root)
253%{_libdir}/lib*.so
254%{_libdir}/lib*.a
255%{_libdir}/*.sh
256%{_libdir}/pkgconfig/libxml-2.0.pc
257%endif
258
259%changelog
260* Wed Jun 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.8-2
261- add Patch11 (libxml2-2.7.8-xpath.patch)
262
263* Mon Apr 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.7.8-1
264- new upstream release with security fix (CVE-2010-4008)
265- add patch1 from fc16
266- add patch10 for fix CVE-2010-4494 (xpath)
267
268* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.7.7-2
269- build with rpm-4.8.1-1 for pkg-config file
270
271* Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.7-1
272- new upstream release
273
274* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.6-6
275- rebuilt with gcc-4.4.3-3 on ppc
276
277* Sat Feb  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.6-5
278- removed %%{_libdir}/python*/site-packages/*.{a,la}
279
280* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.6-4
281- rebuilt with rpm-4.8.0-3 (on ppc)
282
283* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 2.7.6-3
284- rebuild with python-2.6
285
286* Tue Feb  2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.6-2
287- rebuilt with new toolchain
288
289* Sun Nov  1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.6-1
290- new upstream release
291
292* Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.32-4
293- use smp flag in make section
294
295* Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.32-3
296- add patch100 for fix CVE-2009-2414/2416
297
298* Fri Jul 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.32-2
299- rebuilt with python-2.5.2
300
301* Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.32-1
302- new upstream release
303- removed *.la files from devel package
304
305* Fri Feb 29 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.31-0vl1
306- new upstream release with security fix (CVE-2007-6284)
307
308* Wed Oct  3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.30-0vl1
309- new upstream release
310
311* Sun Feb  4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.27-0vl1
312- new upstream release
313
314* Fri Jul 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.26-0vl1
315- new upstream release
316- fixed typo
317
318* Sun May 21 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.23-0vl3
319- added "libdir" options
320- added compat32- packages for x86_64 architecture support
321
322* Wed Jan 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.6.23-0vl2
323- fix typo
324
325* Tue Jan 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.6.23-0vl1
326- new upstream release
327- add Requires: zlib-devel for libxml2-devel
328- add gtk-doc/html/libxml2 to libxml2-devel
329
330* Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.22-0vl1
331- new upstream release
332
333* Mon Jul 18 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.20-0vl1
334- new upstream release (libxml2-2.6.20)
335
336* Mon Apr 04 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.19-0vl1
337- new upstream version (libxml2-2.6.19)
338
339* Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 2.6.17-0vl3
340- rebuild with python-2.4.1-0vl1
341
342* Sun Feb 06 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.17-0vl2
343- fixed japanesedescription
344
345* Sun Feb 06 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.17-0vl1
346- new upstream version (libxml2-2.6.17)
347- added japanese description
348
349* Tue Dec 21 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.16-0vl1
350- new upstream version (libxml2-2.6.16)
351
352* Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.15-0vl1
353- new upstream version (libxml2-2.6.15)
354        -- some security fixes.(See http://secunia.com/advisories/13000/)
355
356* Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.14-0vl1
357- new upstream version (libxml2-2.6.14)
358
359* Tue Sep 07 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.13-0vl1
360- new upstream version (libxml2-2.6.13)
361
362* Tue Apr 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.9-0vl1
363- source upgrade
364
365* Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 2.6.8-0vl2
366- rebuild with python-2.3.3-0vl1
367
368* Sun Apr 11 2004 Shu KONNO <owa@bg.wakwak.com> 2.6.8-0vl1.1
369- rebuild with python-2.3.3-0vl0.3 (for TestPkg)
370
371* Thu Mar 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.8-0vl1
372- new upstream release
373
374* Wed Jan 28 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.5-0vl1
375- new upstream release
376
377* Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.11-0vl1
378- new upstream release
379
380* Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.10-0vl1
381- new upstream release
382
383* Thu Jul 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.8-0vl1
384- source upgrade
385
386* Sat May 17 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.7-0vl1
387- source upgrade
388
389* Tue Feb 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.3-0vl1
390- source upgrade
391
392* Tue Jan 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.1-0vl2
393- rebuild with python-2.2.2-9vl0
394- add BuildPrereq: automake14
395
396* Fri Jan 10 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.1-0vl1
397- source upgrade
398- update and cleanup %files section
399
400* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.30-0vl1
401- source upgrade
402- build with new toolchains
403
404* Tue Oct 29 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.26-0vl1
405- source update to 2.4.26
406
407* Sun May 26 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.21-1vl1
408- merged with 2.4.21-1
409 -- Fri Feb  1 2002 Daniel Veillard <veillard@redhat.com>
410  - Added the python package
411- clean up spec
412
413* Mon Mar 18 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.13-0vl2
414- changed License to MIT (not LGPL)
415- add BuildPrereq: zlib-devel >= 1.1.4
416
417* Sat Feb 23 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.13-0vl1
418- source update
419- cleaned up specfile
420
421* Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.12-0vl1
422- source update
423
424* Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.6-1vl1
425- Build for VineSeed
426
427* Thu Apr 26 2001 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
428
429[2.3.7]
430- Added libxml.m4 to the distribution file list
431- Moved the man pages from /usr/man to /usr/share/man to conform to FHS2.0
432- Moved programmer documentation into the devel package
433
434* Thu Sep 23 1999 Daniel Veillard <daniel@veillard.com>
435
436- corrected the spec file alpha stuff
437- switched to version 1.7.1
438- Added validation, XPath, nanohttp, removed memory leaks
439- Renamed CHAR to xmlChar
440
441* Wed Jun  2 1999 Daniel Veillard <daniel@veillard.com>
442
443- Switched to version 1.1: SAX extensions, better entities support, lots of
444  bug fixes.
445
446* Sun Oct  4 1998 Daniel Veillard <daniel@veillard.com>
447
448- Added xml-config to the package
449
450* Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
451
452- Built release 0.30
Note: See TracBrowser for help on using the repository browser.