]> git.pld-linux.org Git - packages/bumprace.git/blobdiff - bumprace.spec
- release 2 (auto- tags do not store epoch)
[packages/bumprace.git] / bumprace.spec
index 66412452e9974a741a13c06b4d01aab4d938be04..05da6f0676efa92ab97e5d7447cd3adc08d02aab 100644 (file)
@@ -1,64 +1,65 @@
-Summary:       A game
-Summary(pl):   Gra
+#
+# Conditional build:
+%bcond_without SDL_mixer       # build without SDL_mixer
+#
+Summary:       A funny action game written with SDL
+Summary(pl.UTF-8):     Zabawna gra oparta o SDL
 Name:          bumprace
-Version:       1.45
-Release:       1
-License:       GPL
+Version:       1.5.3
+Release:       2
+Epoch:         1
+License:       GPL v2+
 Group:         X11/Applications/Games
-Source0:       http://www.linux-games.com/%{name}/%{name}-%{version}.tar.gz
-#Source1:      %{name}.desktop
-#Source2:      %{name}.png
-URL:           http://www.linux-games.com/
+Source0:       http://user.cs.tu-berlin.de/~karlb/bumprace/%{name}-%{version}.tar.gz
+# Source0-md5: a72733718ee6eed8cd1657db89bf8e0d
+Source1:       %{name}.desktop
+Source2:       %{name}.xpm
+URL:           http://www.linux-games.com/bumprace/
 BuildRequires: SDL-devel >= 1.2.0
-BuildRequires: SDL_mixer-devel >= 1.2.0
+BuildRequires: SDL_image-devel >= 1.2.0
+%{?with_SDL_mixer:BuildRequires:       SDL_mixer-devel >= 1.2.0}
 BuildRequires: autoconf
-BuildRequires: XFree86-devel
 BuildRequires: automake
+BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-
 %description
-This is a clone of the classic "Black Box" Game, but it has better
-graphics and music.
+BumpRace is a simple 1 or 2 player game where players choose among
+four vehicles and race through a multi-level maze.
 
-%description -l pl
-To jest klon klasycznej gry "Black Box", lecz ma lepsz± grafikê i
-muzykê.
+%description -l pl.UTF-8
+BumpRace jest prostą grą dla 1 lub 2 osób, w której gracze wybierają
+spośród czterech pojazdów i ścigają się w wielopoziomowym labiryncie.
 
 %prep
 %setup -q
 
 %build
 rm -f missing
-aclocal
-autoconf
-automake -a -c
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__install} -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Games}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-#%{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
-#%{__install} %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
-
-gzip -9nf NEWS README AUTHORS
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog FAQ README 
 %attr(755,root,root) %{_bindir}/*
-#%{_mandir}/man6/*
 %{_datadir}/%{name}
-#%{_pixmapsdir}/*
-#%{_applnkdir}/Games/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.xpm
This page took 0.100722 seconds and 4 git commands to generate.