libxml-vl.spec 4.9 KB

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