libdnd-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Name: libdnd
  2. Version: 1.1
  3. Release: 7%{?_dist_release}
  4. License: GPL
  5. Group: System Environment/Libraries
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Summary: The DND Protocol version 1.1
  9. Summary(ja): OffiX のドラッグアンドドロップライブラリです。
  10. Packager: MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  11. Source0: http://leb.net/OffiX/dnd.%{version}.tgz
  12. Patch1: Makefile-shared.patch
  13. Patch2: dnd-signedchar.patch
  14. Buildroot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: libSM-devel
  16. BuildRequires: libICE-devel
  17. BuildRequires: libXmu-devel
  18. BuildRequires: libXaw-devel >= 1.0.5
  19. BuildRequires: libXt-devel
  20. BuildRequires: libX11-devel
  21. Obsoletes: dnd
  22. %description
  23. shared libraries of OffiX drag and drop protocol.
  24. %description -l ja
  25. OffiXのドラッグアンドドロッププロトコルのシェアードライブラリです。
  26. %package devel
  27. Summary: header files and libraries for dnd development
  28. Summary(ja): DNDアプリケーションの開発用のヘッダおよびライブラリです。
  29. Group: Development/Libraries
  30. Requires: libdnd = %{version}
  31. Obsoletes: dnd-devel
  32. %description devel
  33. header files and static libraries for DND development
  34. %description devel -l ja
  35. DNDアプリケーションを開発するのに必要なヘッダファイルとスタティック
  36. リンク用のライブラリを含んでいます。
  37. %prep
  38. %setup -q -n DND
  39. %patch1 -p0 -b .shared
  40. %patch2 -p0 -b .gcc295
  41. %build
  42. cd DNDlib
  43. ./configure --prefix=%{_prefix} --libdir='${exec_prefix}'/%{_lib}
  44. make
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. mkdir -p $RPM_BUILD_ROOT%{_prefix}
  48. cd DNDlib
  49. make install prefix=$RPM_BUILD_ROOT%{_prefix}
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %post -p /sbin/ldconfig
  53. %postun -p /sbin/ldconfig
  54. %files
  55. %defattr(-,root,root)
  56. %doc DNDlib/CHANGELOG DNDlib/README DNDlib/dndtest
  57. %{_libdir}/libDnd++.so.1.1
  58. %{_libdir}/libDnd++.so.1
  59. %{_libdir}/libDnd.so.1.1
  60. %{_libdir}/libDnd.so.1
  61. %files devel
  62. %defattr(-,root,root)
  63. %doc COPYING COPYING.LIB Copyright DNDdoc/*
  64. %{_libdir}/*.so
  65. %{_libdir}/*.a
  66. %{_includedir}/*
  67. %changelog
  68. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-7
  69. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  70. * Mon Sep 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-6
  71. - applied new versioning policy
  72. - spec in UTF-8
  73. - added xorg-x11 BuildRequires
  74. * Sun Mar 11 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1-5vl2
  75. - added --libdir='${exec_prefix}'/%%{_lib} as configure option
  76. * Tue May 27 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp>
  77. - 1.1-5vl1
  78. - rebuilt.
  79. - use some macros
  80. - tag changed(Copyright -> License)
  81. * Mon Nov 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  82. - 1.1-5
  83. - Oops, %installr should be %install :-(
  84. (thanks Hiroshima-san for pointing it out)
  85. * Thu Mar 02 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  86. - 1.1-4
  87. - added a patch for gcc-2.95
  88. * Wed Jan 26 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  89. - 1.1-3
  90. - package name changed to libdnd
  91. * Fri Jan 7 2000 Jun Nishii <jun@vinelinux.org>
  92. - change Group
  93. - build for Vine Linux 2.0
  94. * Sat Aug 14 1999 NAKAMURA Takahiro <harrier@mwe.biglobe.ne.jp>
  95. - built with shared libraries