rubysdl-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Name: rubysdl
  2. Version: 2.0.1b
  3. Release: 1%{?_dist_release}
  4. License: LGPL
  5. Group: Development/Libraries
  6. Source: http://rubyforge.org/frs/download.php/40059/%{name}-%{version}.tar.gz
  7. URL: http://www.kmc.gr.jp/~ohai/index.html
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. BuildRequires: ruby, ruby-devel >= 1.8.1-0vl6
  10. BuildRequires: SDL-devel, SDL_mixer-devel, SDL_image-devel, SDL_ttf-devel, smpeg-devel
  11. Summary: Ruby/SDL is the Ruby extension library to use SDL
  12. Summary(ja): Ruby/SDLはRubyからSDLを使うための拡張ライブラリ
  13. %description
  14. Ruby/SDL is the ruby extension library to use SDL. SDL(Simple
  15. DirectMedia Layer) is a cross-platform multimedia library designed to
  16. provide fast access to the graphics framebuffer and audio device. See
  17. http://www.libsdl.org/ if you want to know SDL in detail.
  18. %description -l ja
  19. Ruby/SDLはRubyからSDLを使うための拡張ライブラリです.SDL(Simple
  20. DirectMedia Layer)は様々なプラットホームで動作するように作られたマルチ
  21. メディアライブラリで,グラフィックフレームバッファやオーディオデバイス
  22. にアクセスすることができます.SDLについての詳しい情報は
  23. http://www.libsdl.org/から得られます.
  24. %prep
  25. %setup -q -c
  26. %build
  27. cd %{name}-%{version}
  28. ruby extconf.rb
  29. make
  30. cd ..
  31. %install
  32. rm -rf ${RPM_BUILD_ROOT}
  33. mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
  34. # installing binaries ...
  35. cd %{name}-%{version}
  36. make DESTDIR=${RPM_BUILD_ROOT} sitelibdir=${RPM_BUILD_ROOT}%{rlibdir} install
  37. cd ..
  38. (find \
  39. $RPM_BUILD_ROOT%{_libdir} \
  40. -type f -o -type l) |
  41. sort | sed -e "s,^$RPM_BUILD_ROOT,," > rubysdl.files
  42. %clean
  43. rm -f rubysdl.files
  44. rm -rf ${RPM_BUILD_ROOT}
  45. %pre
  46. %post
  47. %files -f rubysdl.files
  48. %defattr(-, root, root)
  49. %doc %{name}-%{version}/README*
  50. %doc %{name}-%{version}/*.rd
  51. %doc %{name}-%{version}/rubysdl_const_list.txt
  52. %doc %{name}-%{version}/sample
  53. %changelog
  54. * Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1b-1
  55. - new upstream release
  56. - applied new versioning policy
  57. - spec in UTF-8
  58. * Wed May 04 2005 Satoshi MACHINO <machino@vinelinux.org> 0.9.4-0vl2
  59. - fixed distribted files
  60. * Tue May 03 2005 Satoshi MACHINO <machino@vinelinux.org> 0.9.4-0vl1
  61. - new upstream version
  62. * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 0.9.2-0vl1
  63. - new upstream version
  64. - built by ruby-1.8.1 and SDL-1.2.7
  65. * Sun Oct 13 2002 Satoshi MACHINO <machino@vinelinux.org> 0.8.2-0vl1
  66. - new upstream version.
  67. - change URL
  68. * Sat Jul 05 2002 Satoshi MACHINO <machino@vinelinux.org> 0.8.1-0vl1
  69. - new upstream version.
  70. * Tue Jul 02 2002 Satoshi MACHINO <machino@vinelinux.org> 0.8-0vl1
  71. - new upstream version.
  72. * Wed Oct 31 2001 akira yamada <akira@vinelinux.org> 0.7-0vl1
  73. - new upstream version.
  74. * Sat Oct 27 2001 akira yamada <akira@vinelinux.org> 0.6-0vl1
  75. - Initial packaging.