From 2c8ce4842e2d7287334b0a86dfbb6ebdf3b9da1d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 7 Jul 2008 18:57:22 +0000 Subject: [PATCH 1/4] Initialize branch F-9 for xqf --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..1c26f78 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-9 From 85e54cc63de80aeae253ba83fac01350f8bf422c Mon Sep 17 00:00:00 2001 From: Stefan Posdzich Date: Tue, 8 Jul 2008 13:32:18 +0000 Subject: [PATCH 2/4] Initial commit --- sources | 1 + xqf.desktop | 8 ++++ xqf.spec | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 xqf.desktop create mode 100644 xqf.spec diff --git a/sources b/sources index e69de29..fa12978 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a88cecba6abb6349107ab135f1009946 xqf-1.0.5.tar.gz diff --git a/xqf.desktop b/xqf.desktop new file mode 100644 index 0000000..f19c273 --- /dev/null +++ b/xqf.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=XQF +Comment=Locate and connect to game servers +Exec=xqf +Icon=xqf +Type=Application +Categories=GTK;Game;ActionGame; diff --git a/xqf.spec b/xqf.spec new file mode 100644 index 0000000..fec2a4c --- /dev/null +++ b/xqf.spec @@ -0,0 +1,111 @@ +Name: xqf +Version: 1.0.5 +Release: 5%{?dist} +Summary: A 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 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +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 +such as the Quake series, Unreal Tournament series, Half-Life etc. +XQF is a front-end to QStat, a program by Steve Jankowski +and uses the GTK+ toolkit. + +%prep +%setup -q + + +%build +%configure \ + --enable-geoip \ + --enable-bzip2 \ + --enable-externalrcon \ + --enable-gtk2 + +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +# removing extraneous .desktop file +rm -f $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop + +# the desktop file +desktop-file-install --vendor="fedora" \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE1} + +# the icon stuff +mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps + +install -p -m 0644 pixmaps/%{name}_32x32.png \ + $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png + +%find_lang %{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{_datadir}/icons/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ] ; then +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + + +%postun +touch --no-create %{_datadir}/icons/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ] ; then +%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +%{_bindir}/%{name} +%{_bindir}/%{name}-rcon +%{_datadir}/pixmaps/%{name}_*.png +%{_datadir}/applications/fedora-%{name}.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}.png +%{_datadir}/%{name} +%{_mandir}/man6/%{name}.6.* + + +%changelog +* Tue Jul 08 2008 Stefan Posdzich - 1.0.5-5 +- Remove BuildRequires: glibc-devel + +* Wed Jun 18 2008 Stefan Posdzich - 1.0.5-4 +- Add new .desktop file source +- Remove BuildRequires: gtk+-devel, glib2-devel +- Remove desktop-file-install --remove-category=X-SuSE-Core-Game and {name}.desktop + +* Mon Jun 16 2008 Stefan Posdzich - 1.0.5-3 +- Add --enable-bzip2 for bzip2 data compression +- Add --enable-externalrco (Remote server administration tool) +- Add BuildRequires: readline-devel +- Add correct url for Source: +- Add gtk-update-icon-cache + +* Sun Jun 15 2008 Stefan Posdzich - 1.0.5-2 +- Add desktop-file-install for the .desktop file +- Add BuildRequires: GeoIP-devel, qstat +- Remove the dummy libGeoIP.so +- Remove Requires: GeoIP + +* Fri Jun 13 2008 Stefan Posdzich - 1.0.5-1 +- Initial SPEC file From 28998254f8341f31809e109dea0b5854eccc0c2e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:38:54 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e373e4..ca08499 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 68d64d7bf849e8300a94bb7149dc8a33b9ee2a9b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 16:11:02 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch 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 ca08499..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 $$d/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/branch b/branch deleted file mode 100644 index 1c26f78..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-9