libxml2-vl.spec 17 KB

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