libxml2-vl.spec 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. Summary: Library providing XML and HTML support
  2. Summary(ja): XML や HTML サポートを提供するライブラリ
  3. Name: libxml2
  4. Version: 2.9.0
  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. %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. %endif
  207. %changelog
  208. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.0-1
  209. - new upstream release
  210. * Sun Jul 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.0-1
  211. - new upstream release
  212. - remove Patch1 (libxml2-2.7.8-reactivate-versionning-script.patch)
  213. -remove Patch10 (libxml2-2.7.8-CVE-2010-4494.patch)
  214. - remove Patch11 (libxml2-2.7.8-xpath.patch)
  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