mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-23 20:42:27 +00:00
more uquake -> nuq changes
This commit is contained in:
parent
16d7581fc6
commit
4957bd7633
4 changed files with 11 additions and 11 deletions
|
@ -9,19 +9,19 @@ fi
|
|||
|
||||
rm -rf BUILD SPECS RPMS SOURCES SRPMS
|
||||
mkdir -p BUILD SPECS RPMS/{noarch,i386,i686} SOURCES SRPMS
|
||||
rm -rf ${temp_dir}/quakeforge-${version}
|
||||
cp -a $srcdir ${temp_dir}/quakeforge-${version}
|
||||
rm -rf ${temp_dir}/nuq-${version}
|
||||
cp -a $srcdir ${temp_dir}/nuq-${version}
|
||||
dest_dir=$PWD
|
||||
cd ${temp_dir}/quakeforge-${version}
|
||||
cd ${temp_dir}/nuq-${version}
|
||||
# this is needed to ensure there is a makefile
|
||||
./bootstrap
|
||||
./configure
|
||||
make distclean
|
||||
cd ${temp_dir}
|
||||
tar zcf ${dest_dir}/SOURCES/quakeforge-${version}.tar.gz quakeforge-${version}
|
||||
tar zcf ${dest_dir}/SOURCES/nuq-${version}.tar.gz nuq-${version}
|
||||
cd ${dest_dir}
|
||||
rm -rf ${temp_dir}/quakeforge-${version}
|
||||
rm -rf ${temp_dir}/nuq-${version}
|
||||
cat > rpmmacros <<EOF
|
||||
%_topdir $PWD
|
||||
EOF
|
||||
rpm -ba quakeforge.spec --rcfile rpmrc
|
||||
rpm -ba nuq.spec --rcfile rpmrc
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%define name quakeforge
|
||||
%define name nuq
|
||||
%define version @VERSION@
|
||||
%define release 1
|
||||
%define builddir $RPM_BUILD_DIR/%{name}-%{version}
|
||||
|
@ -20,7 +20,7 @@ Summary: 3D game engine based on id Software's Quake engine
|
|||
%description
|
||||
3D game engine based on id Software's Quake engine
|
||||
@configure_input@
|
||||
Please edit quakeforge.spec.in to add several more lines of description
|
||||
Please edit nuq.spec.in to add several more lines of description
|
||||
here if appropriate, and to delete these instructions.
|
||||
|
||||
%prep
|
|
@ -6,7 +6,7 @@ AM_CONFIG_HEADER(include/config.h)
|
|||
AC_CANONICAL_SYSTEM
|
||||
|
||||
dnl This is the only place where the package version appears
|
||||
AM_INIT_AUTOMAKE(uquake, 0.2.99alpha0)
|
||||
AM_INIT_AUTOMAKE(nuq, 0.2.99alpha0)
|
||||
|
||||
dnl Define the proper name and extra version numbers for package
|
||||
PROGRAM="QuakeForge: UQuake"
|
||||
|
@ -974,7 +974,7 @@ AC_SUBST(TARGETS)
|
|||
|
||||
dnl Output files
|
||||
AC_OUTPUT(
|
||||
RPM/uquake.spec
|
||||
RPM/nuq.spec
|
||||
RPM/build_rpm
|
||||
doc/Makefile
|
||||
doc/texinfo/Makefile
|
||||
|
@ -983,7 +983,7 @@ AC_OUTPUT(
|
|||
include/win32/version.h
|
||||
source/Makefile
|
||||
Makefile
|
||||
uquake.lsm,
|
||||
nuq.lsm,
|
||||
chmod +x RPM/build_rpm
|
||||
)
|
||||
AC_MSG_RESULT([
|
||||
|
|
Loading…
Reference in a new issue