Dwa nowe spece.
Przemysław Białek
lobo at chello.pl
Mon Mar 29 23:00:08 CEST 2004
Witam!
Korzystając z okazji, że przeszedł mój pierwszy spec :), podsyłam dwa
kolejne. Są to:
qstat - tekstowa wyszukiwarka serwerów gier głównie dla gier typu
FPP/FPS.
xqf - frontend do ww.
Tutaj (xqf) miałem kilka problemów.
1. Po ustawieniu Categories na Application;Game; nic sie w menu nie
pojawia. Przejrzałem /etc/xdx/applications.menu i zobaczyłem, że tam
raczej nie ma prawa się nic pojawić. Zrobiłem małego patcha który zmienia
to zachowanie, ale zamieszczę go w innym wątku, żeby nie przedłużać
listu.
2. Ponieważ nie wiem jak będzie w Ac z gtk+ z seri 1.2, ustawiłem
domyślnie kompilację dla gtk+2, u mnie (athlon-NEST) program się odpala
i wygląda na to że działa stabilnie. Autor co prawda twierdzi, że to
kod testowy.
3. Kwestia zależności. Nie wiem, czy są wystarczające, wydaje mi się, że
tak. Szczególnie dla wersji gtk+2.
To chyba na tyle. Prosiłbym o komentarze i ewentualne dodanie do repo.
Ps. patch na plik xqf.desktop nie zadziała bez zmian w applnk, problem
poruszę za chwilkę w innym wątku.
--
Pozdrawiam
Przemek Białek
-------------- next part --------------
# $Revision:$, $Date:$
Summary: Game server browsing utility
Name: qstat
Version: 2.5c
Release: 1
Copyright: Artistic
Group: Applications/Games
Source0: http://www.qstat.org/%{name}25c.tar.gz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr
%description
qstat is a command-line program that displays information about
Internet game servers.
Games supported include Quake, QuakeWorld, Hexen II, Quake II,
HexenWorld, Unreal, Half-Life, Sin, Shogo, Tribes, Tribes 2,
Quake III: Arena, BFRIS, Kingpin, and Heretic II, Unreal Tournament,
Soldier of Fortune, Rogue Spear, Redline, Turok II, Blood 2,
Descent 3, Drakan, KISS, Nerf Arena Blast, Rally Master, Terminous,
Wheel of Time and Daikatana.
Note for Tribes 2: QStat only supports Tribes 2 builds numbered 22075
or higher.
%prep
%setup -q -n %{name}25c
%build
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
install qstat $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(0755, root, root)%{_bindir}/qstat
%doc LICENSE.txt CHANGES.txt qstat.cfg contrib.cfg qstatdoc.html template info
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
-------------- next part --------------
# $Revision:$, $Date:$
# Conditional build:
%bcond_without geoip
%bcond_without gtk2
#
Summary: XQF
Name: xqf
Version: 0.9.14
Release: 1
License: GPL
Group: X11/Applications
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: %{name}-desktop.patch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
BuildRequires: bzip2-devel
BuildRequires: qstat >= 2.5b
%{?with_geoip:BuildRequires: GeoIP-devel}
%{!?with_gtk2:BuildRequires: gtk+-devel >= 1.2.0}
%{!?with_gtk2:BuildRequires: gdk-pixbuf-devel}
%{?with_gtk2:BuildRequires: gtk+2-devel >= 2.0.0}
Requires: qstat >= 2.5b
URL: http://www.linuxgames.com/xqf/
%define _prefix /usr
%description
XQF is QuakeWorld, Quake2, Quake3, Tribes2, etc. server browser and
launcher for Linux/X11. It uses the GTK toolkit. XQF is a frontend to
QStat.
%prep
%setup -q
%patch -p1
%build
%configure \
--enable-bzip2 \
%{?with_gtk2:--enable-gtk2} \
%{!?with_geoip:--disable-geoip} \
%{?with_geoip:--enable-geoip}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc README AUTHORS BUGS ChangeLog NEWS TODO
%attr(0755,root,root)%{_bindir}/xqf
%{_datadir}/xqf/
%{_mandir}/man6/xqf.6.gz
%{_desktopdir}/*
%{_pixmapsdir}/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
-------------- next part --------------
diff -ru xqf-0.9.14.orig/xqf.desktop xqf-0.9.14/xqf.desktop
--- xqf-0.9.14.orig/xqf.desktop 2004-03-20 21:49:05.000000000 +0100
+++ xqf-0.9.14/xqf.desktop 2004-03-29 12:25:52.699641056 +0200
@@ -17,4 +17,4 @@
StartupNotify=true
Terminal=false
Type=Application
-Categories=X-SuSE-Core-Game;Application;Game;
+Categories=Application;Game;
More information about the pld-devel-pl
mailing list