]>
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 |
344f4050 | 9 | Release: 2 |
1be12b55 | 10 | Epoch: 1 |
c9998089 | 11 | License: GPL v2+ |
4f34746e | 12 | Group: X11/Applications/Games |
5c47615e | 13 | Source0: http://user.cs.tu-berlin.de/~karlb/bumprace/%{name}-%{version}.tar.gz |
2ad302f5 | 14 | # Source0-md5: a72733718ee6eed8cd1657db89bf8e0d |
5c47615e | 15 | Source1: %{name}.desktop |
16 | Source2: %{name}.xpm | |
f208f651 | 17 | URL: http://www.linux-games.com/bumprace/ |
4f34746e | 18 | BuildRequires: SDL-devel >= 1.2.0 |
5c47615e | 19 | BuildRequires: SDL_image-devel >= 1.2.0 |
20 | %{?with_SDL_mixer:BuildRequires: SDL_mixer-devel >= 1.2.0} | |
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 | %description |
5c47615e | 28 | BumpRace is a simple 1 or 2 player game where players choose among |
29 | four vehicles and race through a multi-level maze. | |
4f34746e | 30 | |
731dc04c JR |
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. | |
4f34746e | 34 | |
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
39 | rm -f missing | |
47baa308 | 40 | %{__aclocal} |
1276e5a7 | 41 | %{__autoconf} |
42 | %{__automake} | |
4f34746e | 43 | %configure |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
5c47615e | 48 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
4f34746e | 49 | |
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
5c47615e | 53 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
54 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
4f34746e | 55 | |
4f34746e | 56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
c9998089 | 61 | %doc AUTHORS ChangeLog FAQ README |
4f34746e | 62 | %attr(755,root,root) %{_bindir}/* |
4f34746e | 63 | %{_datadir}/%{name} |
5c47615e | 64 | %{_desktopdir}/%{name}.desktop |
65 | %{_pixmapsdir}/%{name}.xpm |