3 %bcond_without SDL_mixer # build without SDL_mixer
5 Summary: A funny action game written with SDL
6 Summary(pl.UTF-8): Zabawna gra oparta o SDL
12 Group: X11/Applications/Games
13 Source0: http://user.cs.tu-berlin.de/~karlb/bumprace/%{name}-%{version}.tar.gz
14 # Source0-md5: a72733718ee6eed8cd1657db89bf8e0d
15 Source1: %{name}.desktop
17 URL: http://www.linux-games.com/bumprace/
18 BuildRequires: SDL-devel >= 1.2.0
19 BuildRequires: SDL_image-devel >= 1.2.0
20 %{?with_SDL_mixer:BuildRequires: SDL_mixer-devel >= 1.2.0}
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: libjpeg-devel
24 BuildRequires: libpng-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 BumpRace is a simple 1 or 2 player game where players choose among
29 four vehicles and race through a multi-level maze.
31 %description -l pl.UTF-8
32 BumpRace jest prostą grą dla 1 lub 2 osób, w której gracze wybierają
33 spośród czterech pojazdów i ścigają się w wielopoziomowym labiryncie.
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
51 DESTDIR=$RPM_BUILD_ROOT
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
54 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog FAQ README
62 %attr(755,root,root) %{_bindir}/*
64 %{_desktopdir}/%{name}.desktop
65 %{_pixmapsdir}/%{name}.xpm