Changed files:
cakephp.spec -> 1.3
config.patch -> 1.1
+# TODO
+# - SimpleTest dependency for -tests: http://simpletest.org/en/download.html
Summary: OpenSource Rapid Development PHP Framework
Name: cakephp
Version: 1.2.1.8004
-Release: 0.4
+Release: 0.5
License: MIT
Group: Development/Languages/PHP
Source0: http://cakeforge.org/frs/download.php/697/cake_%{version}.tar.bz2/donation=%{name}-%{version}.tar.bz2
# Source0-md5: 0d01d1bc4e2df9ccf82130a838b06dd6
Patch0: console.patch
+Patch1: config.patch
URL: http://www.cakephp.org/
BuildRequires: rpmbuild(macros) >= 1.461
Requires: php-common
%prep
%setup -q -n cake_%{version}
%patch0 -p1
+%patch1 -p1
mv cake/{LICENSE,VERSION}.txt .
rm cake/console/cake.bat
--- /dev/null
+--- cake_1.2.1.8004/cake/config/paths.php~ 2009-11-16 18:02:02.000000000 +0200
++++ cake_1.2.1.8004/cake/config/paths.php 2009-11-17 17:48:12.232914111 +0200
+@@ -156,11 +156,15 @@
+ /**
+ * Path to the logs directory.
+ */
++if (!defined('LOGS')) {
+ define('LOGS', TMP.'logs'.DS);
++}
+ /**
+ * Path to the cache files directory. It can be shared between hosts in a multi-server setup.
+ */
++if (!defined('CACHE')) {
+ define('CACHE', TMP.'cache'.DS);
++}
+ /**
+ * Path to the vendors directory.
+ */