%define name qstat %define version 2.5b %define release 1mdk Summary: Real-time Game Server Status for Quake servers Name: %{name} Version: %{version} Release: %{release} License: Artistic Group: Networking/Other URL: http://www.qstat.org/ Source: qstat25b.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot %description QStat is a command-line program that gathers real-time statistics from Internet game servers. Most supported games are of the first person shooter variety (Quake, Half-Life, etc) %prep %setup -q -n qstat25b %build %make CFLAGS="%{optflags}" %install [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} install -d -m0755 %{buildroot}%{_sysconfdir} install -d -m0755 %{buildroot}%{_bindir} install -m755 qstat %{buildroot}%{_bindir}/ install -m644 qstat.cfg %{buildroot}%{_sysconfdir}/ %clean [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES.txt COMPILE.txt LICENSE.txt contrib.cfg qstatdoc.html %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/qstat.cfg %attr(0755,root,root) %{_bindir}/qstat %changelog * Thu Aug 15 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.5b-1mdk - initial cooker contrib