]> git.pld-linux.org Git - packages/bumprace.git/blob - bumprace.spec
- release 2 (auto- tags do not store epoch)
[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:        2
10 Epoch:          1
11 License:        GPL v2+
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
16 Source2:        %{name}.xpm
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)
26
27 %description
28 BumpRace is a simple 1 or 2 player game where players choose among
29 four vehicles and race through a multi-level maze.
30
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.
34
35 %prep
36 %setup -q
37
38 %build
39 rm -f missing
40 %{__aclocal}
41 %{__autoconf}
42 %{__automake}
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
54 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog FAQ README 
62 %attr(755,root,root) %{_bindir}/*
63 %{_datadir}/%{name}
64 %{_desktopdir}/%{name}.desktop
65 %{_pixmapsdir}/%{name}.xpm
This page took 0.08096 seconds and 3 git commands to generate.