Summary(pl.UTF-8): Aplikacja WWW Wiki oparta na PHP
Name: dokuwiki
Version: %{ver}
-Release: 1.5
+Release: 1.11
License: GPL v2
Group: Applications/WWW
#Source0: http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}.tgz
# Source11-md5: b1c999e6988440c9e2af6a12e9a56451
Patch66: %{name}-config.patch
Patch0: %{name}-paths.patch
+Patch1: system-jquery.patch
Patch3: %{name}-config-allow-require.patch
Patch4: %{name}-geshi.patch
Patch5: %{name}-http_auth-option.patch
BuildRequires: fslint
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.520
+Requires: jquery >= 1.6
+Requires: jquery-cookie
+Requires: jquery-ui
Requires: php-common >= 4:%{php_min_version}
Requires: php-geshi >= 1.0.7.19
Requires: php-session
%define find_lang %{_usrlibrpm}/dokuwiki-find-lang.sh %{buildroot}
# bad depsolver
-%define _noautopear 'pear(/usr/share/php/geshi.php)' 'pear(/usr/share/php/adLDAP.php)'
+%define _noautopear pear(/usr/share/php/geshi.php) pear(/usr/share/php/adLDAP.php)
# exclude optional php dependencies
%define _noautophp php-bzip2 php-bcmath php-zip php-date php-ftp php-hash php-ldap php-mbstring php-mysql php-pgsql php-tokenizer
touch data/pages/playground/playground.txt
%endif
%patch0 -p1
+%patch1 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/users.auth.php
%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mysql.conf.php
-%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size mode) %{_sysconfdir}/local.php
-%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size mode) %{_sysconfdir}/plugins.local.php
+%attr(640,root,http) %config(noreplace) %verify(not md5 mode mtime size) %{_sysconfdir}/local.php
+%attr(640,root,http) %config(noreplace) %verify(not md5 mode mtime size) %{_sysconfdir}/plugins.local.php
# use local.php, local.protected.php, etc for local changes
%attr(640,root,http) %config %verify(not md5 mtime size) %{_sysconfdir}/acronyms.conf
--- /dev/null
+--- dokuwiki-2012-01-25a/lib/exe/js.php 2012-04-19 13:09:54.000000000 +0300
++++ ./lib/exe/js.php 2012-05-05 15:29:01.000000000 +0300
+@@ -40,9 +40,9 @@
+
+ // array of core files
+ $files = array(
+- DOKU_INC."lib/scripts/jquery/jquery$min.js",
+- DOKU_INC.'lib/scripts/jquery/jquery.cookie.js',
+- DOKU_INC."lib/scripts/jquery/jquery-ui$min.js",
++ "/usr/share/jquery/jquery$min.js",
++ '/usr/share/jquery/cookie/cookie.js',
++ "/usr/share/jquery/ui/jquery-ui.js",
+ DOKU_INC."lib/scripts/fileuploader.js",
+ DOKU_INC."lib/scripts/fileuploaderextended.js",
+ DOKU_INC.'lib/scripts/helpers.js',