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

Revision 521, 15.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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