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

Revision 9092, 17.6 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

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