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

Revision 6537, 16.8 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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