SPECS: childsplay.spec - use childsplay script instead of our to run childs...
lisu
lisu at pld-linux.org
Tue Jan 27 13:37:14 CET 2009
Author: lisu Date: Tue Jan 27 12:37:14 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use childsplay script instead of our to run childsplay
---- Files affected:
SPECS:
childsplay.spec (1.21 -> 1.22)
---- Diffs:
================================================================
Index: SPECS/childsplay.spec
diff -u SPECS/childsplay.spec:1.21 SPECS/childsplay.spec:1.22
--- SPECS/childsplay.spec:1.21 Tue Jan 27 12:33:16 2009
+++ SPECS/childsplay.spec Tue Jan 27 13:37:09 2009
@@ -2,6 +2,7 @@
#
# TODO: - enable plugins
# - check install section
+# - make it runable :-)
#
%define plugins_ver 0.90
%define plugins_lfc_ver 0.90
@@ -23,7 +24,7 @@
%pyrequires_eq python-modules
BuildRequires: rpm-pythonprov
Requires: python-SQLAlchemy
-Requires: python-pygame >= 1.6
+Requires: python-pygame >= 1.7
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,11 +44,6 @@
#%%setup -q -a1 -a2
%setup -q
-cat <<'EOF' >childsplay.sh
-#!/bin/sh
-exec python %{_datadir}/childsplay/childsplay.pyc $@
-EOF
-
cat <<'EOF' >BASEPATH.py
BASEPATH = "%{_prefix}"
EXECDIR = "%{_bindir}"
@@ -75,7 +71,7 @@
install -d $RPM_BUILD_ROOT%{_datadir}{/%{name}/lib/{ConfigData,MemoryData},locale,assetml} \
$RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_mandir}/man6,/var/games}
-install -Dp childsplay.sh $RPM_BUILD_ROOT%{_bindir}/childsplay
+install -Dp bin/childsplay $RPM_BUILD_ROOT%{_bindir}/childsplay
#gzip -dc man/childsplay.6.gz >$RPM_BUILD_ROOT%{_mandir}/man6/childsplay.6
install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
@@ -137,6 +133,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.22 2009/01/27 12:37:09 lisu
+- use childsplay script instead of our to run childsplay
+
Revision 1.21 2009/01/27 11:33:16 lisu
- locale files packaged
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/childsplay.spec?r1=1.21&r2=1.22&f=u
More information about the pld-cvs-commit
mailing list