libxml-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. # Note that this is NOT a relocatable package
  2. %define ver 1.8.17
  3. %define rel 4%{?_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. * Thu Apr 29 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.17-4
  72. - rebuilt without smp option
  73. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-3
  74. - rebuilt with new toolchain
  75. - added --disable-static to %%configure
  76. - updated URL
  77. * Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.8.17-2vl5
  78. - add patch100 for fix CAN-2004-0110 (from RHEL3)
  79. - add patch110 for fix CVE-2009-2414-2416 (from RHEL3)
  80. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.8.17-1vl5
  81. - applied new versioning policy, spec in utf-8
  82. * Sun Jun 03 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-0vl6
  83. - rebuilt with new toolchain
  84. - remove PreReq: install-info
  85. * Sun Feb 05 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.8.17-0vl5
  86. - rebuild
  87. - add PreReq: install-info instead of /sbin/install-info
  88. - contain %%{_libdir}/pkgconfig/*.pc instead of %%{_libdir}/pkgconfig
  89. * Wed Jul 07 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.8.17-0vl4
  90. - rebuild
  91. * Sun Apr 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-0vl3
  92. - fix %doc (removed Docdir: /usr/doc)
  93. * Fri Apr 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-0vl2
  94. - fix to contain %{_libdir}/pkgconfig
  95. * Sun Apr 13 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.17-0vl1
  96. - rebuild with new toolchains
  97. - updated to 1.8.17
  98. * Fri Nov 23 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.16-0vl1
  99. - updated in sync with the new upstream 1.8.16 release
  100. * Sun Jul 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  101. - 1.8.14-0vl1
  102. - updated in sync with the new upstream 1.8.14 release
  103. * Wed Mar 7 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.8.11-0vl1
  104. - New upstream release.
  105. * Thu Dec 28 2000 Akira TAGOH <tagoh@gnome.gr.jp>
  106. - 1.8.10-0vl1
  107. - updated to 1.8.10
  108. * Mon Aug 14 2000 Yoshihiro Kajiki <kajiki@ylug.org>
  109. - updated to 1.8.9
  110. * Tue May 23 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  111. - updated to 1.8.7
  112. * Wed Feb 9 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  113. - updated to 1.8.6
  114. * Mon Jan 17 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  115. - updated to 1.8.4
  116. * Mon Jan 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  117. - added zlib_fixed patch for small bug in macro.
  118. * Sun Jan 9 2000 Kazuhito Nishi <nishi@imasy.or.jp>
  119. - version 1.8.3
  120. * Sat Oct 16 1999 Kazuhito Nishi <nishi@imasy.or.jp>
  121. - modified spec file, %description, %files
  122. * Sat Sep 18 1999 Kazuhito Nishi <nishi@imasy.or.jp>
  123. - First try at a spec file for Vine