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

Revision 9073, 17.2 KB checked in by Takemikaduchi, 10 years ago (diff)

GNOME 3.14.1

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