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

Revision 5701, 16.7 KB checked in by Takemikaduchi, 12 years ago (diff)

python-2.7.2

Line 
1Summary: Library providing XML and HTML support
2Summary(ja): XML や HTML サポートを提供するライブラリ
3Name: libxml2
4Version: 2.7.8
5Release: 3%{_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 Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.8-3
261- rebuild with python-2.7.2
262
263* Wed Jun 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.8-2
264- add Patch11 (libxml2-2.7.8-xpath.patch)
265
266* Mon Apr 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.7.8-1
267- new upstream release with security fix (CVE-2010-4008)
268- add patch1 from fc16
269- add patch10 for fix CVE-2010-4494 (xpath)
270
271* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.7.7-2
272- build with rpm-4.8.1-1 for pkg-config file
273
274* Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.7-1
275- new upstream release
276
277* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.6-6
278- rebuilt with gcc-4.4.3-3 on ppc
279
280* Sat Feb  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.6-5
281- removed %%{_libdir}/python*/site-packages/*.{a,la}
282
283* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.6-4
284- rebuilt with rpm-4.8.0-3 (on ppc)
285
286* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 2.7.6-3
287- rebuild with python-2.6
288
289* Tue Feb  2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.6-2
290- rebuilt with new toolchain
291
292* Sun Nov  1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.6-1
293- new upstream release
294
295* Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.32-4
296- use smp flag in make section
297
298* Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.32-3
299- add patch100 for fix CVE-2009-2414/2416
300
301* Fri Jul 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.32-2
302- rebuilt with python-2.5.2
303
304* Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.32-1
305- new upstream release
306- removed *.la files from devel package
307
308* Fri Feb 29 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.31-0vl1
309- new upstream release with security fix (CVE-2007-6284)
310
311* Wed Oct  3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.30-0vl1
312- new upstream release
313
314* Sun Feb  4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.27-0vl1
315- new upstream release
316
317* Fri Jul 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.26-0vl1
318- new upstream release
319- fixed typo
320
321* Sun May 21 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.23-0vl3
322- added "libdir" options
323- added compat32- packages for x86_64 architecture support
324
325* Wed Jan 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.6.23-0vl2
326- fix typo
327
328* Tue Jan 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.6.23-0vl1
329- new upstream release
330- add Requires: zlib-devel for libxml2-devel
331- add gtk-doc/html/libxml2 to libxml2-devel
332
333* Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.22-0vl1
334- new upstream release
335
336* Mon Jul 18 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.20-0vl1
337- new upstream release (libxml2-2.6.20)
338
339* Mon Apr 04 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.19-0vl1
340- new upstream version (libxml2-2.6.19)
341
342* Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 2.6.17-0vl3
343- rebuild with python-2.4.1-0vl1
344
345* Sun Feb 06 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.17-0vl2
346- fixed japanesedescription
347
348* Sun Feb 06 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.17-0vl1
349- new upstream version (libxml2-2.6.17)
350- added japanese description
351
352* Tue Dec 21 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.16-0vl1
353- new upstream version (libxml2-2.6.16)
354
355* Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.15-0vl1
356- new upstream version (libxml2-2.6.15)
357        -- some security fixes.(See http://secunia.com/advisories/13000/)
358
359* Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.14-0vl1
360- new upstream version (libxml2-2.6.14)
361
362* Tue Sep 07 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.13-0vl1
363- new upstream version (libxml2-2.6.13)
364
365* Tue Apr 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.9-0vl1
366- source upgrade
367
368* Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 2.6.8-0vl2
369- rebuild with python-2.3.3-0vl1
370
371* Sun Apr 11 2004 Shu KONNO <owa@bg.wakwak.com> 2.6.8-0vl1.1
372- rebuild with python-2.3.3-0vl0.3 (for TestPkg)
373
374* Thu Mar 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.8-0vl1
375- new upstream release
376
377* Wed Jan 28 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.5-0vl1
378- new upstream release
379
380* Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.11-0vl1
381- new upstream release
382
383* Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.10-0vl1
384- new upstream release
385
386* Thu Jul 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.8-0vl1
387- source upgrade
388
389* Sat May 17 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.7-0vl1
390- source upgrade
391
392* Tue Feb 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.3-0vl1
393- source upgrade
394
395* Tue Jan 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.1-0vl2
396- rebuild with python-2.2.2-9vl0
397- add BuildPrereq: automake14
398
399* Fri Jan 10 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.1-0vl1
400- source upgrade
401- update and cleanup %files section
402
403* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.30-0vl1
404- source upgrade
405- build with new toolchains
406
407* Tue Oct 29 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.26-0vl1
408- source update to 2.4.26
409
410* Sun May 26 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.21-1vl1
411- merged with 2.4.21-1
412 -- Fri Feb  1 2002 Daniel Veillard <veillard@redhat.com>
413  - Added the python package
414- clean up spec
415
416* Mon Mar 18 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.13-0vl2
417- changed License to MIT (not LGPL)
418- add BuildPrereq: zlib-devel >= 1.1.4
419
420* Sat Feb 23 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.13-0vl1
421- source update
422- cleaned up specfile
423
424* Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.12-0vl1
425- source update
426
427* Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.6-1vl1
428- Build for VineSeed
429
430* Thu Apr 26 2001 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
431
432[2.3.7]
433- Added libxml.m4 to the distribution file list
434- Moved the man pages from /usr/man to /usr/share/man to conform to FHS2.0
435- Moved programmer documentation into the devel package
436
437* Thu Sep 23 1999 Daniel Veillard <daniel@veillard.com>
438
439- corrected the spec file alpha stuff
440- switched to version 1.7.1
441- Added validation, XPath, nanohttp, removed memory leaks
442- Renamed CHAR to xmlChar
443
444* Wed Jun  2 1999 Daniel Veillard <daniel@veillard.com>
445
446- Switched to version 1.1: SAX extensions, better entities support, lots of
447  bug fixes.
448
449* Sun Oct  4 1998 Daniel Veillard <daniel@veillard.com>
450
451- Added xml-config to the package
452
453* Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
454
455- Built release 0.30
Note: See TracBrowser for help on using the repository browser.