]> git.pld-linux.org Git - packages/bumprace.git/blob - bumprace.spec
- up to 1.5.3
[packages/bumprace.git] / bumprace.spec
1 #
2 # Conditional build:
3 %bcond_without  SDL_mixer       # build without SDL_mixer
4 #
5 Summary:        A funny action game written with SDL
6 Summary(pl.UTF-8):      Zabawna gra oparta o SDL
7 Name:           bumprace
8 Version:        1.5.3
9 Release:        1
10 License:        GPL v2+
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
15 Source2:        %{name}.xpm
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)
26
27
28 %description
29 BumpRace is a simple 1 or 2 player game where players choose among
30 four vehicles and race through a multi-level maze.
31
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.
35
36 %prep
37 %setup -q
38
39 %build
40 rm -f missing
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog FAQ README 
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/%{name}
65 %{_desktopdir}/%{name}.desktop
66 %{_pixmapsdir}/%{name}.xpm
This page took 0.10293 seconds and 3 git commands to generate.