packages (DEVEL): t-engine4/t-engine4.spec (NEW) - new ToME game with engin...
lisu
lisu at pld-linux.org
Tue Feb 15 14:36:02 CET 2011
Author: lisu Date: Tue Feb 15 13:36:02 2011 GMT
Module: packages Tag: DEVEL
---- Log message:
- new ToME game with engine, very nice
---- Files affected:
packages/t-engine4:
t-engine4.spec (NONE -> 1.1.2.1) (NEW)
---- Diffs:
================================================================
Index: packages/t-engine4/t-engine4.spec
diff -u /dev/null packages/t-engine4/t-engine4.spec:1.1.2.1
--- /dev/null Tue Feb 15 14:36:02 2011
+++ packages/t-engine4/t-engine4.spec Tue Feb 15 14:35:57 2011
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+%define _beta beta20b
+Summary: Roguelike game set in the world of Eyal
+Summary(pl.UTF-8): Gra roguelike osadzona w świecie Eyal
+Name: t-engine4
+Version: 1.0.0
+Release: 0.%{_beta}.1
+License: GPL v3+
+Group: X11/Applications/Games
+Source0: http://te4.org/dl/t-engine/%{name}-src-%{version}%{_beta}.tar.bz2
+# Source0-md5: 3a6e236c2ddb747b006cd76a3b38ae4d
+URL: http://te4.org/
+BuildRequires: premake >= 4.0
+BuildRequires: sed >= 4.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tales of Maj'Eyal (ToME) is a tactical role-playing roguelike and
+action game set in the world of Eyal.
+
+%description -l pl.UTF-8
+Tales of Maj'Eyal (ToME) to pełna akcji, taktyczna gra RPG typu
+roguelike osadzona w świecie Eyal.
+
+%prep
+%setup -q -n %{name}-src-%{version}%{_beta}
+
+# set proper path to bootstrap
+%{__sed} -i 's,/bootstrap,%{_datadir}/games/t-engine/bootstrap,' src/main.c
+
+# set proper path to game's data
+%{__sed} -i 's,game/,%{_datadir}/games/t-engine/game/,' src/main.c
+
+%build
+premake4 gmake
+
+%{__make} \
+ config=release
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/t-engine}
+
+cp -a t-engine $RPM_BUILD_ROOT%{_bindir}
+cp -a bootstrap game $RPM_BUILD_ROOT%{_datadir}/games/t-engine
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CONTRIBUTING CREDITS
+%attr(755,root,root) %{_bindir}/t-engine
+%{_datadir}/games/t-engine
+
+%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$
+Revision 1.1.2.1 2011/02/15 13:35:57 lisu
+- new ToME game with engine, very nice
+
================================================================
More information about the pld-cvs-commit
mailing list