Author: koorek Date: Sat Mar 5 22:33:54 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - better rc-scripts
---- Files affected: SPECS: quakeforge.spec (1.76 -> 1.77) ---- Diffs: ================================================================ Index: SPECS/quakeforge.spec diff -u SPECS/quakeforge.spec:1.76 SPECS/quakeforge.spec:1.77 --- SPECS/quakeforge.spec:1.76 Wed Mar 2 04:56:20 2005 +++ SPECS/quakeforge.spec Sat Mar 5 23:33:49 2005 @@ -1,10 +1,8 @@ # $Revision$, $Date$ -# # TODO: -# - check video/audio plugins usability # - check game mods # - cleanups -# - could some of 'proper license' guys check qwprogs.dat license? +# - check qwprogs.dat license # This file is freely available over the internet so it's at least # distributable I think (this file is needed by QuakeWorld server) # @@ -16,16 +14,13 @@ Summary(pl): Silnik gry 3D bazujący na silniku Quake id Software Name: quakeforge Version: 0.5.5 -Release: 0.6 +Release: 0.9 License: GPL Group: Applications/Games Source0: http://dl.sourceforge.net/quake/%{name}-%{version}.tar.bz2 # Source0-md5: b750b491ce24135f1a4a1360029de3a2 Source1: %{name}.conf Source2: %{name}.png -Source3: nq-serverd -Source4: qw-serverd -Source5: qwprogs.dat #Patch0: %{name}-alsa.patch Patch1: %{name}-svga-noasm.patch #Patch2: %{name}-libdir.patch @@ -402,15 +397,10 @@ echo "map e1m3" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/nq-server.cfg +touch $RPM_BUILD_ROOT%{_datadir}/%{name}/tracklist.cfg touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/qw-server.cfg -cd $RPM_BUILD_ROOT%{_datadir}/%{name}/qw -ln -sf %{_sysconfdir}/%{name}/qw-server.cfg server.cfg -cd - - install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} -install %{SOURCE3} %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/ -install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/qw qfver="glx sdl sdl32 sgl x11" @@ -455,41 +445,9 @@ %post libs-sw -p /sbin/ldconfig %postun libs-sw -p /sbin/ldconfig -%post servers -/sbin/chkconfig --add qw-serverd -if [ -f /var/lock/subsys/qw-serverd ]; then - /etc/rc.d/init.d/qw-serverd restart 1>&2 -else - %banner %{name}-servers -e << EOF -Run \"/etc/rc.d/init.d/qw-serverd start\" to start QuakeWorld Server. -EOF -fi -/sbin/chkconfig --add nq-serverd -if [ -f /var/lock/subsys/nq-serverd ]; then - /etc/rc.d/init.d/nq-serverd restart 1>&2 -else - %banner %{name}-servers -e << EOF -Run \"/etc/rc.d/init.d/nq-serverd start\" to start NQuake Server. -EOF -fi - -%preun servers -if [ "$1" = "0" ]; then - if [ -f /var/lock/subsys/qw-serverd ]; then - /etc/rc.d/init.d/qw-serverd stop 1>&2 - fi - /sbin/chkconfig --del qw-serverd -fi -if [ "$1" = "0" ]; then - if [ -f /var/lock/subsys/nq-serverd ]; then - /etc/rc.d/init.d/nq-serverd stop 1>&2 - fi - /sbin/chkconfig --del nq-serverd -fi - %files common -%defattr(644,root,root,755) %doc NEWS TODO ChangeLog doc/[!Mm]* +%defattr(644,root,root,755) %dir %{_sysconfdir}/%{name} %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}/%{name}.conf %attr(755,root,root) %{_libdir}/libQFcd.so.*.*.* @@ -508,6 +466,7 @@ %attr(755,root,root) %{_libdir}/%{name}/snd_output_disk.so %attr(755,root,root) %{_libdir}/%{name}/snd_render_default.so %dir %{_datadir}/%{name} +%{_datadir}/%{name}/tracklist.cfg %dir %{_datadir}/%{name}/qw %{_datadir}/%{name}/QF %{_pixmapsdir}/%{name}.png @@ -575,8 +534,6 @@ %attr(755,root,root) %{_bindir}/qw-server %attr(755,root,root) %{_bindir}/nq-server %attr(755,root,root) %{_libdir}/%{name}/console_server.so -%{_datadir}/%{name}/qw/server.cfg -%attr(754,root,root) /etc/rc.d/init.d/*-[!m]* %files utils %defattr(644,root,root,755) @@ -684,6 +641,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.77 2005/03/05 22:33:49 koorek +- better rc-scripts + Revision 1.76 2005/03/02 03:56:20 koorek - added rc-scripts (from 0.5.4) - subpackege added (cd-file) ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/quakeforge.spec?r1=1.76&r2=1.77&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit