]> git.pld-linux.org Git - packages/quakeforge.git/commitdiff
- remove suid root from svga binary (we don't need suid root for run svga
authorkloczek <kloczek@pld-linux.org>
Mon, 12 Aug 2002 21:29:56 +0000 (21:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  applications),
- cleanups and cosmetics.

Changed files:
    quakeforge.spec -> 1.22

quakeforge.spec

index 77685f14316f8f54ecafcb9b64f1e8942c57f31a..5d59822f20a10465b07a4969e5d9b887d7ff168d 100644 (file)
@@ -39,7 +39,6 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define         _without_svga   1
 %endif
 
-
 %description
 QuakeForge is a source port of Quake and QuakeWorld, the successors to
 id Software's very popular DOOM series. Its primary development goal
@@ -54,7 +53,6 @@ projektu jest zachowanie zgodno
 tych¿e gier przy jednoczesnym dodaniu opcjonalnych rozszerzeñ
 s³u¿±cych podniesieniu jako¶ci zabawy.
 
-
 %package cd-linux
 Summary:       QuakeForge - linux CD plugin
 Summary(pl):   QuakeForge - wtyczka CD pod linuxa
@@ -176,7 +174,6 @@ QuakeForge client for sdl-gl.
 %description sgl -l pl
 Klient QuakeForge pod sdl-gl.
 
-%if %{!?_without_alsa:1}%{?_without_alsa:0}
 %package snd-alsa
 Summary:       ALSA sound plugin for QuakeForge
 Summary(pl):   Wtyczka d¼wiêkowa ALSA dla QuakeForge
@@ -190,8 +187,6 @@ QuakeForge targets that contain clients.
 Wtyczka ALSA dla QuakeForge dostarcza cyfrowe wyj¶cie d¼wiêkowe dla
 klientów gry.
 
-%endif
-
 %package snd-oss
 Summary:       OSS sound plugin for QuakeForge
 Summary(pl):   Wtyczka d¼wiêkowa OSS dla QuakeForge
@@ -278,22 +273,23 @@ autoheader
 libtoolize --automake
 %{__automake}
 %{__autoconf}
-%configure     --with-x \
-               --enable-vidmode \
-               --enable-dga \
-               --with-user-cfg="~/.%{name}/%{name}.conf" \
-               %{?_without_alsa:--disable-alsa} \
-               %{?_without_svga:--without-svga}
+%configure \
+       --with-x \
+       --enable-vidmode \
+       --enable-dga \
+       --with-user-cfg="~/.%{name}/%{name}.conf" \
+       %{?_without_alsa:--disable-alsa} \
+       %{?_without_svga:--without-svga}
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_datadir}/games/%{name}/qw} \
+       $RPM_BUILD_ROOT{%{_xbindir},%{_pixmapsdir},%{_applnkdir}/Games}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/rc.d/init.d,%{_datadir}/games/%{name}/qw}
-install -d $RPM_BUILD_ROOT{%{_xbindir},%{_pixmapsdir},%{_applnkdir}/Games}
 mv $RPM_BUILD_ROOT%{_bindir}/{*glx,*sdl*,*sgl,*x11} $RPM_BUILD_ROOT%{_xbindir}
 
 install  %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
@@ -383,7 +379,8 @@ fi
 %attr(755,root,root)%{_libdir}/%{name}/libsnd_render_default.so*
 %{_datadir}/games/%{name}/id1/menu.dat*
 %{_pixmapsdir}/%{name}.png
-%{_mandir}/man1/%{name}.1.gz
+%{_mandir}/man1/%{name}.1*
+
 %files cd-linux
 %defattr(644,root,root,755)
 %attr(755,root,root)%{_libdir}/%{name}/libcd_linux.so*
@@ -434,7 +431,7 @@ fi
 %attr(755,root,root)%{_includedir}/QF/GL/*.h
 %attr(755,root,root)%{_includedir}/QF/*.h
 %attr(755,root,root)%{_includedir}/QF/plugin/*.h
-%{_mandir}/man1/qfcc.1.gz
+%{_mandir}/man1/qfcc.1*
 
 %files fbdev
 %defattr(644,root,root,755)
@@ -520,13 +517,13 @@ fi
 
 %{?!_without_svga:%files svga}
 %{?!_without_svga:%defattr(644,root,root,755)}
-%{?!_without_svga:%attr(4755,root,root)%{_bindir}/*svga}
+%{?!_without_svga:%attr(755,root,root)%{_bindir}/*svga}
 
 %files utils
 %defattr(644,root,root,755)
 %attr(755,root,root)%{_bindir}/pak
 %attr(755,root,root)%{_bindir}/qfprogs
-%{_mandir}/man1/pak.1.gz
+%{_mandir}/man1/pak.1*
 
 %files x11
 %defattr(644,root,root,755)
This page took 0.076013 seconds and 4 git commands to generate.