tUpdated documentation Makefiles and .spec file for proper RPM installation - v… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit da6ad6c1d08338a2e5188dd532a88d45be7ded68 | |
parent 234488fff189ab197c50a795a67da7bebb2ae696 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 9 Apr 2001 23:02:36 +0000 | |
Updated documentation Makefiles and .spec file for proper RPM installation | |
Diffstat: | |
M ChangeLog | 2 +- | |
M configure | 2 +- | |
M configure.in | 2 +- | |
M doc/Makefile.am | 8 ++++---- | |
M doc/Makefile.in | 8 ++++---- | |
M dopewars.spec | 18 +++++++++++------- | |
6 files changed, 22 insertions(+), 18 deletions(-) | |
--- | |
diff --git a/ChangeLog b/ChangeLog | |
t@@ -1,4 +1,4 @@ | |
-1.4.9 | |
+1.5.0-beta1 08-04-2001 | |
- Completely rewritten fighting code | |
- Internationalization (i18n) support | |
- Tense and case-sensitive translated strings handled via. dpg_ analogues | |
diff --git a/configure b/configure | |
t@@ -712,7 +712,7 @@ fi | |
PACKAGE=dopewars | |
-VERSION=1.4.8-devel | |
+VERSION=cvs | |
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | |
{ echo "configure: error: source directory already configured; run "make dis… | |
diff --git a/configure.in b/configure.in | |
t@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure scr… | |
AC_INIT(src/dopewars.c) | |
dnl Initialise automake | |
-AM_INIT_AUTOMAKE(dopewars,1.4.8-devel) | |
+AM_INIT_AUTOMAKE(dopewars,cvs) | |
dnl Write configuration defines into config.h | |
AM_CONFIG_HEADER(config.h) | |
diff --git a/doc/Makefile.am b/doc/Makefile.am | |
t@@ -1,10 +1,10 @@ | |
-DOCPATH=/usr/doc/${PACKAGE}-${VERSION}/ | |
-DOCS= aiplayer.html configfile.html index.html server.html \ | |
+DOCPATH=${datadir}/doc/${PACKAGE}-${VERSION}/ | |
+DOCS= aiplayer.html configfile.html index.html i18n.html server.html \ | |
clientplay.html credits.html installation.html \ | |
servercommands.html commandline.html developer.html \ | |
metaserver.html windows.html | |
install-data-local: | |
- ${INSTALL} -d -o root -g root -m 0755 ${DESTDIR}$(DOCPATH) | |
- ${INSTALL} -o root -g root -m 0644 $(DOCS) ${DESTDIR}$(DOCPATH) | |
+ ${INSTALL} -d -o root -g root -m 0755 ${DESTDIR}${DOCPATH} | |
+ ${INSTALL} -o root -g root -m 0644 ${DOCS} ${DESTDIR}${DOCPATH} | |
diff --git a/doc/Makefile.in b/doc/Makefile.in | |
t@@ -87,8 +87,8 @@ VERSION = @VERSION@ | |
l = @l@ | |
localedir = @localedir@ | |
-DOCPATH = /usr/doc/${PACKAGE}-${VERSION}/ | |
-DOCS = aiplayer.html configfile.html index.html server.html clientplay.h… | |
+DOCPATH = ${datadir}/doc/${PACKAGE}-${VERSION}/ | |
+DOCS = aiplayer.html configfile.html index.html i18n.html server.html cl… | |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
CONFIG_HEADER = ../config.h | |
t@@ -195,8 +195,8 @@ maintainer-clean-generic clean mostlyclean distclean maint… | |
install-data-local: | |
- ${INSTALL} -d -o root -g root -m 0755 ${DESTDIR}$(DOCPATH) | |
- ${INSTALL} -o root -g root -m 0644 $(DOCS) ${DESTDIR}$(DOCPATH) | |
+ ${INSTALL} -d -o root -g root -m 0755 ${DESTDIR}${DOCPATH} | |
+ ${INSTALL} -o root -g root -m 0644 ${DOCS} ${DESTDIR}${DOCPATH} | |
# Tell versions [3.59,3.63) of GNU make to not export all variables. | |
# Otherwise a system limit (for SysV at least) may be exceeded. | |
diff --git a/dopewars.spec b/dopewars.spec | |
t@@ -1,12 +1,12 @@ | |
Summary: Drug dealing game | |
Name: dopewars | |
-Version: 1.4.8-devel | |
+Version: cvs | |
Release: 1 | |
Distribution: Red Hat Linux | |
Vendor: Ben Webb | |
Copyright: GPL | |
Group: Games | |
-Source0: dopewars-1.4.8-devel.tar.gz | |
+Source0: dopewars-cvs.tar.gz | |
%description | |
Based on John E. Dell's old Drug Wars game, dopewars is a simulation of an | |
t@@ -24,7 +24,7 @@ switches (via dopewars -h) for further information. | |
%prep | |
%setup | |
%build | |
-./configure --bindir=/usr/bin --datadir=/var/lib/games | |
+./configure --prefix=/usr | |
make | |
%install | |
t@@ -32,9 +32,13 @@ make install-strip | |
%files | |
%doc ChangeLog LICENCE README | |
-%doc aiplayer.html clientplay.html configfile.html credits.html | |
-%doc developer.html example-cfg i18n.html index.html installation.html | |
-%doc metaserver.html server.html servercommands.html windows.html | |
+%doc doc/aiplayer.html doc/clientplay.html doc/configfile.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/windows.html | |
/usr/bin/dopewars | |
-/var/lib/games/dopewars.sco | |
+/usr/share/dopewars.sco | |
+/usr/share/locale/de/LC_MESSAGES/dopewars.mo | |
+/usr/share/locale/pl/LC_MESSAGES/dopewars.mo | |
+/usr/share/locale/pt_BR/LC_MESSAGES/dopewars.mo |