[packages/supertux2] - supertux2 is back based on 0.3.3 and git changes up to 20121104

mguevara mguevara at pld-linux.org
Tue Nov 6 20:53:36 CET 2012


commit efc1b4622bf5b9cc339883b48d30e8c5ea980b53
Author: Marek Guevara Braun <mguevara at pld-linux.org>
Date:   Tue Nov 6 20:44:57 2012 +0100

    - supertux2 is back based on 0.3.3 and git changes up to 20121104

 supertux2      |  2 ++
 supertux2.spec | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)
---
diff --git a/supertux2.spec b/supertux2.spec
new file mode 100644
index 0000000..916a4da
--- /dev/null
+++ b/supertux2.spec
@@ -0,0 +1,80 @@
+# $Revision: 1.1 $, $Date: 2011/03/07 09:25:05 $
+%define 	gitdate	20121104
+Summary:	Enhanced version of SuperTux Game
+Summary(pl.UTF-8):	Rozbudowana wersja gry SuperTux
+Name:		supertux2
+Version:	0.3.3
+Release:	%{gitdate}.1
+License:	GPL
+Group:		X11/Applications/Games
+# Source0: supertux2-git-2012-11-04.tar.bz2 created @2012-11-04
+# git clone https://code.google.com/p/supertux/
+# cd supertux
+# git archive --format=tar HEAD | bzip2 -9 > supertux2-git-20121104.tar.bz2
+Source0:	http://files.guevara.pl/%{name}-git-20121104.tar.bz2
+# Source0-md5:	17164616082a1f766d2fa1278ebe1b65
+Source1:	%{name}
+# Source1-md5:	3eb2c5eebde638baded293419592e7c0
+URL:		http://supertux.lethargik.org/
+BuildRequires:	OpenAL-devel
+BuildRequires:	OpenGL-devel
+BuildRequires:	SDL-devel >= 1.2.4
+BuildRequires:	SDL_image-devel
+BuildRequires:	boost-devel
+BuildRequires:	cmake
+BuildRequires:	glew-devel
+BuildRequires:	physfs-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define	_noautoreqdep	libGL.so.1 libGLU.so.1
+
+%description
+SuperTux 2 is a classic 2D jump'n run sidescroller game in a style
+similar to the original Super Mario.
+
+%description -l pl.UTF-8
+SuperTux 2 to gra w stylu Super Mario Bros z pingwinem Tuksem w roli
+głównej.
+
+%prep
+%setup -q -cn %{name}-%{version}
+
+%build
+mkdir -p build
+cd build
+cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX='%{_prefix}'
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd build
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README WHATSNEW.txt
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_prefix}/games/supertux2
+%dir %{_docdir}/supertux2
+%{_desktopdir}/supertux2.desktop
+%{_docdir}/supertux2/*
+%{_datadir}/games/supertux2
+%{_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:supertux2.spec,v $
+Revision 1.1  2011/03/07 09:25:05  mguevara
+supertux 0.3.3 aka supertux2 initial release
+
diff --git a/supertux2 b/supertux2
new file mode 100644
index 0000000..c514df0
--- /dev/null
+++ b/supertux2
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/games/supertux2 2>/dev/null
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/supertux2.git/commitdiff/efc1b4622bf5b9cc339883b48d30e8c5ea980b53



More information about the pld-cvs-commit mailing list