tHave autoconf auto-generate RPM package file and manpage; fix typo in manpage (--no-color, not --nocolor) - 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 4c775604d14d077af53ac81e531dd1f49d33a826
 (DIR) parent 9f2a93b1ccef17bce483e5c3a188a0b7b154b383
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Sat, 19 Oct 2002 20:32:15 +0000
       
       Have autoconf auto-generate RPM package file and manpage; fix typo in manpage
       (--no-color, not --nocolor)
       
       
       Diffstat:
         M configure.in                        |       3 +++
         D doc/dopewars.6                      |      75 -------------------------------
         A doc/dopewars.6.in                   |      75 +++++++++++++++++++++++++++++++
         D dopewars.spec                       |     105 -------------------------------
         A dopewars.spec.in                    |     105 +++++++++++++++++++++++++++++++
       
       5 files changed, 183 insertions(+), 180 deletions(-)
       ---
 (DIR) diff --git a/configure.in b/configure.in
       t@@ -352,6 +352,7 @@ dnl Tell dopewars where the high scores, docs and locale files are
        DP_EXPAND_DIR(DPDATADIR, '${datadir}')
        AC_DEFINE_UNQUOTED(DPDATADIR, "$DPDATADIR",
                           [The directory containing the high score file and docs])
       +AC_SUBST(DPDATADIR)
        
        localedir=${datadir}/locale
        AC_SUBST(localedir)
       t@@ -401,6 +402,8 @@ sounds/19.5degs/Makefile
        doc/Makefile
        doc/help/Makefile
        intl/Makefile
       +dopewars.spec
       +doc/dopewars.6
        po/Makefile.in],
        [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
        
 (DIR) diff --git a/doc/dopewars.6 b/doc/dopewars.6
       t@@ -1,75 +0,0 @@
       -.TH DOPEWARS 6
       -.SH NAME
       -dopewars \- drug dealing game
       -.SH SYNOPSIS
       -.B dopewars
       -.I "[OPTIONS] ..."
       -.SH "DESCRIPTION"
       -.B dopewars
       -is a ncurses- and GTK- based drug dealing game based in New York, with you as
       -the drug dealer striving to become filthy rich. It supports network
       -play and single-player games.
       -.SH OPTIONS
       -Valid commandline options:
       -.TP
       -\fB\-b\fR, \fB\-\-nocolor\fR, \fB\-\-nocolour\fR
       -"black and white", i.e. do not use pretty colours
       -.TP
       -\fB\-n\fR, \fB\-\-single\-player\fR
       -Do not connect to any available dopewars servers
       -.TP
       -\fB\-a\fR, \fB\-\-antique\fR
       -Antique dopewars; stick as close as possible to the functionality of the
       -original version.
       -.TP
       -\fB\-f\fR, \fB\-\-scorefile\fR=\fIFILE\fR
       -Specify a file to use as high score table (defaults to /var/games/dopewars/dopewars.sco)
       -.TP
       -\fB\-o\fR, \fB\-\-hostname\fR=\fIADDR\fR
       -Specify a multiplayer hostname
       -.TP
       -\fB\-s\fR, \fB\-\-public\-server\fR
       -Run in server mode. (Note: see the \fB\-A\fR option for configuring a server
       -once it's running.)
       -.TP
       -\fB\-S\fR, \fB\-\-private\-server\fR
       -Run as a "private" server (do not report to the metaserver)
       -.TP
       -\fB\-p\fR, \fB\-\-port\fR=\fIPORT\fR
       -Specify the network port to use
       -.TP
       -\fB\-g\fR, \fB\-\-config\-file\fR=\fIFILE\fR
       -Specify the pathname of a dopewars configuration file
       -.TP
       -\fB\-r\fR, \fB\-\-pidfile\fR=\fIFILE\fR
       -Specify the pathname of a PID file to maintain while running as a server
       -.TP
       -\fB\-l\fR, \fB\-\-logfile\fR=\fIFILE\fR
       -Write log messages to the given file (rather than standard output)
       -.TP
       -\fB\-A\fR, \fB\-\-admin\fR
       -Connect to a server running on localhost, for administration
       -.TP
       -\fB\-c\fR, \fB\-\-ai\-player\fR
       -Create and run a computer player
       -.TP
       -\fB\-w\fR, \fB\-\-windowed\-client\fR
       -Force the use of a graphical client (GTK+ or Win32)
       -.TP
       -\fB\-t\fR, \fB\-\-text\-client\fR
       -Force the use of a text-mode (curses) client (by default, a windowed client
       -is used when possible)
       -.TP
       -\fB\-C\fR, \fB\-\-convert\fR=\fIFILE\fR
       -Convert a high score file used by dopewars-1.5.1 or earlier to the format
       -used by more recent versions
       -.TP
       -\fB\-h\fR, \fB\-\-help\fR
       -Display a help screen
       -.TP
       -\fB\-v\fR, \fB\-\-version\fR
       -Output version information and exit.
       -.SH AUTHOR
       -This manual page was written by Leon Breedt <ljb@debian.org>,
       -for the Debian GNU/Linux system (but may be used by others). Additional
       -updates by Ben Webb <ben@bellatrix.pcl.ox.ac.uk>.
 (DIR) diff --git a/doc/dopewars.6.in b/doc/dopewars.6.in
       t@@ -0,0 +1,75 @@
       +.TH DOPEWARS 6
       +.SH NAME
       +dopewars \- drug dealing game
       +.SH SYNOPSIS
       +.B dopewars
       +.I "[OPTIONS] ..."
       +.SH "DESCRIPTION"
       +.B dopewars
       +is a ncurses- and GTK- based drug dealing game based in New York, with you as
       +the drug dealer striving to become filthy rich. It supports network
       +play and single-player games.
       +.SH OPTIONS
       +Valid commandline options:
       +.TP
       +\fB\-b\fR, \fB\-\-no\-color\fR, \fB\-\-no\-colour\fR
       +"black and white", i.e. do not use pretty colours
       +.TP
       +\fB\-n\fR, \fB\-\-single\-player\fR
       +Do not connect to any available dopewars servers
       +.TP
       +\fB\-a\fR, \fB\-\-antique\fR
       +Antique dopewars; stick as close as possible to the functionality of the
       +original version.
       +.TP
       +\fB\-f\fR, \fB\-\-scorefile\fR=\fIFILE\fR
       +Specify a file to use as high score table (defaults to @DPDATADIR@/dopewars.sco)
       +.TP
       +\fB\-o\fR, \fB\-\-hostname\fR=\fIADDR\fR
       +Specify a multiplayer hostname
       +.TP
       +\fB\-s\fR, \fB\-\-public\-server\fR
       +Run in server mode. (Note: see the \fB\-A\fR option for configuring a server
       +once it's running.)
       +.TP
       +\fB\-S\fR, \fB\-\-private\-server\fR
       +Run as a "private" server (do not report to the metaserver)
       +.TP
       +\fB\-p\fR, \fB\-\-port\fR=\fIPORT\fR
       +Specify the network port to use
       +.TP
       +\fB\-g\fR, \fB\-\-config\-file\fR=\fIFILE\fR
       +Specify the pathname of a dopewars configuration file
       +.TP
       +\fB\-r\fR, \fB\-\-pidfile\fR=\fIFILE\fR
       +Specify the pathname of a PID file to maintain while running as a server
       +.TP
       +\fB\-l\fR, \fB\-\-logfile\fR=\fIFILE\fR
       +Write log messages to the given file (rather than standard output)
       +.TP
       +\fB\-A\fR, \fB\-\-admin\fR
       +Connect to a server running on localhost, for administration
       +.TP
       +\fB\-c\fR, \fB\-\-ai\-player\fR
       +Create and run a computer player
       +.TP
       +\fB\-w\fR, \fB\-\-windowed\-client\fR
       +Force the use of a graphical client (GTK+ or Win32)
       +.TP
       +\fB\-t\fR, \fB\-\-text\-client\fR
       +Force the use of a text-mode (curses) client (by default, a windowed client
       +is used when possible)
       +.TP
       +\fB\-C\fR, \fB\-\-convert\fR=\fIFILE\fR
       +Convert a high score file used by dopewars-1.5.1 or earlier to the format
       +used by more recent versions
       +.TP
       +\fB\-h\fR, \fB\-\-help\fR
       +Display a help screen
       +.TP
       +\fB\-v\fR, \fB\-\-version\fR
       +Output version information and exit.
       +.SH AUTHOR
       +This manual page was written by Leon Breedt <ljb@debian.org>,
       +for the Debian GNU/Linux system (but may be used by others). Additional
       +updates by Ben Webb <ben@bellatrix.pcl.ox.ac.uk>.
 (DIR) diff --git a/dopewars.spec b/dopewars.spec
       t@@ -1,105 +0,0 @@
       -Summary:       Drug dealing game
       -Name:          dopewars
       -Version:       cvs
       -Release:       1
       -Vendor:        Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       -URL:           http://dopewars.sourceforge.net/
       -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: SDL_mixer-devel, esound-devel
       -
       -%description
       -Based on John E. Dell's old Drug Wars game, dopewars is a simulation of an    
       -imaginary drug market.  dopewars is an All-American game which features       
       -buying, selling, and trying to get past the cops!                              
       -                                                                                
       -The first thing you need to do is pay off your debt to the Loan Shark. After   
       -that, your goal is to make as much money as possible (and stay alive)! You     
       -have one month of game time to make your fortune.                              
       -
       -dopewars supports multiple players via. TCP/IP. Chatting to and fighting
       -with other players (computer or human) is supported; check the command line
       -switches (via dopewars -h) for further information. 
       -
       -%package sdl
       -Summary:  dopewars SDL_mixer sound plugin
       -Group:    Amusements/Games
       -Requires: %{name}
       -%description sdl
       -This package adds a plugin to dopewars to allow sound to be output via.
       -the Simple DirectMedia Layer mixer (SDL_mixer).
       -
       -%prep
       -%setup
       -
       -%build
       -%configure --with-sdl --with-esd
       -make
       -
       -%install
       -make install DESTDIR=${RPM_BUILD_ROOT}
       -%find_lang %{name}
       -
       -%clean
       -test "$RPM_BUILD_ROOT" != "/" && rm -rf ${RPM_BUILD_ROOT}
       -
       -%post
       -%{_bindir}/dopewars -C %{_datadir}/dopewars.sco
       -
       -%files -f %{name}.lang
       -%defattr(-,root,root)
       -%doc ChangeLog LICENCE README doc/aiplayer.html doc/clientplay.html
       -%doc doc/configfile.html doc/contribute.html doc/credits.html
       -%doc doc/developer.html doc/example-cfg doc/i18n.html doc/index.html
       -%doc doc/installation.html doc/metaserver.html doc/server.html
       -%doc doc/servercommands.html doc/protocol.html doc/windows.html
       -%attr(2755,root,games) %{_bindir}/dopewars
       -%attr(0660,root,games) %config %{_datadir}/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
       -%{_datadir}/pixmaps/dopewars-shot.png
       -%{_datadir}/dopewars/bye.wav
       -%{_datadir}/dopewars/colt.wav
       -%{_datadir}/dopewars/die.wav
       -%{_datadir}/dopewars/gun.wav
       -%{_datadir}/dopewars/jet.wav
       -%{_datadir}/dopewars/losebitch.wav
       -%{_datadir}/dopewars/message.wav
       -%{_datadir}/dopewars/murmur.wav
       -%{_datadir}/dopewars/punch.wav
       -%{_datadir}/dopewars/run.wav
       -%{_datadir}/dopewars/shotdown.wav
       -%{_datadir}/dopewars/train.wav
       -
       -%files sdl
       -%defattr(-,root,root)
       -%{_libdir}/dopewars/libsound_sdl.so
       -
       -%changelog
       -* Fri Oct 18 2002 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       -- ESD plugin incorporated into main package
       -- Sound files added to distribution
       -
       -* Fri Jun 21 2002 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       -- Description typos corrected
       -- A lot of hardcoded texts replaced with %{name} etc.
       -- Redundant make arguments removed
       -
       -* Mon May 13 2002 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       -- SDL and ESD plugin subpackages added
       -
       -* Sun Feb 03 2002 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       -- Use of %attr tidied up
       -- Rebuild with new version
       -
       -* Wed Oct 17 2001 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       -- Added in %attrs to allow building by non-root users
       -
       -* Wed Sep 26 2001 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       -- Added support for a buildroot
 (DIR) diff --git a/dopewars.spec.in b/dopewars.spec.in
       t@@ -0,0 +1,105 @@
       +Summary:       Drug dealing game
       +Name:          @PACKAGE@
       +Version:       @VERSION@
       +Release:       1
       +Vendor:        Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       +URL:           http://dopewars.sourceforge.net/
       +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: SDL_mixer-devel, esound-devel
       +
       +%description
       +Based on John E. Dell's old Drug Wars game, dopewars is a simulation of an    
       +imaginary drug market.  dopewars is an All-American game which features       
       +buying, selling, and trying to get past the cops!                              
       +                                                                                
       +The first thing you need to do is pay off your debt to the Loan Shark. After   
       +that, your goal is to make as much money as possible (and stay alive)! You     
       +have one month of game time to make your fortune.                              
       +
       +dopewars supports multiple players via. TCP/IP. Chatting to and fighting
       +with other players (computer or human) is supported; check the command line
       +switches (via dopewars -h) for further information. 
       +
       +%package sdl
       +Summary:  dopewars SDL_mixer sound plugin
       +Group:    Amusements/Games
       +Requires: %{name}
       +%description sdl
       +This package adds a plugin to dopewars to allow sound to be output via.
       +the Simple DirectMedia Layer mixer (SDL_mixer).
       +
       +%prep
       +%setup
       +
       +%build
       +%configure --with-sdl --with-esd
       +make
       +
       +%install
       +make install DESTDIR=${RPM_BUILD_ROOT}
       +%find_lang %{name}
       +
       +%clean
       +test "$RPM_BUILD_ROOT" != "/" && rm -rf ${RPM_BUILD_ROOT}
       +
       +%post
       +%{_bindir}/dopewars -C %{_datadir}/dopewars.sco
       +
       +%files -f %{name}.lang
       +%defattr(-,root,root)
       +%doc ChangeLog LICENCE README doc/aiplayer.html doc/clientplay.html
       +%doc doc/configfile.html doc/contribute.html doc/credits.html
       +%doc doc/developer.html doc/example-cfg doc/i18n.html doc/index.html
       +%doc doc/installation.html doc/metaserver.html doc/server.html
       +%doc doc/servercommands.html doc/protocol.html doc/windows.html
       +%attr(2755,root,games) %{_bindir}/dopewars
       +%attr(0660,root,games) %config %{_datadir}/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
       +%{_datadir}/pixmaps/dopewars-shot.png
       +%{_datadir}/dopewars/bye.wav
       +%{_datadir}/dopewars/colt.wav
       +%{_datadir}/dopewars/die.wav
       +%{_datadir}/dopewars/gun.wav
       +%{_datadir}/dopewars/jet.wav
       +%{_datadir}/dopewars/losebitch.wav
       +%{_datadir}/dopewars/message.wav
       +%{_datadir}/dopewars/murmur.wav
       +%{_datadir}/dopewars/punch.wav
       +%{_datadir}/dopewars/run.wav
       +%{_datadir}/dopewars/shotdown.wav
       +%{_datadir}/dopewars/train.wav
       +
       +%files sdl
       +%defattr(-,root,root)
       +%{_libdir}/dopewars/libsound_sdl.so
       +
       +%changelog
       +* Fri Oct 18 2002 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       +- ESD plugin incorporated into main package
       +- Sound files added to distribution
       +
       +* Fri Jun 21 2002 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       +- Description typos corrected
       +- A lot of hardcoded texts replaced with %{name} etc.
       +- Redundant make arguments removed
       +
       +* Mon May 13 2002 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       +- SDL and ESD plugin subpackages added
       +
       +* Sun Feb 03 2002 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       +- Use of %attr tidied up
       +- Rebuild with new version
       +
       +* Wed Oct 17 2001 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       +- Added in %attrs to allow building by non-root users
       +
       +* Wed Sep 26 2001 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       +- Added support for a buildroot