source: projects/specs/branches/6/lib/libx/libxml2/libxml2-vl.spec @ 10658

Revision 10658, 17.6 KB checked in by tomop, 8 years ago (diff)

libxml2-2.9.4-1

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