]> git.pld-linux.org Git - packages/bumprace.git/blame - bumprace.spec
- release 2 (auto- tags do not store epoch)
[packages/bumprace.git] / bumprace.spec
CommitLineData
5c47615e 1#
2# Conditional build:
3%bcond_without SDL_mixer # build without SDL_mixer
4#
5Summary: A funny action game written with SDL
a23ed49c 6Summary(pl.UTF-8): Zabawna gra oparta o SDL
4f34746e 7Name: bumprace
2ad302f5 8Version: 1.5.3
344f4050 9Release: 2
1be12b55 10Epoch: 1
c9998089 11License: GPL v2+
4f34746e 12Group: X11/Applications/Games
5c47615e 13Source0: http://user.cs.tu-berlin.de/~karlb/bumprace/%{name}-%{version}.tar.gz
2ad302f5 14# Source0-md5: a72733718ee6eed8cd1657db89bf8e0d
5c47615e 15Source1: %{name}.desktop
16Source2: %{name}.xpm
f208f651 17URL: http://www.linux-games.com/bumprace/
4f34746e 18BuildRequires: SDL-devel >= 1.2.0
5c47615e 19BuildRequires: SDL_image-devel >= 1.2.0
20%{?with_SDL_mixer:BuildRequires: SDL_mixer-devel >= 1.2.0}
c2a574f0 21BuildRequires: autoconf
4f34746e 22BuildRequires: automake
427ccbe2 23BuildRequires: libjpeg-devel
4f34746e 24BuildRequires: libpng-devel
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
4f34746e 27%description
5c47615e 28BumpRace is a simple 1 or 2 player game where players choose among
29four vehicles and race through a multi-level maze.
4f34746e 30
731dc04c
JR
31%description -l pl.UTF-8
32BumpRace jest prostą grą dla 1 lub 2 osób, w której gracze wybierają
33spośród czterech pojazdów i ścigają się w wielopoziomowym labiryncie.
4f34746e 34
35%prep
36%setup -q
37
38%build
39rm -f missing
47baa308 40%{__aclocal}
1276e5a7 41%{__autoconf}
42%{__automake}
4f34746e 43%configure
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
5c47615e 48install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
4f34746e 49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
5c47615e 53install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
54install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
4f34746e 55
4f34746e 56%clean
57rm -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
This page took 0.079846 seconds and 4 git commands to generate.