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

Revision 9876, 17.5 KB checked in by Takemikaduchi, 8 years ago (diff)

new upstream release

Line 
1Summary: Library providing XML and HTML support
2Summary(ja): XML や HTML サポートを提供するライブラリ
3Name: libxml2
4Version: 2.9.3
5Release: 1%{_dist_release}
6License: MIT
7Group: System Environment/Libraries
8Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
9
10Patch0: libxml2-multilib.patch
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: python
14BuildRequires: python-devel
15BuildRequires: zlib-devel
16BuildRequires: pkgconfig
17
18URL: http://xmlsoft.org/
19
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: Takemikaduchi
23
24%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
25
26%description
27This library allows to manipulate XML files. It includes support
28to read, modify and write XML and HTML files. There is DTDs support
29this includes parsing and validation even with complex DtDs, either
30at parse time or later once the document has been modified. The output
31can be a simple SAX stream or and in-memory DOM like representations.
32In this case one can use the built-in XPath and XPointer implementation
33to select subnodes or ranges. A flexible Input/Output mechanism is
34available, with existing HTTP and FTP modules and combined to an
35URI library.
36
37%description -l ja
38このライブラリはXMLファイルを扱う事ができます。XMLやHTMLファイルを読み込み、
39修正、書き込みをサポートしています。DTDに対応しており、パース時や一度
40ドキュメントが修正された後でも複雑なDTDであってもパースと確認が出来ます。
41出力は簡単なSAXストリームやメモリ内のDOM形式を使えます。この場合、
42選択したサブノードやレンジの実装に組み込まれたXPathやXPointerを使うことが
43出来ます。HTTPやFTPモジュールやURIライブラリを使って柔軟な入力/出力が可能です。
44
45%package -n compat32-%{name}
46Summary: Library providing XML and HTML support
47Summary(ja): XML や HTML サポートを提供するライブラリ
48Group: System Environment/Libraries
49Requires: %{name} = %{version}-%{release}
50
51%description -n compat32-%{name}
52This library allows to manipulate XML files. It includes support
53to read, modify and write XML and HTML files. There is DTDs support
54this includes parsing and validation even with complex DtDs, either
55at parse time or later once the document has been modified. The output
56can be a simple SAX stream or and in-memory DOM like representations.
57In this case one can use the built-in XPath and XPointer implementation
58to select subnodes or ranges. A flexible Input/Output mechanism is
59available, with existing HTTP and FTP modules and combined to an
60URI library.
61
62%description -n compat32-%{name} -l ja
63このライブラリはXMLファイルを扱う事ができます。XMLやHTMLファイルを読み込み、
64修正、書き込みをサポートしています。DTDに対応しており、パース時や一度
65ドキュメントが修正された後でも複雑なDTDであってもパースと確認が出来ます。
66出力は簡単なSAXストリームやメモリ内のDOM形式を使えます。この場合、
67選択したサブノードやレンジの実装に組み込まれたXPathやXPointerを使うことが
68出来ます。HTTPやFTPモジュールやURIライブラリを使って柔軟な入力/出力が可能です。
69
70%package devel
71Summary: Libraries, includes, etc. to develop XML and HTML applications
72Summary(ja): XML や HTML アプリケーションを開発するためのライブラリやヘッダ類
73Group: Development/Libraries
74Requires: %{name} = %{version}-%{release}
75Requires: zlib-devel
76Requires: pkgconfig
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
172%build
173%configure
174make %{?_smp_mflags}
175gzip -9 ChangeLog
176
177
178%install
179[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
180
181make install DESTDIR=$RPM_BUILD_ROOT
182gzip -9 doc/libxml2-api.xml
183
184rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
185rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.{a,la}
186
187# multiarch crazyness on timestamp differences or Makefile/binaries for examples
188touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxml2/libxml/parser.h $RPM_BUILD_ROOT/%{_bindir}/xml2-config
189
190(cd doc/examples ; make clean ; rm -rf .deps Makefile)
191
192
193%clean
194[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
195
196%post -p /sbin/ldconfig
197
198%postun -p /sbin/ldconfig
199
200%post -n compat32-%{name} -p /sbin/ldconfig
201
202%postun -n compat32-%{name} -p /sbin/ldconfig
203
204%files
205%defattr(-, root, root)
206%doc AUTHORS ChangeLog.gz NEWS README COPYING Copyright TODO
207%{_bindir}/xmlcatalog
208%{_bindir}/xmllint
209%{_libdir}/lib*.so.*
210%{_mandir}/man1/xmllint.1*
211%{_mandir}/man1/xmlcatalog.1*
212%{_mandir}/man3/libxml.3*
213
214%files devel
215%defattr(-, root, root)
216%doc doc/*.html doc/html doc/*.gif doc/*.png
217%doc doc/tutorial doc/libxml2-api.xml.gz
218%{_bindir}/xml2-config
219%{_datadir}/aclocal/libxml.m4
220%{_includedir}/*
221%{_libdir}/lib*.so
222%{_libdir}/lib*.a
223%{_libdir}/*.sh
224%{_libdir}/cmake/libxml2/libxml2-config.cmake
225%{_libdir}/pkgconfig/libxml-2.0.pc
226%{_mandir}/man1/xml2-config.1*
227%{_datadir}/gtk-doc/html/libxml2
228
229%files static
230%defattr(-, root, root)
231%{_libdir}/lib*.a
232
233%files python
234%defattr(-, root, root)
235%doc AUTHORS ChangeLog.gz NEWS README Copyright
236%doc python/TODO
237%doc python/libxml2class.txt
238%doc python/tests/*.py
239%doc doc/*.py
240%doc doc/python.html
241%{_libdir}/python*/site-packages/*
242
243%if %{build_compat32}
244%files -n compat32-%{name}
245%defattr(-, root, root)
246%{_libdir}/lib*.so.*
247
248%files -n compat32-%{name}-devel
249%defattr(-, root, root)
250%{_libdir}/lib*.so
251%{_libdir}/lib*.a
252%{_libdir}/*.sh
253%endif
254
255%changelog
256* Thu Dec 17 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.3-1
257- update to 2.9.3
258- remove Patch1,2
259
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.