SPECS: phpmole.spec - php-gtk1 is php4 only fun
glen
glen at pld-linux.org
Mon Nov 27 21:49:42 CET 2006
Author: glen Date: Mon Nov 27 20:49:42 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- php-gtk1 is php4 only fun
---- Files affected:
SPECS:
phpmole.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/phpmole.spec
diff -u SPECS/phpmole.spec:1.7 SPECS/phpmole.spec:1.8
--- SPECS/phpmole.spec:1.7 Sat Oct 30 09:07:27 2004
+++ SPECS/phpmole.spec Mon Nov 27 21:49:37 2006
@@ -1,6 +1,5 @@
# $Revision$, $Date$
# TODO: applnk
-
Summary: PhpMole - integrated development enviroment for web and PHP-GTK based applications
Summary: PhpMole - zintegrowane środowisko programisty do applikacji WWW i opartych o PHP-GTK
Name: phpmole
@@ -11,14 +10,13 @@
Source0: http://dl.sourceforge.net/phpmole-ide/%{name}-%{version}.tgz
# Source0-md5: e8b80562fcd718f6f0e54baf5c5744f1
URL: http://www.akbkhome.com/Projects/Phpmole-IDE/
-# or should it be php-cli? but php.cli binary should be used then
-Requires: php-cgi
-Requires: php-curl
-Requires: php-dba
-Requires: php-gtk
-Requires: php-imap
-Requires: php-pecl-imagick
-Requires: php-sockets
+Requires: php4-cli
+Requires: php4-curl
+Requires: php4-dba
+Requires: php4-gtk
+Requires: php4-imap
+Requires: php4-pecl-imagick
+Requires: php4-sockets
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,19 +45,18 @@
%prep
%setup -q -n %{name}
+rm -f phpmole.exe
+
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
-
-rm -rf phpmole.exe
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
cp -rf * $RPM_BUILD_ROOT%{_datadir}/%{name}
cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/%{name}
#!/bin/sh
cd %{_datadir}/%{name}
-php phpmole-ide.php
+exec /usr/bin/php4.cli phpmole-ide.php
EOF
%clean
@@ -77,6 +74,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2006/11/27 20:49:37 glen
+- php-gtk1 is php4 only fun
+
Revision 1.7 2004/10/30 07:07:27 paladine
- unifications
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/phpmole.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list