packages: kqthebetrayer/kqthebetrayer.spec (NEW), kqthebetrayer/kqthebetray...

evil evil at pld-linux.org
Mon May 10 12:59:21 CEST 2010


Author: evil                         Date: Mon May 10 10:59:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- inital release (doesnt install yet)

---- Files affected:
packages/kqthebetrayer:
   kqthebetrayer.spec (NONE -> 1.1)  (NEW), kqthebetrayer.desktop (NONE -> 1.1)  (NEW), kqthebetrayer-naming_scheme.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kqthebetrayer/kqthebetrayer.spec
diff -u /dev/null packages/kqthebetrayer/kqthebetrayer.spec:1.1
--- /dev/null	Mon May 10 12:59:21 2010
+++ packages/kqthebetrayer/kqthebetrayer.spec	Mon May 10 12:59:15 2010
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+Summary:	Classic RPG game based on KQlives engine
+Summary(pl.UTF-8):	Klasyczna gra RPG oparta na silniku KQlives
+Name:		kqthebetrayer
+Version:	0.2.7
+Release:	0.1
+License:	GPL
+Group:		X11/Applications/Games
+Source0:	http://dl.sourceforge.net/kqthebetrayer/%{name}%{version}src.tar.gz
+# Source0-md5:	62eca9c1c67db749347e770c62e1f7fd
+#Source1:	%{name}.desktop
+URL:		http://virtualkingdoms.net/kqthebetrayer/
+Source1:	%{name}.desktop
+Patch0:		%{name}-naming_scheme.patch
+BuildRequires:	allegro-devel >= 4.2.1
+BuildRequires:	dumb-devel
+BuildRequires:	lua50-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+“The Betrayer” is an RPG adventure written to run under the KQlives
+engine. KQthebetrayer is a standalone game and is completely separate
+from mainline KQlives. It is based in the same world as the Virtual
+Kingdoms fantasy world building project.
+
+%description -l pl.UTF-8
+“The Betrayer” jest przygodowym RPG, korzystającym z silnika KQlives.
+KQthebetrayer jest samodzielną grą, i jest kompletnie oddzielona od
+głównej linii KQlives. Osadzona jest w tym samym świecie co Virtual
+Kingdoms fantasy world building project.
+
+%prep
+%setup -q -n %{name}%{version}src
+%patch0
+%{__sed} 's/luac/luac50/g' -i scripts/Makefile.{am,in}
+
+%build
+CFLAGS="-I/usr/include/lua50 %{rpmcflags}"
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%{configure} \
+	 --program-suffix=thebetrayer
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install debian/kq.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/scripts
+%attr(755,root,root) %{_libdir}/%{name}/scripts/*.lob
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/data
+%{_datadir}/%{name}/data/*
+%dir %{_datadir}/%{name}/maps
+%{_datadir}/%{name}/maps/*
+%dir %{_datadir}/%{name}/music
+%{_datadir}/%{name}/music/*
+%{_mandir}/man6/%{name}.6*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.xpm
+
+%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  2010/05/10 10:59:15  evil
+- inital release (doesnt install yet)
+

================================================================
Index: packages/kqthebetrayer/kqthebetrayer.desktop
diff -u /dev/null packages/kqthebetrayer/kqthebetrayer.desktop:1.1
--- /dev/null	Mon May 10 12:59:21 2010
+++ packages/kqthebetrayer/kqthebetrayer.desktop	Mon May 10 12:59:15 2010
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=KQ The Betrayer
+Comment=Classic RPG game based on KQlives engine.
+Comment[pl]=Klasyczna gra RPG oparta na silniku KQlives
+Icon=kqthebetrayer
+Exec=kqthebetrayer
+Terminal=false
+Type=Application
+Categories=Game;RolePlaying;
+# vi: encoding=utf-8

================================================================
Index: packages/kqthebetrayer/kqthebetrayer-naming_scheme.patch
diff -u /dev/null packages/kqthebetrayer/kqthebetrayer-naming_scheme.patch:1.1
--- /dev/null	Mon May 10 12:59:21 2010
+++ packages/kqthebetrayer/kqthebetrayer-naming_scheme.patch	Mon May 10 12:59:15 2010
@@ -0,0 +1,22 @@
+--- configure.ac.orig	2009-02-27 00:22:00.000000000 +0100
++++ configure.ac	2009-02-27 00:23:54.000000000 +0100
+@@ -2,7 +2,7 @@
+ # Process this file with autoconf to produce a configure script.
+ 
+ AC_PREREQ(2.52)
+-AC_INIT(KQ, 0.99, [peterhull90 at users.sourceforge.net])
++AC_INIT(KQTheBetrayer, 0.2.7, [peterhull90 at users.sourceforge.net])
+ AC_CONFIG_SRCDIR([src/kq.c])
+ AC_CONFIG_HEADER([config.h])
+ AC_CANONICAL_BUILD
+--- Makefile.am.orig	2007-12-12 05:32:22.000000000 +0100
++++ Makefile.am	2009-02-27 00:23:54.000000000 +0100
+@@ -108,7 +108,7 @@
+ 
+ dist_man_MANS = debian/kq.6
+ 
+-AM_CFLAGS = -I$(top_srcdir)/include -DKQ_BIN=\"$(bindir)/kq$(EXEEXT)\" -DKQ_DATA=\"$(pkgdatadir)\" -DKQ_LIB=\"$(pkglibdir)\"
++AM_CFLAGS = -I$(top_srcdir)/include -DKQ_BIN=\"$(bindir)/kqthebetrayer$(EXEEXT)\" -DKQ_DATA=\"$(pkgdatadir)\" -DKQ_LIB=\"$(pkglibdir)\"
+ 
+ if BUNDLE
+ all-local: KQ.app
================================================================


More information about the pld-cvs-commit mailing list