]> git.pld-linux.org Git - packages/quakeforge.git/commitdiff
- addedd fbdev and ggi clients
authormarcus <marcus@pld-linux.org>
Mon, 12 Aug 2002 10:48:19 +0000 (10:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed build for ppc
- svgalib client is now for %%ix86

Changed files:
    quakeforge.spec -> 1.18

quakeforge.spec

index fb8fa702ea90aab711f6113bcaaa92e96f216c90..d5960807961fe2b62fd4693e92a8b26f0d38be07 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 # _without_alsa - without ALSA
+# _without_svga - without SVGAlib support
 #
 Summary:       3D game engine based on id Software's Quake engine
 Summary(pl):   Silnik gry 3D bazuj±cy na silniku Quake id Software
@@ -16,6 +17,7 @@ Patch0:               %{name}-info.patch
 Patch1:                %{name}-ac_fix.patch
 Patch2:                %{name}-acconfig.h.patch
 Patch3:                %{name}-ah_fixes.patch
+Patch4:                %{name}-compat.patch
 Icon:          quakeforge.xpm
 URL:           http://www.quakeforge.net/
 BuildRequires: SDL-devel
@@ -23,10 +25,9 @@ BuildRequires:       XFree86-devel
 BuildRequires: OpenGL-devel
 BuildRequires: autoconf
 BuildRequires: automake
-%ifnarch sparc
 %{!?_without_alsa:BuildRequires:       alsa-lib-devel}
-%endif
-BuildRequires: svgalib-devel
+BuildRequires: libtool
+%{!?_without_svgalib:BuildRequires:    svgalib-devel}
 BuildRequires: texinfo
 BuildRequires: zlib-devel
 Requires:      OpenGL
@@ -34,6 +35,14 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _noautoreqdep   libGL.so.1 libGLU.so.1
 
+%ifarch sparc
+%define                _without_alsa   1
+%endif
+
+%ifnarch %{ix86}
+%define                _without_svga   1
+%endif
+
 %description
 3D game engine server based on id Software's Quake engine.
 
@@ -79,8 +88,10 @@ Klient quakeforge pod x11.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
+%{__libtoolize}
 autoheader
 aclocal
 %{__autoconf}
@@ -95,7 +106,8 @@ aclocal
        --with-global-cfg=%{_sysconfdir}/%{name}.conf \
        --with-server \
        --with-newstyle \
-       %{?_without_alsa:--disable-alsa}
+       %{?_without_alsa:--disable-alsa} \
+       %{?_without_svga:--without-svga}
 
 %{__make}
 
@@ -128,9 +140,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_infodir}/*info*
 %{_mandir}/man*/*
 
-%files svgalib
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/qf-client-svga
+%{?!_without_svga:%files svgalib}
+%{?!_without_svga:%defattr(644,root,root,755)}
+%{?!_without_svga:%attr(755,root,root) %{_bindir}/qf-client-svga}
 
 %files sdl
 %defattr(644,root,root,755)
This page took 0.033322 seconds and 4 git commands to generate.