add a stub package to provide quake-game and fix up some dependencies

This commit is contained in:
Bill Currie 2002-05-31 14:45:15 +00:00
parent 4d267abd2a
commit 0c6491712d

View file

@ -26,7 +26,7 @@ Source: %{name}-%{version}.tar.gz
Group: Amusements/Games Group: Amusements/Games
Copyright: GPL Copyright: GPL
#Icon: #Icon:
#Requires: Requires: quake-game
BuildRoot: /var/tmp/%{name}-%{version} BuildRoot: /var/tmp/%{name}-%{version}
Summary: QuakeForge 3D game engine Summary: QuakeForge 3D game engine
%description %description
@ -48,6 +48,19 @@ Software's very popular DOOM series. Its primary development goal is to
remain compatible with the original games released by id Software while remain compatible with the original games released by id Software while
adding portability and optional extensions to enhance gameplay. adding portability and optional extensions to enhance gameplay.
%package stub
Summary: QuakeForge 3D game engine - common files
Group: Amusements/Games
#Requires:
Provides: quake-game
%description stub
QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to
remain compatible with the original games released by id Software while
adding portability and optional extensions to enhance gameplay.
This sub-package provides the quake-game pseudo package.
%package utils %package utils
Summary: QuakeForge 3D game engine - utility programs Summary: QuakeForge 3D game engine - utility programs
Group: Amusements/Games Group: Amusements/Games
@ -61,7 +74,7 @@ adding portability and optional extensions to enhance gameplay.
%package servers %package servers
Summary: QuakeForge 3D game engine - Server Summary: QuakeForge 3D game engine - Server
Group: Amusements/Games Group: Amusements/Games
#Requires: Requires: quakeforge == %{version}, quakeforge-common == %{version}
%description servers %description servers
QuakeForge is a source port of Quake and QuakeWorld, the successors to id QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to Software's very popular DOOM series. Its primary development goal is to
@ -82,7 +95,7 @@ adding portability and optional extensions to enhance gameplay.
%package fbdev %package fbdev
Summary: QuakeForge 3D game engine - fbdev client Summary: QuakeForge 3D game engine - fbdev client
Group: Amusements/Games Group: Amusements/Games
#Requires: Requires: quakeforge == %{version}, quakeforge-common == %{version}
%description fbdev %description fbdev
QuakeForge is a source port of Quake and QuakeWorld, the successors to id QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to Software's very popular DOOM series. Its primary development goal is to
@ -94,7 +107,7 @@ adding portability and optional extensions to enhance gameplay.
%package glx %package glx
Summary: QuakeForge 3D game engine - glx client Summary: QuakeForge 3D game engine - glx client
Group: Amusements/Games Group: Amusements/Games
#Requires: Requires: quakeforge == %{version}, quakeforge-common == %{version}
%description glx %description glx
QuakeForge is a source port of Quake and QuakeWorld, the successors to id QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to Software's very popular DOOM series. Its primary development goal is to
@ -116,7 +129,7 @@ adding portability and optional extensions to enhance gameplay.
%package sdl %package sdl
Summary: QuakeForge 3D game engine - SDL client Summary: QuakeForge 3D game engine - SDL client
Group: Amusements/Games Group: Amusements/Games
#Requires: Requires: quakeforge == %{version}, quakeforge-common == %{version}
%description sdl %description sdl
QuakeForge is a source port of Quake and QuakeWorld, the successors to id QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to Software's very popular DOOM series. Its primary development goal is to
@ -126,7 +139,7 @@ adding portability and optional extensions to enhance gameplay.
%package sdl32 %package sdl32
Summary: QuakeForge 3D game engine - SDL client Summary: QuakeForge 3D game engine - SDL client
Group: Amusements/Games Group: Amusements/Games
#Requires: Requires: quakeforge == %{version}
%description sdl32 %description sdl32
QuakeForge is a source port of Quake and QuakeWorld, the successors to id QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to Software's very popular DOOM series. Its primary development goal is to
@ -136,7 +149,7 @@ adding portability and optional extensions to enhance gameplay.
%package sgl %package sgl
Summary: QuakeForge 3D game engine - SDL-GL client Summary: QuakeForge 3D game engine - SDL-GL client
Group: Amusements/Games Group: Amusements/Games
#Requires: Requires: quakeforge == %{version}
%description sgl %description sgl
QuakeForge is a source port of Quake and QuakeWorld, the successors to id QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to Software's very popular DOOM series. Its primary development goal is to
@ -148,7 +161,7 @@ adding portability and optional extensions to enhance gameplay.
%package svga %package svga
Summary: QuakeForge 3D game engine - SVGAlib client Summary: QuakeForge 3D game engine - SVGAlib client
Group: Amusements/Games Group: Amusements/Games
#Requires: Requires: quakeforge == %{version}
%description svga %description svga
QuakeForge is a source port of Quake and QuakeWorld, the successors to id QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to Software's very popular DOOM series. Its primary development goal is to
@ -160,7 +173,7 @@ adding portability and optional extensions to enhance gameplay.
%package x11 %package x11
Summary: QuakeForge 3D game engine - X11 client Summary: QuakeForge 3D game engine - X11 client
Group: Amusements/Games Group: Amusements/Games
#Requires: Requires: quakeforge == %{version}
%description x11 %description x11
QuakeForge is a source port of Quake and QuakeWorld, the successors to id QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to Software's very popular DOOM series. Its primary development goal is to
@ -341,6 +354,16 @@ rm -rf $RPM_BUILD_ROOT
%attr(-,root,root) %{_prefix}/man/man1/pak.1.gz %attr(-,root,root) %{_prefix}/man/man1/pak.1.gz
#%attr(-,root,root) %{_prefix}/man/man1/qfprogs.1.gz #%attr(-,root,root) %{_prefix}/man/man1/qfprogs.1.gz
%files stub
%post stub
if test -f %{_prefix}/share/games/quakeforge/id1/pak0.pak; then
else
echo Warning: %{_prefix}/share/games/quakeforge/id1/pak0.pak not found
echo Install either the shareware or registered quake data in
echo %{_prefix}/share/games/quakeforge
fi
%files servers %files servers
%attr(-,root,root) %{_prefix}/bin/qw-server %attr(-,root,root) %{_prefix}/bin/qw-server
%attr(-,root,root) %{_prefix}/bin/nq-server %attr(-,root,root) %{_prefix}/bin/nq-server