diff --git a/RPM/quakeforge.spec.in b/RPM/quakeforge.spec.in index 98037b27e..01d7b77a9 100644 --- a/RPM/quakeforge.spec.in +++ b/RPM/quakeforge.spec.in @@ -28,7 +28,7 @@ Source: %{name}-%{version}.tar.gz Group: Amusements/Games Copyright: GPL #Icon: -Requires: quake-game +Requires: quakeforge-common, quakeforge-client, quake-game BuildRoot: /var/tmp/%{name}-%{version} Summary: QuakeForge 3D game engine %description @@ -38,8 +38,6 @@ remain compatible with the original games released by id Software while adding portability and optional extensions to enhance gameplay. - - %package common Summary: QuakeForge 3D game engine - common files Group: Amusements/Games @@ -50,6 +48,208 @@ 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 package contains files and shared libraries common to all QuakeForge +packages. + + +%package devel +Summary: QuakeForge 3D game engine - headers and devel libs +Group: Amusements/Games +Requires: quakeforge-common +%description devel +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 package contains headers and static libraries for the development of +utilities and applications for QuakeForge. + +%if "%{HAVE_SDL}"=="'yes'" +%package sdl +Summary: QuakeForge 3D game engine - SDL client +Group: Amusements/Games +Requires: quakeforge == %{version}, quakeforge-common == %{version} +%description sdl +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 package contains the SDL versions of the QuakeWorld client and +standalone engine. + +%package sgl +Summary: QuakeForge 3D game engine - SDL-GL client +Group: Amusements/Games +Requires: quakeforge == %{version} +%description sgl +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 package contains the SDL-GL versions of the QuakeForge client and +standalone engine. +%endif + +%if "%{HAVE_SVGA}"=="'yes'" +%package svga +Summary: QuakeForge 3D game engine - SVGAlib client +Group: Amusements/Games +Requires: quakeforge == %{version} +%description svga +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 package contains the SVGAlib versions of the QuakeWorld client and +standalone engine. +%endif + +%if "%{HAVE_X11}"=="'yes'" +%package x11 +Summary: QuakeForge 3D game engine - X11 client +Group: Amusements/Games +Requires: quakeforge == %{version} +%description x11 +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 package contains the X11 versions of the QuakeForge client and +standalone engine. +%endif + +%if "%{HAVE_X11}"=="'yes'" +%package glx +Summary: QuakeForge 3D game engine - glx client +Group: Amusements/Games +Requires: quakeforge == %{version}, quakeforge-common == %{version} +%description glx +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 package contains the GLX versions of the QuakeForge client and +standalone engine. +%endif + +%package servers +Summary: QuakeForge 3D game engine - Server +Group: Amusements/Games +Requires: quakeforge == %{version}, quakeforge-common == %{version} +%description servers +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 package contains both the QuakeWorld-compatible and +NetQuake-compatible dedicated servers, as well as a simple +QuakeWorld-compatible master server. + +%if "%{BUILD_SW}"=="'yes'" +%package libs-sw +Summary: QuakeForge 3D game engine - Software renderer libraries +Group: Amusements/Games +#Requires: +%description libs-sw +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 package contains the shared libraries needed to use the software +rendering targets. +%endif + +%if "%{BUILD_GL}"=="'yes'" +%package libs-gl +Summary: QuakeForge 3D game engine - OpenGL renderer libraries +Group: Amusements/Games +#Requires: +%description libs-gl +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 package contains the shared libraries needed to use the OpenGL +rendering targets. +%endif + +%if "%{HAVE_OSS}"=="'yes'" +%package oss +Summary: OSS sound plugin for QuakeForge +Group: Amusements/Games +#Requires: +%description oss +The OSS plugin for QuakeForge provides digital audio output (using OSS/Linux, +OSS/Free, or kernel sound) for QuakeForge targets that contain clients. + +NOTE: This plugin does not work on all systems, since it uses memory-mapped +I/O for the output device. If you have trouble, try the quakeforge-alsa +package. +%endif + +%if "%{HAVE_ALSA}"=="'yes'" +%package alsa +Summary: ALSA 0.9 sound plugin for QuakeForge +Group: Amusements/Games +#Requires: +%description alsa +The ALSA 0.9 plugin for QuakeForge provides digital audio output for QuakeForge +targets that contain clients. +%endif + +%package utils +Summary: QuakeForge 3D game engine - utility programs +Group: Amusements/Games +#Requires: +%description utils +This package contains several tools for use with QuakeForge: +* pak, a pakfile management tool. +* zpak, a script for compressing pakfiles. +* qfdefs, a tool for fixing up progs data files so they can be used with + QuakeForge-based servers. +* qfprogs, a "nm" tool for examining progs data files. +* qfwavinfo, a tool to assist in converting "looped" WAV files to Ogg + Vorbis. + + +%package maptools +Summary: QuakeForge 3D game engine - headers and devel libs +Group: Amusements/Games +Requires: quakeforge-common +%description maptools +This package contains QuakeForge's versions of the tools Id Software used +to create maps for the Quake engine. Included are: + +* qfbsp, a program for compiling a map file into a BSP tree. +* qflight, a program for generating lightmaps from the static lights in a + BSP file. +* qfvis, a program for generating the Possibly-Visible Set information from + a BSP and a portal information file (generated by qfbsp). + +%package -n qfcc +Summary: QuakeForge QC/Ruamoko compiler +#FIXME correct group? +Group: Amusements/Games +Requires: quakeforge-common +%description -n qfcc +QFCC is an optimizing byte-code compiler for the Ruamoko language, a language +based strongly on Id Software's QuakeC. The bytecode interpreter for QuakeC +and Ruamoko is located inside the Quake engine (though there is a standalone +interpreter available). + +QFCC is designed to work with the QuakeForge engines, but will work with +most non-QuakeForge servers with a couple of changes to its command-line +options. + %package stub Summary: QuakeForge 3D game engine - common files Group: Amusements/Games @@ -63,247 +263,6 @@ adding portability and optional extensions to enhance gameplay. This sub-package provides the quake-game pseudo package. -%package utils -Summary: QuakeForge 3D game engine - utility programs -Group: Amusements/Games -#Requires: -%description utils -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. - -%package servers -Summary: QuakeForge 3D game engine - Server -Group: Amusements/Games -Requires: quakeforge == %{version}, quakeforge-common == %{version} -%description servers -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. - -#%package master -#Summary: QuakeForge 3D game engine - Master Server -#Group: Amusements/Games -##Requires: -#%description master -#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. - -%if "%{HAVE_FBDEV}"=="'yes'" -%package fbdev -Summary: QuakeForge 3D game engine - fbdev client -Group: Amusements/Games -Requires: quakeforge == %{version}, quakeforge-common == %{version} -%description fbdev -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. -%endif - -%if "%{HAVE_X11}"=="'yes'" -%package glx -Summary: QuakeForge 3D game engine - glx client -Group: Amusements/Games -Requires: quakeforge == %{version}, quakeforge-common == %{version} -%description glx -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. -%endif - -%if "%{HAVE_SDL}"=="'yes'" -%package cd-sdl -Summary: QuakeForge 3D game engine - SDL CD plugin -Group: Amusements/Games -#Requires: -%description cd-sdl -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. - -%package sdl -Summary: QuakeForge 3D game engine - SDL client -Group: Amusements/Games -Requires: quakeforge == %{version}, quakeforge-common == %{version} -%description sdl -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. - -%package sdl32 -Summary: QuakeForge 3D game engine - SDL client -Group: Amusements/Games -Requires: quakeforge == %{version} -%description sdl32 -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. - -%package sgl -Summary: QuakeForge 3D game engine - SDL-GL client -Group: Amusements/Games -Requires: quakeforge == %{version} -%description sgl -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. -%endif - -%if "%{HAVE_SVGA}"=="'yes'" -%package svga -Summary: QuakeForge 3D game engine - SVGAlib client -Group: Amusements/Games -Requires: quakeforge == %{version} -%description svga -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. -%endif - -%if "%{HAVE_X11}"=="'yes'" -%package x11 -Summary: QuakeForge 3D game engine - X11 client -Group: Amusements/Games -Requires: quakeforge == %{version} -%description x11 -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. -%endif - -%if "%{HAVE_ALSA}"=="'yes'" -%package snd-alsa -Summary: ALSA 0.9 sound plugin for QuakeForge -Group: Amusements/Games -#Requires: -%description snd-alsa -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. - -The ALSA 0.9 plugin for QuakeForge provides digital audio output for QuakeForge -targets that contain clients. -%endif - -%if "%{HAVE_OSS}"=="'yes'" -%package snd-oss -Summary: OSS sound plugin for QuakeForge -Group: Amusements/Games -#Requires: -%description snd-oss -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. - -The OSS plugin for QuakeForge provides digital audio output (using OSS/Linux, -OSS/Free, or kernel sound) for QuakeForge targets that contain clients. - -NOTE: This plugin does not work on all systems, since it uses memory-mapped -I/O for the output device. If you have trouble, try the quakeforge-alsa -package. -%endif - -%if "%{HAVE_SDL}"=="'yes'" -%package snd-sdl -Summary: SDL sound plugin for QuakeForge -Group: Amusements/Games -#Requires: -%description snd-sdl -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. - -The SDL plugin for QuakeForge provides digital audio output for QuakeForge -targets that contain clients. -%endif - -%if "%{BUILD_GL}"=="'yes'" -%package libs-gl -Summary: QuakeForge 3D game engine - OpenGL renderer libraries -Group: Amusements/Games -#Requires: -%description libs-gl -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. -%endif - -%if "%{BUILD_SW}"=="'yes'" -%package libs-sw -Summary: QuakeForge 3D game engine - Software renderer libraries -Group: Amusements/Games -#Requires: -%description libs-sw -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. -%endif - -%package cd-linux -Summary: QuakeForge 3D game engine - linux CD plugin -Group: Amusements/Games -#Requires: -%description cd-linux -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. - -%if "%{HAVE_XMMS}"=="'yes'" -%package cd-xmms -Summary: QuakeForge 3D game engine - xmms CD plugin -Group: Amusements/Games -#Requires: -%description cd-xmms -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. -%endif - -%package devel -Summary: QuakeForge 3D game engine - headers and devel libs -Group: Amusements/Games -Requires: quakeforge-common -%description devel -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. - -%package -n qfcc -Summary: QuakeForge QC/Ruamoko compiler -#FIXME correct group? -Group: Amusements/Games -Requires: quakeforge-common -%description -n qfcc -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. - -qfcc is QuakeForge's extended qcc compiler. It is mostly compatable with id -Software's qcc, but due to extentions and subtle semantics changes, the -language it compiles is call Ruamoko. - - %prep %setup -n %{name}-%{version} #%patch -p1 @@ -345,28 +304,60 @@ rm -rf $RPM_BUILD_ROOT %attr(-,root,root) %{_prefix}/lib/libQFmodels.so.* %attr(-,root,root) %{_prefix}/lib/libQFsound.so.* %attr(-,root,root) %{_prefix}/lib/libQFutil.so.* +%attr(-,root,root) %{fs_sharepath}/QFplugins/cd_linux.so* %attr(-,root,root) %{fs_sharepath}/QFplugins/cd_null.so* %attr(-,root,root) %{fs_sharepath}/QFplugins/console_client.so* %attr(-,root,root) %{fs_sharepath}/QFplugins/snd_output_disk.so* +%attr(-,root,root) %{fs_sharepath}/QFplugins/snd_output_null.so* %attr(-,root,root) %{fs_sharepath}/QFplugins/snd_render_default.so* -%files utils -%attr(-,root,root) %{_prefix}/bin/pak -%attr(-,root,root) %{_prefix}/bin/qfprogs -%attr(-,root,root) %{_prefix}/bin/qfwavinfo -%attr(-,root,root) %{_prefix}/man/man1/pak.1.gz -#%attr(-,root,root) %{_prefix}/man/man1/qfprogs.1.gz -#%attr(-,root,root) %{_prefix}/man/man1/qfwavinfo.1.gz +%files devel +%attr(-,root,root) %{_prefix}/lib/libQFcd.*a +%attr(-,root,root) %{_prefix}/lib/libQFcd.so +%attr(-,root,root) %{_prefix}/lib/libQFconsole.*a +%attr(-,root,root) %{_prefix}/lib/libQFconsole.so +%attr(-,root,root) %{_prefix}/lib/libQFcsqc.*a +%attr(-,root,root) %{_prefix}/lib/libQFcsqc.so +%attr(-,root,root) %{_prefix}/lib/libQFgamecode.*a +%attr(-,root,root) %{_prefix}/lib/libQFgamecode.so +%attr(-,root,root) %{_prefix}/lib/libQFgamecode_builtins.*a +%attr(-,root,root) %{_prefix}/lib/libQFgamecode_builtins.so +%attr(-,root,root) %{_prefix}/lib/libQFjs.*a +%attr(-,root,root) %{_prefix}/lib/libQFjs.so +%attr(-,root,root) %{_prefix}/lib/libQFmodels.*a +%attr(-,root,root) %{_prefix}/lib/libQFmodels.so +%attr(-,root,root) %{_prefix}/lib/libQFsound.*a +%attr(-,root,root) %{_prefix}/lib/libQFsound.so +%attr(-,root,root) %{_prefix}/lib/libQFutil.*a +%attr(-,root,root) %{_prefix}/lib/libQFutil.so +%attr(-,root,root) %{_prefix}/include/QF/GL/*.h +%attr(-,root,root) %{_prefix}/include/QF/*.h +%attr(-,root,root) %{_prefix}/include/QF/plugin/*.h +%if "%{BUILD_GL}"=="'yes'" +%attr(-,root,root) %{_prefix}/lib/libQFmodels_gl.*a +%attr(-,root,root) %{_prefix}/lib/libQFmodels_gl.so +%attr(-,root,root) %{_prefix}/lib/libQFrenderer_gl.*a +%attr(-,root,root) %{_prefix}/lib/libQFrenderer_gl.so +%endif +%if "%{BUILD_SW}"=="'yes'" +%attr(-,root,root) %{_prefix}/lib/libQFmodels_sw.*a +%attr(-,root,root) %{_prefix}/lib/libQFmodels_sw.so +%if "%{HAVE_SDL}"=="'yes'" +%attr(-,root,root) %{_prefix}/lib/libQFrenderer_sw32.*a +%attr(-,root,root) %{_prefix}/lib/libQFrenderer_sw32.so +%endif +%endif -%files stub +%if "%{BUILD_GL}"=="'yes'" +%files libs-gl +%attr(-,root,root) %{_prefix}/lib/libQFmodels_gl.so.* +%attr(-,root,root) %{_prefix}/lib/libQFrenderer_gl.so.* +%endif -%post stub -if test -f %{fs_sharepath}/id1/pak0.pak; then -else - echo Warning: %{fs_sharepath}/id1/pak0.pak not found - echo Install either the shareware or registered quake data in - echo %{fs_sharepath} -fi +%if "%{BUILD_SW}"=="'yes'" +%files libs-sw +%attr(-,root,root) %{_prefix}/lib/libQFmodels_sw.so.* +%endif %files servers %attr(-,root,root) %{_prefix}/bin/qw-server @@ -374,25 +365,6 @@ fi %attr(-,root,root) %{_prefix}/bin/qw-master %attr(-,root,root) %{fs_sharepath}/QFplugins/console_server.so* -%files cd-linux -%attr(-,root,root) %{fs_sharepath}/QFplugins/cd_linux.so* - -%if "%{HAVE_SDL}"=="'yes'" -%files cd-sdl -%attr(-,root,root) %{fs_sharepath}/QFplugins/cd_sdl.so* -%endif - -%if "%{HAVE_XMMS}"=="'yes'" -%files cd-xmms -%attr(-,root,root) %{fs_sharepath}/QFplugins/cd_xmms.so* -%endif - -%if "%{HAVE_FBDEV}"=="'yes'" -%files fbdev -%attr(-,root,root) %{_prefix}/bin/qw-client-fbdev -%attr(-,root,root) %{_prefix}/bin/nq-fbdev -%endif - %if "%{HAVE_X11}"=="'yes'" %files glx %attr(-,root,root) %{_prefix}/bin/qw-client-glx @@ -404,10 +376,6 @@ fi %attr(-,root,root) %{_prefix}/bin/qw-client-sdl %attr(-,root,root) %{_prefix}/bin/nq-sdl -%files sdl32 -%attr(-,root,root) %{_prefix}/bin/qw-client-sdl32 -%attr(-,root,root) %{_prefix}/bin/nq-sdl32 - %files sgl %attr(-,root,root) %{_prefix}/bin/qw-client-sgl %attr(-,root,root) %{_prefix}/bin/nq-sgl @@ -426,84 +394,43 @@ fi %endif %if "%{HAVE_ALSA}"=="'yes'" -%files snd-alsa +%files alsa %attr(-,root,root) %{fs_sharepath}/QFplugins/snd_output_alsa0_9.so* %endif %if "%{HAVE_OSS}"=="'yes'" -%files snd-oss +%files oss %attr(-,root,root) %{fs_sharepath}/QFplugins/snd_output_oss.so* %endif -%if "%{HAVE_SDL}"=="'yes'" -%files snd-sdl -%attr(-,root,root) %{fs_sharepath}/QFplugins/snd_output_sdl.so* -%endif - -%if "%{BUILD_GL}"=="'yes'" -%files libs-gl -%attr(-,root,root) %{_prefix}/lib/libQFmodels_gl.so.* -%attr(-,root,root) %{_prefix}/lib/libQFrenderer_gl.so.* -%endif - -%if "%{BUILD_SW}"=="'yes'" -%files libs-sw -%attr(-,root,root) %{_prefix}/lib/libQFmodels_sw.so.* -%if "%{HAVE_SDL}"=="'yes'" -%attr(-,root,root) %{_prefix}/lib/libQFrenderer_sw32.so.* -%endif -%endif - -%files devel -%attr(-,root,root) %{_prefix}/lib/libQFcd.a -%attr(-,root,root) %{_prefix}/lib/libQFcd.la -%attr(-,root,root) %{_prefix}/lib/libQFcd.so -%attr(-,root,root) %{_prefix}/lib/libQFconsole.a -%attr(-,root,root) %{_prefix}/lib/libQFconsole.la -%attr(-,root,root) %{_prefix}/lib/libQFconsole.so -%attr(-,root,root) %{_prefix}/lib/libQFcsqc.a -%attr(-,root,root) %{_prefix}/lib/libQFcsqc.la -%attr(-,root,root) %{_prefix}/lib/libQFcsqc.so -%attr(-,root,root) %{_prefix}/lib/libQFgamecode.a -%attr(-,root,root) %{_prefix}/lib/libQFgamecode.la -%attr(-,root,root) %{_prefix}/lib/libQFgamecode.so -%attr(-,root,root) %{_prefix}/lib/libQFgamecode_builtins.a -%attr(-,root,root) %{_prefix}/lib/libQFgamecode_builtins.la -%attr(-,root,root) %{_prefix}/lib/libQFgamecode_builtins.so -%attr(-,root,root) %{_prefix}/lib/libQFjs.a -%attr(-,root,root) %{_prefix}/lib/libQFjs.la -%attr(-,root,root) %{_prefix}/lib/libQFjs.so -%attr(-,root,root) %{_prefix}/lib/libQFmodels.a -%attr(-,root,root) %{_prefix}/lib/libQFmodels.la -%attr(-,root,root) %{_prefix}/lib/libQFmodels.so -%if "%{BUILD_GL}"=="'yes'" -%attr(-,root,root) %{_prefix}/lib/libQFmodels_gl.a -%attr(-,root,root) %{_prefix}/lib/libQFmodels_gl.la -%attr(-,root,root) %{_prefix}/lib/libQFmodels_gl.so -%attr(-,root,root) %{_prefix}/lib/libQFrenderer_gl.a -%attr(-,root,root) %{_prefix}/lib/libQFrenderer_gl.la -%attr(-,root,root) %{_prefix}/lib/libQFrenderer_gl.so -%endif -%if "%{BUILD_SW}"=="'yes'" -%attr(-,root,root) %{_prefix}/lib/libQFmodels_sw.a -%attr(-,root,root) %{_prefix}/lib/libQFmodels_sw.la -%attr(-,root,root) %{_prefix}/lib/libQFmodels_sw.so -%if "%{HAVE_SDL}"=="'yes'" -%attr(-,root,root) %{_prefix}/lib/libQFrenderer_sw32.a -%attr(-,root,root) %{_prefix}/lib/libQFrenderer_sw32.la -%attr(-,root,root) %{_prefix}/lib/libQFrenderer_sw32.so -%endif -%endif -%attr(-,root,root) %{_prefix}/lib/libQFsound.a -%attr(-,root,root) %{_prefix}/lib/libQFsound.la -%attr(-,root,root) %{_prefix}/lib/libQFsound.so -%attr(-,root,root) %{_prefix}/lib/libQFutil.a -%attr(-,root,root) %{_prefix}/lib/libQFutil.la -%attr(-,root,root) %{_prefix}/lib/libQFutil.so -%attr(-,root,root) %{_prefix}/include/QF/GL/*.h -%attr(-,root,root) %{_prefix}/include/QF/*.h -%attr(-,root,root) %{_prefix}/include/QF/plugin/*.h - %files -n qfcc %attr(-,root,root) %{_prefix}/bin/qfcc %attr(-,root,root) %{_prefix}/man/man1/qfcc.1.gz +%attr(-,root,root) %{_prefix}/include/QF/ruamoko/* + +%files utils +%attr(-,root,root) %{_prefix}/bin/pak +%attr(-,root,root) %{_prefix}/bin/zpak +%attr(-,root,root) %{_prefix}/bin/qfdefs +%attr(-,root,root) %{_prefix}/bin/qfprogs +%attr(-,root,root) %{_prefix}/bin/qfwavinfo +%attr(-,root,root) %{_prefix}/man/man1/pak.1.gz +#%attr(-,root,root) %{_prefix}/man/man1/qfprogs.1.gz +#%attr(-,root,root) %{_prefix}/man/man1/qfwavinfo.1.gz + +%files maptools +%attr(-,root,root) %{_prefix}/bin/qfbsp +%attr(-,root,root) %{_prefix}/bin/qflight +%attr(-,root,root) %{_prefix}/bin/qfvis +%attr(-,root,root) %{_prefix}/man/man1/qflight.1.gz +%attr(-,root,root) %{_prefix}/man/man1/qfvis.1.gz + +%files stub + +%post stub +if test -f %{fs_sharepath}/id1/pak0.pak; then +else + echo Warning: %{fs_sharepath}/id1/pak0.pak not found + echo Install either the shareware or registered quake data in + echo %{fs_sharepath} +fi diff --git a/debian/rules b/debian/rules index fcd868a48..363fb8834 100755 --- a/debian/rules +++ b/debian/rules @@ -127,8 +127,7 @@ install: build usr/lib/libQFutil.so \ usr/include/QF/GL/*.h \ usr/include/QF/plugin/*.h \ - usr/include/QF/*.h \ - usr/include/*.h + usr/include/QF/*.h install -d -m755 debian/$(dev)/usr/share/doc ln -s $(common) debian/$(dev)/usr/share/doc/$(dev) @@ -142,8 +141,7 @@ install: build # quakeforge-libs-sw dh_movefiles -p$(swlib) --sourcedir=$(tmp) \ - usr/lib/libQFmodels_sw.so.* \ - usr/lib/libQFrenderer_sw.so.* + usr/lib/libQFmodels_sw.so.* install -D -m755 debian/$(swlib).shlibs debian/$(swlib)/DEBIAN/shlibs install -d -m755 debian/$(swlib)/usr/share/doc ln -s $(common) debian/$(swlib)/usr/share/doc/$(swlib)