SPECS: cube.spec - up to 2005_08_29
glen
glen at pld-linux.org
Thu Mar 16 21:23:35 CET 2006
Author: glen Date: Thu Mar 16 20:23:35 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 2005_08_29
---- Files affected:
SPECS:
cube.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/cube.spec
diff -u SPECS/cube.spec:1.7 SPECS/cube.spec:1.8
--- SPECS/cube.spec:1.7 Fri Oct 1 12:09:36 2004
+++ SPECS/cube.spec Thu Mar 16 21:23:29 2006
@@ -1,4 +1,6 @@
# $Revision$, $Date$
+# TODO
+# - still vulnreable: http://security.gentoo.org/glsa/glsa-200603-10.xml
#
# Conditional build:
%bcond_with cheaters # unlimited energy and ammo
@@ -6,17 +8,18 @@
Summary: Cube FPS game
Summary(pl): Gra FPS Cube
Name: cube
-Version: 2004_05_22
-Release: 0.7
+Version: 2005_08_29
+Release: 0.1
License: ZLIB
Group: X11/Applications/Games
-Source0: http://dl.sourceforge.net/cube/%{name}_%{version}.tar.gz
-# Source0-md5: a0ae899d9af6ab65970d81bf3ccd94ee
-Source1: %{name}-wrapper.sh
-Source2: %{name}-client.desktop
-Source3: %{name}-server.desktop
+Source0: http://dl.sourceforge.net/cube/%{name}_%{version}_unix.tar.gz
+# Source0-md5: e77f3cf85292bf61100d2f8511a254cc
+Source1: http://dl.sourceforge.net/cube/%{name}_%{version}_src.zip
+# Source1-md5: e376c49ac209b095cb6d29490834d060
+Source2: %{name}-wrapper.sh
+Source3: %{name}-client.desktop
+Source4: %{name}-server.desktop
Patch0: %{name}-cheaters.patch
-Patch1: %{name}-fun.patch
URL: http://www.cubeengine.com/
BuildRequires: OpenGL-devel-base
BuildRequires: SDL_image-devel
@@ -52,16 +55,12 @@
gracza. Ten pakiet zawiera serwer.
%prep
-%setup -q -n %{name}
-chmod +w packages/{socksky,stecki}
-cd source
-unzip -o %{name}_%{version}_src.zip
+%setup -q -n %{name} -a1
+cd cube_source
%{?with_cheaters:%patch0 -p0}
-%patch1 -p0
-
%build
-cd source/enet
+cd cube_source/enet
rm -f configure missing
%{__aclocal}
%{__autoconf}
@@ -78,9 +77,9 @@
cp -fr {data,packages} $RPM_BUILD_ROOT%{_datadir}/%{name}
install *.cfg $RPM_BUILD_ROOT%{_datadir}/%{name}
-install source/src/cube_* $RPM_BUILD_ROOT%{_bindir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/cube
-install %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
+install cube_source/src/cube_* $RPM_BUILD_ROOT%{_bindir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/cube
+install %{SOURCE3} %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
install -D $RPM_BUILD_ROOT%{_datadir}/%{name}/data/martin/ball2.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}-client.png
install -D $RPM_BUILD_ROOT%{_datadir}/%{name}/data/martin/ball2.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}-server.png
@@ -89,7 +88,7 @@
%files
%defattr(644,root,root,755)
-%doc docs/* readme.html source/readme.txt source/src/CUBE_TODO.txt
+%doc docs/* readme.html cube_source/readme.txt cube_source/src/CUBE_TODO.txt
%attr(755,root,root) %{_bindir}/*
%exclude %{_bindir}/cube_server
%{_datadir}/%{name}
@@ -108,6 +107,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2006/03/16 20:23:29 glen
+- up to 2005_08_29
+
Revision 1.7 2004/10/01 10:09:36 paladine
- rel 0.7 for fixed desktop files
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/cube.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list