Author: lisu                         Date: Tue Feb 15 13:39:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- put it on HEAD

---- Files affected:
packages/t-engine4:
   t-engine4.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/t-engine4/t-engine4.spec
diff -u /dev/null packages/t-engine4/t-engine4.spec:1.2
--- /dev/null   Tue Feb 15 14:39:04 2011
+++ packages/t-engine4/t-engine4.spec   Tue Feb 15 14:38:59 2011
@@ -0,0 +1,67 @@
+# $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 <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.2  2011/02/15 13:38:59  lisu
+- put it on HEAD
+
+Revision 1.1.2.1  2011/02/15 13:35:57  lisu
+- new ToME game with engine, very nice
+
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/t-engine4/t-engine4.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to