Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323
quakeforge
quakeforge.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File quakeforge.spec of Package quakeforge
%define name quakeforge %define qfversion 0.7.2 %define pkgversion 0.7.2 %define release 1 %define builddir $RPM_BUILD_DIR/%{name}-%{qfversion} %define ALSA_PLUGIN 'snd_output_alsa' %define fs_sharepath %{_prefix}/share/games/quakeforge Name: %{name} Version: %{pkgversion} Release: %{release} Vendor: The QuakeForge Project Packager: The QuakeForge Project quakeforge-devel@lists.quakeforge.net URL: http://www.quakeforge.net/ Source: %{name}-%{qfversion}.tar.bz2 Source1: quake.png #Patch: Patch0: build.diff Patch1: fix-qfcc-segfault.patch Patch2: fix-crash-in-gl.patch Group: Amusements/Games License: GPL-2.0-or-later #Icon: BuildRequires: flex bison >= 2.6 libsamplerate-devel zlib-devel libcurl-devel ncurses-devel SDL-devel libogg-devel flac-devel alsa-devel libvorbis-devel libpng-devel BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(xxf86dga) BuildRequires: pkgconfig(xxf86vm) Requires: quakeforge-common, quake-game BuildRoot: /var/tmp/%{name}-%{qfversion} Summary: QuakeForge 3D game engine %description 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 common Summary: QuakeForge 3D game engine - common files Group: Amusements/Games #Requires: %description common 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 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. %package sdl Summary: QuakeForge 3D game engine - SDL client Group: Amusements/Games Requires: quakeforge == %{pkgversion}, quakeforge-common == %{pkgversion} %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 svga Summary: QuakeForge 3D game engine - SVGAlib client Group: Amusements/Games Requires: quakeforge == %{pkgversion} %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. %package x11 Summary: QuakeForge 3D game engine - X11 client Group: Amusements/Games Requires: quakeforge == %{pkgversion} %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. %package servers Summary: QuakeForge 3D game engine - Server Group: Amusements/Games Requires: quakeforge == %{pkgversion}, quakeforge-common == %{pkgversion} %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. %package sw32 Summary: QuakeForge 3D game engine - Software renderer libraries Group: Amusements/Games #Requires: %description sw32 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 32bpp software renderer. %package sw Summary: QuakeForge 3D game engine - Software renderer libraries Group: Amusements/Games #Requires: %description 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 renderer. %package gl Summary: QuakeForge 3D game engine - OpenGL renderer libraries Group: Amusements/Games #Requires: %description 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 renderer. %package glsl Summary: QuakeForge 3D game engine - OpenGL renderer libraries Group: Amusements/Games #Requires: %description glsl 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 GLSL renderer. %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. %if "%{HAVE_XMMS}"=="'yes'" %package xmms Summary: XMMS playlist interface Group: Amusements/Games #Requires: %description xmms The XMMS plugin for QuakeForge allows the clients to use the XMMS playlist as a virtual cd for background music. %endif %package alsa Summary: ALSA sound plugin for QuakeForge Group: Amusements/Games #Requires: %description alsa The ALSA plugin for QuakeForge provides digital audio output for QuakeForge targets that contain clients. %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. * 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 #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. %prep %setup -n %{name}-%{qfversion} #%patch -p1 %patch0 -p0 %patch1 -p1 %patch2 -p1 # Bump default host_mem_size to 48 to avoid frequent out of memory crashes sed -i 's/host_mem_size = Cvar_Get ("host_mem_size", "40", CVAR_NONE, NULL,/host_mem_size = Cvar_Get ("host_mem_size", "48", CVAR_NONE, NULL,/' nq/source/host.c %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects CFLAGS="$RPM_OPT_FLAGS -std=gnu89" ./configure --prefix=%{_prefix} --libdir=%{_libdir} --enable-xdg make $QFSMP %install if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi mkdir -p $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc make install DESTDIR=$RPM_BUILD_ROOT cp RPM/quakeforge.conf $RPM_BUILD_ROOT/etc mkdir -p $RPM_BUILD_ROOT/%{fs_sharepath}/id1 find $RPM_BUILD_ROOT/%{_libdir}/quakeforge -name '*.a' -exec rm {} \; find $RPM_BUILD_ROOT/%{_libdir}/quakeforge -name '*.la' -exec rm {} \; rm $RPM_BUILD_ROOT/usr/bin/hw-master find $RPM_BUILD_ROOT/%{_libdir} -name 'libQFrenderer_sw32.*' -exec rm {} \; #FIXME until I feel like making packages rm $RPM_BUILD_ROOT/usr/bin/qtv find $RPM_BUILD_ROOT/%{_libdir}/quakeforge -name 'snd_render_jack*' -exec rm {} \; # install an icon for the desktop menu entries install -D %{SOURCE1} %buildroot/%{_datadir}/pixmaps/quake.png %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING INSTALL TODO NEWS doc/* %attr(-,root,root) %{_libdir}/pkgconfig/quakeforge.pc %files common %defattr(-,root,root,-) %attr(-,root,root) /etc/quakeforge.conf %attr(-,root,root) %{_libdir}/libQFcd.so.* %attr(-,root,root) %{_libdir}/libQFconsole.so.* %attr(-,root,root) %{_libdir}/libQFgib.so.* %attr(-,root,root) %{_libdir}/libQFimage.so.* %attr(-,root,root) %{_libdir}/libQFjs.so.* %attr(-,root,root) %{_libdir}/libQFmodels.so.* %attr(-,root,root) %{_libdir}/libQFruamoko.so.* %attr(-,root,root) %{_libdir}/libQFsound.so.* %attr(-,root,root) %{_libdir}/libQFutil.so.* %dir %{_libdir}/quakeforge %dir %{_libdir}/quakeforge/plugins %attr(-,root,root) %{_libdir}/quakeforge/plugins/cd_file.so* %attr(-,root,root) %{_libdir}/quakeforge/plugins/cd_linux.so* %attr(-,root,root) %{_libdir}/quakeforge/plugins/console_client.so* %attr(-,root,root) %{_libdir}/quakeforge/plugins/snd_render_default.so* %attr(-,root,root) %{fs_sharepath}/QF/ %attr(-,root,root) %{_datadir}/pixmaps/quake.png %files devel %defattr(-,root,root,-) %attr(-,root,root) %{_libdir}/libQFcd.*a %attr(-,root,root) %{_libdir}/libQFcd.so %attr(-,root,root) %{_libdir}/libQFconsole.*a %attr(-,root,root) %{_libdir}/libQFconsole.so %attr(-,root,root) %{_libdir}/libQFgib.*a %attr(-,root,root) %{_libdir}/libQFgib.so %attr(-,root,root) %{_libdir}/libQFimage.*a %attr(-,root,root) %{_libdir}/libQFimage.so %attr(-,root,root) %{_libdir}/libQFjs.*a %attr(-,root,root) %{_libdir}/libQFjs.so %attr(-,root,root) %{_libdir}/libQFmodels.*a %attr(-,root,root) %{_libdir}/libQFmodels.so %attr(-,root,root) %{_libdir}/libQFruamoko.*a %attr(-,root,root) %{_libdir}/libQFruamoko.so %attr(-,root,root) %{_libdir}/libQFsound.*a %attr(-,root,root) %{_libdir}/libQFsound.so %attr(-,root,root) %{_libdir}/libQFutil.*a %attr(-,root,root) %{_libdir}/libQFutil.so %dir %{_prefix}/include/QF %dir %{_prefix}/include/QF/GL %dir %{_prefix}/include/QF/GLSL %dir %{_prefix}/include/QF/math %dir %{_prefix}/include/QF/plugin %attr(-,root,root) %{_prefix}/include/QF/GL/*.h %attr(-,root,root) %{_prefix}/include/QF/GLSL/*.h %attr(-,root,root) %{_prefix}/include/QF/*.h %attr(-,root,root) %{_prefix}/include/QF/math/*.h %attr(-,root,root) %{_prefix}/include/QF/plugin/*.h %files gl %attr(-,root,root) %{_libdir}/quakeforge/plugins/vid_render_gl.so* %files glsl %attr(-,root,root) %{_libdir}/quakeforge/plugins/vid_render_glsl.so* %files sw32 %attr(-,root,root) %{_libdir}/quakeforge/plugins/vid_render_sw32.so* %files sw %attr(-,root,root) %{_libdir}/quakeforge/plugins/vid_render_sw.so* %files servers %defattr(-,root,root,-) %attr(-,root,root) %{_prefix}/bin/qw-server %attr(-,root,root) %{_prefix}/bin/nq-server %attr(-,root,root) %{_prefix}/bin/qw-master #%attr(-,root,root) %{_prefix}/bin/hw-master %attr(-,root,root) %{_libdir}/quakeforge/plugins/console_server.so* %files sdl %defattr(-,root,root,-) %attr(-,root,root) %{_libdir}/quakeforge/plugins/cd_sdl.so* %attr(-,root,root) %{_libdir}/quakeforge/plugins/snd_output_sdl.so* %attr(-,root,root) %{_prefix}/bin/qw-client-sdl %attr(-,root,root) %{_prefix}/bin/nq-sdl %attr(-,root,root) %{_datadir}/applications/quakeforge-qw-sdl.desktop %attr(-,root,root) %{_datadir}/applications/quakeforge-nq-sdl.desktop %files x11 %defattr(-,root,root,-) %attr(-,root,root) %{_prefix}/bin/qw-client-x11 %attr(-,root,root) %{_prefix}/bin/nq-x11 %attr(-,root,root) %{_datadir}/applications/quakeforge-qw-x11.desktop %attr(-,root,root) %{_datadir}/applications/quakeforge-nq-x11.desktop %if "%{HAVE_XMMS}"=="'yes'" %files xmms %defattr(-,root,root,-) %attr(-,root,root) %{_libdir}/quakeforge/plugins/cd_xmms.so %endif %files alsa %defattr(-,root,root,-) %attr(-,root,root) %{_libdir}/quakeforge/plugins/snd_output_alsa.so* %files oss %defattr(-,root,root,-) %attr(-,root,root) %{_libdir}/quakeforge/plugins/snd_output_oss.so* %files -n qfcc %defattr(-,root,root,-) %attr(-,root,root) %{_prefix}/bin/qfcc %attr(-,root,root) %{_prefix}/bin/qfpreqcc %attr(-,root,root) %{_prefix}/share/man/man1/qfcc.1.gz %attr(-,root,root) %{_libdir}/pkgconfig/qfcc.pc %attr(-,root,root) %{_prefix}/share/qfcc/ %files utils %defattr(-,root,root,-) %attr(-,root,root) %{_prefix}/bin/pak %attr(-,root,root) %{_prefix}/bin/zpak %attr(-,root,root) %{_prefix}/bin/qfprogs %attr(-,root,root) %{_prefix}/bin/qfwavinfo %attr(-,root,root) %{_prefix}/share/man/man1/pak.1.gz %attr(-,root,root) %{_prefix}/share/man/man1/zpak.1.gz #%attr(-,root,root) %{_prefix}/share/man/man1/qfprogs.1.gz #%attr(-,root,root) %{_prefix}/share/man/man1/qfwavinfo.1.gz %files maptools %defattr(-,root,root,-) %attr(-,root,root) %{_prefix}/bin/bsp2img %attr(-,root,root) %{_prefix}/bin/qfbsp %attr(-,root,root) %{_prefix}/bin/qflight %attr(-,root,root) %{_prefix}/bin/qflmp %attr(-,root,root) %{_prefix}/bin/qfmodelgen %attr(-,root,root) %{_prefix}/bin/qfspritegen %attr(-,root,root) %{_prefix}/bin/qfvis %attr(-,root,root) %{_prefix}/bin/wad %attr(-,root,root) %{_prefix}/share/man/man1/qflight.1.gz %attr(-,root,root) %{_prefix}/share/man/man1/qfvis.1.gz %attr(-,root,root) %{_prefix}/share/man/man1/wad.1.gz %files stub %defattr(-,root,root,-) %attr(-,root,root) %dir %{fs_sharepath} %attr(-,root,root) %dir %{fs_sharepath}/id1 %post stub if test ! -f %{fs_sharepath}/id1/pak0.pak; then echo Warning: %{fs_sharepath}/id1/pak0.pak not found echo Install either the shareware or registered quake data in echo %{fs_sharepath} fi %changelog * Thu Feb 29 2024 Wolfgang Bauer <wbauer1@a1.net> - Update X11 BuildRequires to fix build on Tumbleweed * Thu May 19 2022 Wolfgang Bauer <wbauer@tmo.at> - Raise default host_mem_size to 48 (was 40) to avoid frequent out of memory crashes * Sat Sep 07 2019 Wolfgang Bauer <wbauer@tmo.at> - Use fat LTO objects as the package ships static libraries * Mon Jan 04 2016 Wolfgang Bauer <wbauer@tmo.at> - Add -std=gnu89 to the compiler flags to fix build with gcc5 * Fri Feb 20 2015 Wolfi <wbauer@tmo.at> - added .desktop files - install an icon for the desktop menu entries * Sun Dec 28 2014 Wolfi <wbauer@tmo.at> - added fix-crash-in-gl.patch to fix a crash when using the GL renderer (taken from upstream git) * Wed Jun 11 2014 Wolfi <wbauer@tmo.at> - added fix-qfcc-segfault.patch to fix build for 32bit systems (fixes a segfault and a memory corruption, taken from upstream git) * Thu Jan 24 2013 Wolfi <wbauer@tmo.at> - updated to 0.7.2 release * for changes see included file /usr/share/doc/packages/quakeforge/NEWS * Mon Jan 21 2013 Wolfi <wbauer@tmo.at> - updated to 0.7.1a release * for changes see included file /usr/share/doc/packages/quakeforge/NEWS - needs bison >= 2.6 for build now * Tue Aug 07 2012 Wolfi <wbauer@tmo.at> - updated to 0.7.0 release * for changes see included file /usr/share/doc/packages/quakeforge/NEWS * Tue Jul 17 2012 Wolfi <wbauer@tmo.at> - updated to 0.6.99beta2 * for changes see included file /usr/share/doc/packages/quakeforge/NEWS * Thu Jul 12 2012 Wolfi <wbauer@tmo.at> - updated to 0.6.99beta1 * for changes see included file /usr/share/doc/packages/quakeforge/NEWS - resync with upstream specfile - remove jack-devel from BuildRequires as jack plugin is not packaged anymore * Tue Jun 12 2012 Wolfi <wbauer@tmo.at> - updated to 0.6.3 release - fix filelists * Fri Feb 10 2012 Wolfi <wbauer@tmo.at> - updated to 0.6.2 release - add GLSL devel files to -devel subpackage - new subpackages: -libs-glsl, -glslx and -sglsl (the new GLSL renderer, X and SDL binary) * Mon Jan 09 2012 Wolfi <wbauer@tmo.at> - updated to 0.6.1 release - moved qfprogs to qfcc subpackage * Wed Dec 21 2011 Wolfi <wbauer@tmo.at> - updated to 0.6.0 release * Mon Dec 12 2011 Wolfi <wbauer@tmo.at> - updated to 0.5.99beta2 release * Wed Jun 8 2011 Wolfi <wbauer@tmo.at> - updated to latest git snapshot * Tue May 17 2011 Wolfi <wbauer@tmo.at> - updated to latest git snapshot - fix filelists * Mon Mar 14 2011 Wolfi <wbauer@tmo.at> - fix filelists * Mon Dec 20 2010 Wolfi <wbauer@tmo.at> - updated to latest git snapshot * Wed Oct 27 2010 Wolfi <wbauer@tmo.at> - added BuildRequires - added %%defattr lines - moved to Build Service * Thu Sep 30 2010 Wolfi <wbauer@tmo.at> - updated to latest git snapshot - disabled xmms as it's no longer available for openSUSE 11.3 * Mon Aug 23 2010 Wolfi <wbauer@tmo.at> - include NEWS - updated to latest git snapshot - removed unnecessary qf-fbdev-includes.patch * Sun Feb 21 2010 Wolfi <wbauer@tmo.at> - use the _libdir macro to make it build on 64-bit systems
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor