libxml2-vl.spec 16 KB

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