tSDL and ESD plugin subpackages added. - vaccinewars - be a doctor and try to v… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 28f34555917783c5a966b1a3cc151e64ffe973c8 | |
parent 96a7acf01fb82f8d759d75da012005cdc966227b | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 13 May 2002 15:27:00 +0000 | |
SDL and ESD plugin subpackages added. | |
Diffstat: | |
M dopewars.spec | 29 +++++++++++++++++++++++++++++ | |
1 file changed, 29 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/dopewars.spec b/dopewars.spec | |
t@@ -9,6 +9,7 @@ Group: Amusements/Games | |
Source0: dopewars-cvs.tar.gz | |
BuildRoot: /tmp/dopewars-rpm | |
+BuildRequires: SDL_mixer-devel, esound-devel | |
%description | |
Based on John E. Dell's old Drug Wars game, dopewars is a simulation of an | |
t@@ -23,6 +24,23 @@ dopewars supports multiple players via. TCP/IP. Chatting to… | |
with other players (computer or human) is supported; check the command line | |
switches (via dopewars -h) for further information. | |
+%package esd | |
+Summary: dopewars ESD sound plugin | |
+Group: Amusements/Games | |
+Requires: dopewars | |
+%description esd | |
+This package adds a plugin to dopewars to allow sound to be output via. | |
+the ESD (Esound) daemon. | |
+ | |
+%package sdl | |
+Summary: dopewars SDL_mixer sound plugin | |
+Group: Amusements/Games | |
+Requires: dopewars | |
+%description sdl | |
+This package adds a plugin to dopewars to allow sound to be output via. | |
+the Simple DirectMedia Layer mixer (SDL_mixer) | |
+the ESD (Esound) daemon. | |
+ | |
%prep | |
%setup | |
%build | |
t@@ -54,7 +72,18 @@ rm -rf ${RPM_BUILD_ROOT} | |
/usr/share/locale/pt_BR/LC_MESSAGES/dopewars.mo | |
/usr/share/locale/fr/LC_MESSAGES/dopewars.mo | |
+%files esd | |
+%defattr(-,root,root) | |
+/usr/lib/dopewars/libsound_esd.so | |
+ | |
+%files sdl | |
+%defattr(-,root,root) | |
+/usr/lib/dopewars/libsound_sdl.so | |
+ | |
%changelog | |
+* Mon May 13 2002 Ben Webb <[email protected]> | |
+- SDL and ESD plugin subpackages added | |
+ | |
* Sun Feb 03 2002 Ben Webb <[email protected]> | |
- Use of %attr tidied up | |
- Rebuild with new version |