SPECS: bumprace.spec - 1.5.2 - BR: SDL_image-devel >= 1.2.0 - new ...

lisu lisu at pld-linux.org
Fri Dec 29 13:43:05 CET 2006


Author: lisu                         Date: Fri Dec 29 12:43:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 1.5.2
- BR: SDL_image-devel >= 1.2.0
- new Summary and description
- conditional build: without SDL_mixer
- desktop and icon files added

---- Files affected:
SPECS:
   bumprace.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/bumprace.spec
diff -u SPECS/bumprace.spec:1.16 SPECS/bumprace.spec:1.17
--- SPECS/bumprace.spec:1.16	Sat May 28 03:03:27 2005
+++ SPECS/bumprace.spec	Fri Dec 29 13:43:00 2006
@@ -1,18 +1,23 @@
 # $Revision$, $Date$
-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):	Zabawna gra oparta o SDL
 Name:		bumprace
-Version:	1.45
-Release:	2
+Version:	1.5.2
+Release:	1
 License:	GPL
 Group:		X11/Applications/Games
-Source0:	http://user.cs.tu-berlin.de/~karlb/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5:	c7dc43c8ee65141b069c6c5cfc1f483f
-#Source1:	%{name}.desktop
-#Source2:	%{name}.png
+Source0:	http://user.cs.tu-berlin.de/~karlb/bumprace/%{name}-%{version}.tar.gz
+# Source0-md5:	0f2a30553cf2b412c262087149cc63c8
+Source1:	%{name}.desktop
+Source2:	%{name}.xpm
 URL:		http://www.linux-games.com/
 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:	XFree86-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -22,12 +27,12 @@
 
 
 %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ę.
+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
@@ -42,13 +47,13 @@
 
 %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
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -57,10 +62,9 @@
 %defattr(644,root,root,755)
 %doc NEWS README AUTHORS
 %attr(755,root,root) %{_bindir}/*
-#%%{_mandir}/man6/*
 %{_datadir}/%{name}
-#%%{_pixmapsdir}/*
-#%%{_applnkdir}/Games/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.xpm
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -68,6 +72,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2006/12/29 12:43:00  lisu
+- 1.5.2
+- BR: SDL_image-devel >= 1.2.0
+- new Summary and description
+- conditional build: without SDL_mixer
+- desktop and icon files added
+
 Revision 1.16  2005/05/28 01:03:27  zbyniu
 - BR: libjpeg-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bumprace.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list