Changed files:
ckfinder.spec -> 1.2
error_reporting.patch -> 1.1
Summary(pl.UTF-8): Edytor tekstowy dla Internetu
Name: ckfinder
Version: 1.4.2
-Release: 0.18
+Release: 0.19
License: Custom
Group: Applications/WWW
Source0: http://download.cksource.com/CKFinder/CKFinder%20for%20PHP/%{version}/%{name}_php_%{version}.tar.gz
# Source0-md5: 0f37b528272f915b9fcd3a12e2f53439
URL: http://www.ckfinder.com/
+Patch0: error_reporting.patch
Source1: find-lang.sh
Source2: apache.conf
Source3: lighttpd.conf
# undos the files
find '(' -name '*.js' -o -name '*.css' -o -name '*.txt' -o -name '*.html' -o -name '*.php' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
+%patch0 -p1
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir},%{php_data_dir},/var/lib/%{name}}
--- /dev/null
+--- ckfinder-1.4.2/./core/connector/php/connector.php~ 2010-05-26 19:50:10.000000000 +0300
++++ ckfinder-1.4.2/./core/connector/php/connector.php 2010-05-26 19:50:50.329046561 +0300
+@@ -20,12 +20,6 @@
+ */
+
+ /**
+- * Protect against sending warnings to the browser (#186).
+- * Comment out this line during debugging.
+- */
+-error_reporting(0);
+-
+-/**
+ * Protect against sending content before all HTTP headers are sent (#186).
+ */
+ ob_start();