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

Revision 8353, 17.0 KB checked in by Takemikaduchi, 10 years ago (diff)

GNOME-3.12.0

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