Skip to content

Commit

Permalink
2007-07-20 Pace Willisson <[email protected]>
Browse files Browse the repository at this point in the history
	* V169

	* generate mkrpm and raceintospace.spec during autoconf

	* change version number to 0.4.2 since rpm doesn't like
	dashes in version numbers
  • Loading branch information
pace committed Jul 20, 2007
1 parent 9a83621 commit 5b30a3c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 8 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2007-07-20 Pace Willisson <[email protected]>

* V169

* generate mkrpm and raceintospace.spec during autoconf

* change version number to 0.4.2 since rpm doesn't like
dashes in version numbers

2007-07-19 Krzysztof Kosciuszkiewicz <[email protected]>

* V168
Expand Down
4 changes: 3 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ PROGS = $(addsuffix @EXEEXT@, \

EXTRA_SOURCES = AUTHORS README COPYING DEVELOPER TODO ChangeLog \
raceintospace.6 \
configure Makefile.in race.h.in \
configure Makefile.in race.h.in mkrpm.in \
raceintospace.spec.in \
$(wildcard m4/*.m4) \
$(shell find os_macosx -name CVS -prune -o -type f -print) \
os_win32/configure.mingw os_win32/Shuttle.ico \
Expand Down Expand Up @@ -137,6 +138,7 @@ clean:

distclean: clean
rm -f config.log config.cache config.status Makefile
rm -f mkrpm raceintospace.spec
rm -f int_types.h race.h
rm -f configure
rm -rf autom4te.cache
Expand Down
4 changes: 3 additions & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dnl ===========================
dnl === Initialize autoconf ===
dnl ===========================

AC_INIT(Race Into Space,0.4-2,[email protected],raceintospace)
AC_INIT(Race Into Space,0.4.2,[email protected],raceintospace)

AC_CONFIG_MACRO_DIR([m4])

Expand Down Expand Up @@ -143,4 +143,6 @@ AC_CONFIG_HEADER(race.h)
if test -n "$build_win" ; then
AC_CONFIG_FILES(installer.nsi, chmod a-w installer.nsi)
fi
AC_CONFIG_FILES(mkrpm raceintospace.spec, chmod a+x mkrpm)

AC_OUTPUT(Makefile, chmod a-w Makefile race.h)
6 changes: 3 additions & 3 deletions mkrpm → mkrpm.in
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#! /bin/sh

name=raceintospace
ver=0.4
name=@PACKAGE_TARNAME@
ver=@PACKAGE_VERSION@

name_ver=${name}-${ver}

make tar
cp ${name_ver}.tar.gz ~/rpmbuild/SOURCES/.

(
sed "s/@VER@/$ver/" < $name.spec
cat ${name}.spec
find /usr/local/share/raceintospace -type f -print | sed 's:/local::'
) > ~/rpmbuild/SPECS/$name.spec

Expand Down
4 changes: 2 additions & 2 deletions raceintospace.spec → raceintospace.spec.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: raceintospace
Version: @VER@
Name: @PACKAGE_TARNAME@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: A strategy game

Expand Down
2 changes: 1 addition & 1 deletion version.c
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
168
169

0 comments on commit 5b30a3c

Please sign in to comment.