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

Revision 1260, 16.0 KB checked in by Takemikaduchi, 14 years ago (diff)

update gnome (2.30.2)

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