source: projects/specs/trunk/lib/libx/libxml2/libxml2-vl.spec @ 3698

Revision 3698, 16.5 KB checked in by iwamoto, 13 years ago (diff)

libxml2: new upstream release with security fix 2.7.8

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