libxml-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. # Note that this is NOT a relocatable package
  2. %define ver 1.8.17
  3. %define rel 5%{?_dist_release}
  4. %define name libxml
  5. Summary: An XML library
  6. Summary(ja): XMLライブラリ
  7. Name: %name
  8. Version: %ver
  9. Release: %rel
  10. License: LGPL
  11. Group: System Environment/Libraries
  12. Source: ftp://ftp.gnome.org/pub/GNOME/sources/libxml/1.8/%{name}-%{ver}.tar.bz2
  13. Patch0: libxml-1.8.6-zlib_fixed.patch
  14. Patch100: CAN-2004-0110.patch
  15. Patch110: libxml-1.8.17_CVE-2009-2414-2416.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: zlib-devel
  18. URL: http://xmlsoft.org
  19. %description
  20. The libxml package contains an XML library, which allows you to
  21. manipulate XML files. XML (eXtensible Markup Language) is a data
  22. format for structured document interchange via the Web.
  23. %description -l ja
  24. libxmlパッケージは XMLファイルを操作するためのXMLライブラリを備
  25. えています. XML (eXtensible Markup Language)は、
  26. ウェブ経由でデータを交換するための構造化された形式です。
  27. %package devel
  28. Summary: Libraries, includes and other files to develop libxml applications.
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: zlib-devel
  32. %description devel
  33. The libxml-devel package contains the libraries, include and other
  34. files you can use to develop libxml applications.
  35. %description devel -l ja
  36. libxml-develパッケージはlibxmlアプリケーションを開発するのに利用する
  37. ライブラリやヘッダファイルを含んでいます。
  38. %prep
  39. %setup -q
  40. %patch0 -p1
  41. %patch100 -p1 -b .CAN-2004-0110
  42. %patch110 -p0 -b .CVE-2009-2414-2416
  43. %build
  44. %configure --disable-static
  45. # don't use parallel build
  46. # make %{?_smp_mflags}
  47. make
  48. %install
  49. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  50. %makeinstall
  51. %clean
  52. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %files
  56. %defattr(-, root, root)
  57. %doc AUTHORS ChangeLog NEWS README COPYING COPYING.LIB TODO
  58. %doc doc/html
  59. %{_libdir}/*.so.*
  60. %files devel
  61. %defattr(-, root, root)
  62. %{_bindir}/xml-config
  63. %{_libdir}/*.so
  64. %exclude %{_libdir}/*.la
  65. %{_libdir}/*.sh
  66. %{_libdir}/pkgconfig
  67. %{_includedir}/*
  68. %docdir %{_datadir}/gnome-xml/html
  69. %{_datadir}/gnome-xml
  70. %changelog
  71. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.17-5
  72. - rebuild with rpm-4.8.1 for pkg-config file
  73. * Thu Apr 29 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.17-4
  74. - rebuilt without smp option
  75. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-3
  76. - rebuilt with new toolchain
  77. - added --disable-static to %%configure
  78. - updated URL
  79. * Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.8.17-2vl5
  80. - add patch100 for fix CAN-2004-0110 (from RHEL3)
  81. - add patch110 for fix CVE-2009-2414-2416 (from RHEL3)
  82. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.8.17-1vl5
  83. - applied new versioning policy, spec in utf-8
  84. * Sun Jun 03 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-0vl6
  85. - rebuilt with new toolchain
  86. - remove PreReq: install-info
  87. * Sun Feb 05 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.8.17-0vl5
  88. - rebuild
  89. - add PreReq: install-info instead of /sbin/install-info
  90. - contain %%{_libdir}/pkgconfig/*.pc instead of %%{_libdir}/pkgconfig
  91. * Wed Jul 07 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.8.17-0vl4
  92. - rebuild
  93. * Sun Apr 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-0vl3
  94. - fix %doc (removed Docdir: /usr/doc)
  95. * Fri Apr 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-0vl2
  96. - fix to contain %{_libdir}/pkgconfig
  97. * Sun Apr 13 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-0vl1
  98. - rebuild with new toolchains
  99. - updated to 1.8.17
  100. * Fri Nov 23 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.16-0vl1
  101. - updated in sync with the new upstream 1.8.16 release
  102. * Sun Jul 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  103. - 1.8.14-0vl1
  104. - updated in sync with the new upstream 1.8.14 release
  105. * Wed Mar 7 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.8.11-0vl1
  106. - New upstream release.
  107. * Thu Dec 28 2000 Akira TAGOH <tagoh@gnome.gr.jp>
  108. - 1.8.10-0vl1
  109. - updated to 1.8.10
  110. * Mon Aug 14 2000 Yoshihiro Kajiki <kajiki@ylug.org>
  111. - updated to 1.8.9
  112. * Tue May 23 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  113. - updated to 1.8.7
  114. * Wed Feb 9 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  115. - updated to 1.8.6
  116. * Mon Jan 17 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  117. - updated to 1.8.4
  118. * Mon Jan 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  119. - added zlib_fixed patch for small bug in macro.
  120. * Sun Jan 9 2000 Kazuhito Nishi <nishi@imasy.or.jp>
  121. - version 1.8.3
  122. * Sat Oct 16 1999 Kazuhito Nishi <nishi@imasy.or.jp>
  123. - modified spec file, %description, %files
  124. * Sat Sep 18 1999 Kazuhito Nishi <nishi@imasy.or.jp>
  125. - First try at a spec file for Vine