]> git.pld-linux.org Git - packages/childsplay.git/commitdiff
- use childsplay script instead of our to run childsplay
authorlisu <lisu@pld-linux.org>
Tue, 27 Jan 2009 12:37:09 +0000 (12:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    childsplay.spec -> 1.22

childsplay.spec

index efc78990fa2909279243cc0b8ee1421a527ad4ca..4f9d55db55bb2a7fbd0efafd9dd4f9f8e1e07dcb 100644 (file)
@@ -1,6 +1,7 @@
 #
 # TODO:        - enable plugins
 #      - check install section
+#      - make it runable :-)
 #
 %define plugins_ver 0.90
 %define plugins_lfc_ver 0.90
@@ -22,7 +23,7 @@ URL:          http://www.schoolsplay.org/
 %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)
 
@@ -42,11 +43,6 @@ odtwarzanie dźwięku bardzo łatwym.
 #%%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}"
@@ -74,7 +70,7 @@ rm -rf $RPM_BUILD_ROOT
 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}
This page took 0.071891 seconds and 4 git commands to generate.