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

Revision 8084, 16.9 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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