diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 3e373e4..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xqf -# $Id$ -NAME := xqf -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index c5176b7..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -xqf-1_0_5-4_fc9:HEAD:xqf-1.0.5-4.fc9.src.rpm:1215516144 diff --git a/xqf.spec b/xqf.spec index c177473..09ad28b 100644 --- a/xqf.spec +++ b/xqf.spec @@ -1,19 +1,29 @@ -Name: xqf -Version: 1.0.5 -Release: 8%{?dist} -Summary: A server browser for many popular games +Name: xqf +Version: 1.0.5 +Release: 10%{?dist} +Summary: Server browser for many popular games -Group: Amusements/Games -License: GPLv2+ -URL: http://www.linuxgames.com/xqf/ -Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -Source1: %{name}.desktop -Patch0: %{name}-%{version}-launch.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Group: Amusements/Games +License: GPLv2+ +URL: http://www.linuxgames.com/xqf/ +Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +Patch0: %{name}-%{version}-launch.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: qstat >= 2.11 +BuildRequires: GeoIP-devel +BuildRequires: qstat +BuildRequires: gettext +BuildRequires: zlib-devel +BuildRequires: glib +BuildRequires: gtk2-devel +BuildRequires: intltool +BuildRequires: perl-XML-Parser +BuildRequires: desktop-file-utils +BuildRequires: readline-devel +BuildRequires: gdk-pixbuf -Requires: qstat -BuildRequires: GeoIP-devel qstat gdk-pixbuf-devel glib-devel gettext zlib-devel -BuildRequires: gtk2-devel intltool perl-XML-Parser desktop-file-utils readline-devel %description XQF is a game server browser and launcher for Unix/X11 for many popular games @@ -23,15 +33,16 @@ and uses the GTK+ toolkit. %prep %setup -q -%patch0 -p0 -b .launch +%patch0 -p0 %build %configure \ - --enable-geoip \ - --enable-bzip2 \ - --enable-externalrcon \ - --enable-gtk2 + --with-qstat=%{_bindir}/quakestat \ + --enable-geoip \ + --enable-bzip2 \ + --enable-externalrcon \ + --enable-gtk2 make %{?_smp_mflags} CFLAGS="%{optflags}" @@ -40,19 +51,16 @@ make %{?_smp_mflags} CFLAGS="%{optflags}" rm -rf %{buildroot} make install DESTDIR=%{buildroot} -# removing extraneous .desktop file rm -f %{buildroot}%{_datadir}/applications/%{name}.desktop -# the desktop file -desktop-file-install --vendor="fedora" \ - --dir=%{buildroot}%{_datadir}/applications \ - %{SOURCE1} +desktop-file-install \ + --dir=%{buildroot}%{_datadir}/applications \ + %{SOURCE1} -# the icon stuff mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps -install -p -m 0644 pixmaps/%{name}_32x32.png \ - %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png +install -p -m 0644 pixmaps/%{name}_32x32.png \ + %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png %find_lang %{name} @@ -82,13 +90,21 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_bindir}/%{name} %{_bindir}/%{name}-rcon %{_datadir}/pixmaps/%{name}_*.png -%{_datadir}/applications/fedora-%{name}.desktop +%{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/%{name} %{_mandir}/man6/%{name}.6.* %changelog +* Sun Jan 03 2010 Vivek Shah - 1.0.5-10 +- Fix RHBZ #551990 +- Fixed dependency issues + +* Thu Nov 08 2009 Simon Wesp - 1.0.5-9 +- Fix RHBZ #533704 #533705 +- Cosmetical changes + * Mon Jul 27 2009 Fedora Release Engineering - 1.0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild