]>
Commit | Line | Data |
---|---|---|
5c47615e | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without SDL_mixer # build without SDL_mixer | |
4 | # | |
5 | Summary: A funny action game written with SDL | |
a23ed49c | 6 | Summary(pl.UTF-8): Zabawna gra oparta o SDL |
4f34746e | 7 | Name: bumprace |
2ad302f5 | 8 | Version: 1.5.3 |
5c47615e | 9 | Release: 1 |
c9998089 | 10 | License: GPL v2+ |
4f34746e | 11 | Group: X11/Applications/Games |
5c47615e | 12 | Source0: http://user.cs.tu-berlin.de/~karlb/bumprace/%{name}-%{version}.tar.gz |
2ad302f5 | 13 | # Source0-md5: a72733718ee6eed8cd1657db89bf8e0d |
5c47615e | 14 | Source1: %{name}.desktop |
15 | Source2: %{name}.xpm | |
f208f651 | 16 | URL: http://www.linux-games.com/bumprace/ |
4f34746e | 17 | BuildRequires: SDL-devel >= 1.2.0 |
5c47615e | 18 | BuildRequires: SDL_image-devel >= 1.2.0 |
19 | %{?with_SDL_mixer:BuildRequires: SDL_mixer-devel >= 1.2.0} | |
4f34746e | 20 | BuildRequires: XFree86-devel |
c2a574f0 | 21 | BuildRequires: autoconf |
4f34746e | 22 | BuildRequires: automake |
427ccbe2 | 23 | BuildRequires: libjpeg-devel |
4f34746e | 24 | BuildRequires: libpng-devel |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
4f34746e | 27 | |
28 | %description | |
5c47615e | 29 | BumpRace is a simple 1 or 2 player game where players choose among |
30 | four vehicles and race through a multi-level maze. | |
4f34746e | 31 | |
731dc04c JR |
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. | |
4f34746e | 35 | |
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | rm -f missing | |
47baa308 | 41 | %{__aclocal} |
1276e5a7 | 42 | %{__autoconf} |
43 | %{__automake} | |
4f34746e | 44 | %configure |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
5c47615e | 49 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
4f34746e | 50 | |
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
5c47615e | 54 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
55 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
4f34746e | 56 | |
4f34746e | 57 | %clean |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
c9998089 | 62 | %doc AUTHORS ChangeLog FAQ README |
4f34746e | 63 | %attr(755,root,root) %{_bindir}/* |
4f34746e | 64 | %{_datadir}/%{name} |
5c47615e | 65 | %{_desktopdir}/%{name}.desktop |
66 | %{_pixmapsdir}/%{name}.xpm |