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

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

GNOME-3.6.0 & Cinnamon-1.6.1

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