libxml2-vl.spec 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. Summary: Library providing XML and HTML support
  2. Summary(ja): XML や HTML サポートを提供するライブラリ
  3. Name: libxml2
  4. Version: 2.9.0
  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. 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. %makeinstall
  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}/pkgconfig/libxml-2.0.pc
  184. %{_mandir}/man1/xml2-config.1*
  185. %{_datadir}/gtk-doc/html/libxml2
  186. %files static
  187. %defattr(-, root, root)
  188. %{_libdir}/lib*.a
  189. %files python
  190. %defattr(-, root, root)
  191. %doc AUTHORS ChangeLog.gz NEWS README Copyright
  192. %doc python/TODO
  193. %doc python/libxml2class.txt
  194. %doc python/tests/*.py
  195. %doc doc/*.py
  196. %doc doc/python.html
  197. %{_libdir}/python*/site-packages/*
  198. %if %{build_compat32}
  199. %files -n compat32-%{name}
  200. %defattr(-, root, root)
  201. %{_libdir}/lib*.so.*
  202. %files -n compat32-%{name}-devel
  203. %defattr(-, root, root)
  204. %{_libdir}/lib*.so
  205. %{_libdir}/lib*.a
  206. %{_libdir}/*.sh
  207. %endif
  208. %changelog
  209. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.0-1
  210. - rebuild with VineSeed environment
  211. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.9.0-1
  212. - new upstream release
  213. * Sun Jul 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.0-1
  214. - new upstream release
  215. - remove Patch1 (libxml2-2.7.8-reactivate-versionning-script.patch)
  216. -remove Patch10 (libxml2-2.7.8-CVE-2010-4494.patch)
  217. - remove Patch11 (libxml2-2.7.8-xpath.patch)
  218. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.8-3
  219. - rebuild with python-2.7.2
  220. * Wed Jun 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.8-2
  221. - add Patch11 (libxml2-2.7.8-xpath.patch)
  222. * Mon Apr 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.7.8-1
  223. - new upstream release with security fix (CVE-2010-4008)
  224. - add patch1 from fc16
  225. - add patch10 for fix CVE-2010-4494 (xpath)
  226. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.7.7-2
  227. - build with rpm-4.8.1-1 for pkg-config file
  228. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.7-1
  229. - new upstream release
  230. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.6-6
  231. - rebuilt with gcc-4.4.3-3 on ppc
  232. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.6-5
  233. - removed %%{_libdir}/python*/site-packages/*.{a,la}
  234. * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.6-4
  235. - rebuilt with rpm-4.8.0-3 (on ppc)
  236. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 2.7.6-3
  237. - rebuild with python-2.6
  238. * Tue Feb 2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.6-2
  239. - rebuilt with new toolchain
  240. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.6-1
  241. - new upstream release
  242. * Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.32-4
  243. - use smp flag in make section
  244. * Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.32-3
  245. - add patch100 for fix CVE-2009-2414/2416
  246. * Fri Jul 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.32-2
  247. - rebuilt with python-2.5.2
  248. * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.32-1
  249. - new upstream release
  250. - removed *.la files from devel package
  251. * Fri Feb 29 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.31-0vl1
  252. - new upstream release with security fix (CVE-2007-6284)
  253. * Wed Oct 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.30-0vl1
  254. - new upstream release
  255. * Sun Feb 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.27-0vl1
  256. - new upstream release
  257. * Fri Jul 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.26-0vl1
  258. - new upstream release
  259. - fixed typo
  260. * Sun May 21 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.23-0vl3
  261. - added "libdir" options
  262. - added compat32- packages for x86_64 architecture support
  263. * Wed Jan 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.6.23-0vl2
  264. - fix typo
  265. * Tue Jan 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.6.23-0vl1
  266. - new upstream release
  267. - add Requires: zlib-devel for libxml2-devel
  268. - add gtk-doc/html/libxml2 to libxml2-devel
  269. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.22-0vl1
  270. - new upstream release
  271. * Mon Jul 18 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.20-0vl1
  272. - new upstream release (libxml2-2.6.20)
  273. * Mon Apr 04 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.19-0vl1
  274. - new upstream version (libxml2-2.6.19)
  275. * Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 2.6.17-0vl3
  276. - rebuild with python-2.4.1-0vl1
  277. * Sun Feb 06 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.17-0vl2
  278. - fixed japanesedescription
  279. * Sun Feb 06 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.17-0vl1
  280. - new upstream version (libxml2-2.6.17)
  281. - added japanese description
  282. * Tue Dec 21 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.16-0vl1
  283. - new upstream version (libxml2-2.6.16)
  284. * Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.15-0vl1
  285. - new upstream version (libxml2-2.6.15)
  286. -- some security fixes.(See http://secunia.com/advisories/13000/)
  287. * Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.14-0vl1
  288. - new upstream version (libxml2-2.6.14)
  289. * Tue Sep 07 2004 Satoshi MACHINO <machino@vinelinux.org> 2.6.13-0vl1
  290. - new upstream version (libxml2-2.6.13)
  291. * Tue Apr 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6.9-0vl1
  292. - source upgrade
  293. * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 2.6.8-0vl2
  294. - rebuild with python-2.3.3-0vl1
  295. * Sun Apr 11 2004 Shu KONNO <owa@bg.wakwak.com> 2.6.8-0vl1.1
  296. - rebuild with python-2.3.3-0vl0.3 (for TestPkg)
  297. * Thu Mar 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.8-0vl1
  298. - new upstream release
  299. * Wed Jan 28 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.5-0vl1
  300. - new upstream release
  301. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.11-0vl1
  302. - new upstream release
  303. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.10-0vl1
  304. - new upstream release
  305. * Sun Jul 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.8-0vl1
  306. - source upgrade
  307. * Sat May 17 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.7-0vl1
  308. - source upgrade
  309. * Tue Feb 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.3-0vl1
  310. - source upgrade
  311. * Tue Jan 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.1-0vl2
  312. - rebuild with python-2.2.2-9vl0
  313. - add BuildPrereq: automake14
  314. * Fri Jan 10 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.1-0vl1
  315. - source upgrade
  316. - update and cleanup %files section
  317. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.30-0vl1
  318. - source upgrade
  319. - build with new toolchains
  320. * Tue Oct 29 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.26-0vl1
  321. - source update to 2.4.26
  322. * Sun May 26 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.21-1vl1
  323. - merged with 2.4.21-1
  324. -- Fri Feb 1 2002 Daniel Veillard <veillard@redhat.com>
  325. - Added the python package
  326. - clean up spec
  327. * Mon Mar 18 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.13-0vl2
  328. - changed License to MIT (not LGPL)
  329. - add BuildPrereq: zlib-devel >= 1.1.4
  330. * Sat Feb 23 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.13-0vl1
  331. - source update
  332. - cleaned up specfile
  333. * Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.12-0vl1
  334. - source update
  335. * Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.4.6-1vl1
  336. - Build for VineSeed
  337. * Thu Apr 26 2001 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
  338. [2.3.7]
  339. - Added libxml.m4 to the distribution file list
  340. - Moved the man pages from /usr/man to /usr/share/man to conform to FHS2.0
  341. - Moved programmer documentation into the devel package
  342. * Thu Sep 23 1999 Daniel Veillard <daniel@veillard.com>
  343. - corrected the spec file alpha stuff
  344. - switched to version 1.7.1
  345. - Added validation, XPath, nanohttp, removed memory leaks
  346. - Renamed CHAR to xmlChar
  347. * Wed Jun 2 1999 Daniel Veillard <daniel@veillard.com>
  348. - Switched to version 1.1: SAX extensions, better entities support, lots of
  349. bug fixes.
  350. * Sun Oct 4 1998 Daniel Veillard <daniel@veillard.com>
  351. - Added xml-config to the package
  352. * Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
  353. - Built release 0.30