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
11 Group: X11/Applications/Games
12 Source0: http://user.cs.tu-berlin.de/~karlb/bumprace/%{name}-%{version}.tar.gz
13 # Source0-md5: a72733718ee6eed8cd1657db89bf8e0d
14 Source1: %{name}.desktop
16 URL: http://www.linux-games.com/bumprace/
17 BuildRequires: SDL-devel >= 1.2.0
18 BuildRequires: SDL_image-devel >= 1.2.0
19 %{?with_SDL_mixer:BuildRequires: SDL_mixer-devel >= 1.2.0}
20 BuildRequires: XFree86-devel
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: libjpeg-devel
24 BuildRequires: libpng-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 BumpRace is a simple 1 or 2 player game where players choose among
30 four vehicles and race through a multi-level maze.
32 %description -l pl.UTF-8
33 BumpRace jest prostą grą dla 1 lub 2 osób, w której gracze wybierają
34 spośród czterech pojazdów i ścigają się w wielopoziomowym labiryncie.
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
52 DESTDIR=$RPM_BUILD_ROOT
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog FAQ README
63 %attr(755,root,root) %{_bindir}/*
65 %{_desktopdir}/%{name}.desktop
66 %{_pixmapsdir}/%{name}.xpm