%define real_name rubysdl %define name ruby-SDL %define version 0.8.3 %define release 1mdk Summary: Wrapper around the cross platform Simple DirectMedia Layer game library. Name: %{name} Version: %{version} Release: %{release} License: LGPL Source: http://www.kmc.gr.jp/~ohai/rubysdl/%{real_name}-%{version}.tar.bz2 Source1: http://www.kmc.gr.jp/~ohai/rubysdl_doc.en.html.bz2 Group: Development/Other URL: http://www.kmc.gr.jp/~ohai/index.en.html BuildRequires: XFree86-devel libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libsmpeg-devel ruby-devel Provides: %{real_name} = %{version}-%{release} Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot/ # Author: ohai@kmc.kyoto-u.ac.jp %description Ruby-SDL is a wrapper around the cross platform Simple Direct Layer game library. Essentially it allows you to write cross platform games in Ruby, using 2d (SDL), or 3d (OpenGL), or a combination of both if you wish. %prep %setup -q -n %{real_name}-%{version} bzcat %{SOURCE1} > reference_manual.html %build ruby extconf.rb --enable-opengl make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc README.* sample rubysdl_const_list.txt reference_manual.html %{_libdir}/ruby/*/*.rb %{_libdir}/ruby/*/*/*.so %changelog * Tue Feb 18 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 0.8.3-1mdk - update code and doc * Thu Sep 05 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.7-4mdk - rebuild * Sun Jul 21 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.7-3mdk - recompile against new vorbis stuff * Mon Apr 29 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.7-2mdk - rebuild for new alsa * Sat Mar 9 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.7-1mdk - first mandrake package