Compare commits
9 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfb80cf7a2 | ||
|
|
bd60c88014 | ||
|
|
eac49d33aa | ||
|
|
7d58830e0a | ||
|
|
92c60a5976 | ||
|
|
582f3e031a | ||
|
|
8442bf21f8 | ||
|
|
7028344a21 | ||
|
|
87f97a0c43 |
8 changed files with 1 additions and 177 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
This package was retired on 2011-07-25 due to it being unable to build this package for multiple releases (FTBFS).
|
||||
|
|
@ -1 +0,0 @@
|
|||
xqf-1_0_5-4_fc9:HEAD:xqf-1.0.5-4.fc9.src.rpm:1215516144
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
a88cecba6abb6349107ab135f1009946 xqf-1.0.5.tar.gz
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
--- src/launch.c 2005-10-07 14:55:15.000000000 +0200
|
||||
+++ src/launch.c.patch 2009-06-05 16:30:01.000000000 +0200
|
||||
@@ -168,14 +168,18 @@
|
||||
|
||||
res = read (fd, cl->buffer + cl->pos, CLIENT_ERROR_BUFFER - 1 - cl->pos);
|
||||
|
||||
- if (res <= 0) { /* read error or EOF */
|
||||
+ if (res < 0) { /* read error or EOF */
|
||||
if (errno == EAGAIN || errno == EWOULDBLOCK)
|
||||
return;
|
||||
|
||||
client_detach (cl);
|
||||
return;
|
||||
+ } else if (res == 0) {
|
||||
+ client_detach (cl);
|
||||
+ return;
|
||||
}
|
||||
|
||||
+
|
||||
if (cl->pos + res == CLIENT_ERROR_BUFFER - 1) {
|
||||
tmp = &cl->buffer[CLIENT_ERROR_BUFFER - 1];
|
||||
*tmp = '\0';
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=XQF
|
||||
Comment=Locate and connect to game servers
|
||||
Exec=xqf
|
||||
Icon=xqf
|
||||
Type=Application
|
||||
Categories=GTK;Game;ActionGame;
|
||||
124
xqf.spec
124
xqf.spec
|
|
@ -1,124 +0,0 @@
|
|||
Name: xqf
|
||||
Version: 1.0.5
|
||||
Release: 8%{?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
|
||||
Patch0: %{name}-%{version}-launch.patch
|
||||
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
|
||||
%patch0 -p0 -b .launch
|
||||
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-geoip \
|
||||
--enable-bzip2 \
|
||||
--enable-externalrcon \
|
||||
--enable-gtk2
|
||||
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
|
||||
|
||||
%install
|
||||
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}
|
||||
|
||||
# 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
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
||||
%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
|
||||
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Sun Jun 07 2009 Stefan Posdzich <cheekyboinc@foresightlinux.org> - 1.0.5-7
|
||||
- Added new icon cache scriptlets
|
||||
- Fixed "Bug 503695 - Xqf freezes with 100% CPU"
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Tue Jul 08 2008 Stefan Posdzich <cheekyboinc@foresightlinux.org> - 1.0.5-5
|
||||
- Remove BuildRequires: glibc-devel
|
||||
|
||||
* Wed Jun 18 2008 Stefan Posdzich <cheekyboinc@foresightlinux.org> - 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 <cheekyboinc@foresightlinux.org> - 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 <cheekyboinc@foresightlinux.org> - 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 <cheekyboinc@foresightlinux.org> - 1.0.5-1
|
||||
- Initial SPEC file
|
||||
Loading…
Add table
Add a link
Reference in a new issue