libxml2-vl.spec 17 KB

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