packages: quetoo/quetoo.spec - make it build
glen
glen at pld-linux.org
Mon Feb 1 11:38:29 CET 2010
Author: glen Date: Mon Feb 1 10:38:29 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- make it build
---- Files affected:
packages/quetoo:
quetoo.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/quetoo/quetoo.spec
diff -u packages/quetoo/quetoo.spec:1.2 packages/quetoo/quetoo.spec:1.3
--- packages/quetoo/quetoo.spec:1.2 Sat May 31 10:55:25 2008
+++ packages/quetoo/quetoo.spec Mon Feb 1 11:38:23 2010
@@ -1,4 +1,6 @@
# $Revision$, $Date$
+# TODO:
+# - R some quake2-data package: Data: /usr/share/quake2
Summary: Quetoo: quetoo for deathmatch haX0rs
Summary(pl.UTF-8): Quetoo: quetoo dla haX0rów trybu deathmatch
Name: quetoo
@@ -11,11 +13,15 @@
URL: http://jdolan.dyndns.org/trac/wiki/Quetoo
BuildRequires: OpenGL-GLX-devel
BuildRequires: SDL-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
BuildRequires: mysql-devel
+BuildRequires: sed >= 4.0
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _gamelibdir %{_libdir}/quetoo
+%define _gamelibdir %{_libdir}/quetoo
%define _gamedatadir %{_datadir}/quetoo
%define _gamehomedir /var/games/quetoo
@@ -34,14 +40,31 @@
%prep
%setup -q
+%{__sed} -i -e '
+ # those games are missing in tarball
+ /data\/ctf/d
+ /data\/qmass/d
+ /data\/vanctf/d
+
+ /src\/ctf/d
+ /src\/qmass/d
+ /src\/vanctf/d
+' configure.in
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
+ --disable-warn \
+ --disable-static \
--with-opengl \
--with-sdl \
--with-zlib \
--with-mysql \
- --with-games='baseq2 ctf qmass'
+ --with-games='baseq2'
%{__make}
@@ -50,12 +73,18 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/baseq2/game.la
+
+
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS HACKING README TODO
+%doc README
+%attr(755,root,root) %{_bindir}/quetoo
+%{_libdir}/%{name}/baseq2/game.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -63,6 +92,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2010/02/01 10:38:23 glen
+- make it build
+
Revision 1.2 2008/05/31 08:55:25 qboosh
- pl
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/quetoo/quetoo.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list