libxml2-vl.spec 16 KB

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