tDrop dependency on ESD - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b4a93fffa481ef1d1bc8cc2f8aa6f4b565ed1874
(DIR) parent 6c7458d99337c67d2c7be8b1552fe5fe7adb7f4f
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Wed, 2 Dec 2020 20:01:58 -0800
Drop dependency on ESD
Few if any modern Linux distributions ship
with ESD now, so don't require it to build
tthe RPM.
Diffstat:
M rpm/dopewars.spec.in | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/rpm/dopewars.spec.in b/rpm/dopewars.spec.in
t@@ -7,9 +7,8 @@ URL: https://dopewars.sourceforge.io/
License: GPL
Group: Amusements/Games
Source0: %{name}-%{version}.tar.gz
-Obsoletes: dopewars-esd = 1.5.7
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
-BuildRequires: SDL2_mixer-devel, SDL2-devel, esound-devel
+BuildRequires: SDL2_mixer-devel, SDL2-devel
%description
Based on John E. Dell's old Drug Wars game, dopewars is a simulation of an
t@@ -37,7 +36,7 @@ the Simple DirectMedia Layer mixer (SDL2 and SDL_mixer).
%build
%define _localstatedir /var/lib/games
-%configure --with-sdl --with-esd
+%configure --with-sdl
make
%install
t@@ -60,7 +59,6 @@ test "$RPM_BUILD_ROOT" != "/" && rm -rf ${RPM_BUILD_ROOT}
%attr(2755,root,games) %{_bindir}/dopewars
%attr(0660,root,games) %config %{_localstatedir}/dopewars.sco
%{_mandir}/man6/dopewars.6.gz
-%{_libdir}/dopewars/libsound_esd.so
%{_datadir}/gnome/apps/Games/dopewars.desktop
%{_datadir}/pixmaps/dopewars-pill.png
%{_datadir}/pixmaps/dopewars-weed.png