-%define subver 2014-05-05
+%define subver 2014-09-29d
%define ver %(echo %{subver} | tr -d -)
#define snap 1
#define rc_ 1
Release: 1
License: GPL v2
Group: Applications/WWW
+# Source0Download: http://download.dokuwiki.org/archive
Source0: http://download.dokuwiki.org/src/dokuwiki/%{name}-%{subver}.tgz
-# Source0-md5: 52d484e1b62a0314511348c7d3ea4346
+# Source0-md5: 2bf2d6c242c00e9c97f0647e71583375
Source1: %{name}-apache.conf
Source2: %{name}-lighttpd.conf
Source3: http://glen.alkohol.ee/pld/jude.png
Requires: webserver(access)
Requires: webserver(alias)
Requires: webserver(php)
-Suggests: php-adldap >= 3.3.1
+Suggests: php-adldap >= 4.0.4
Suggests: php-gd
Obsoletes: dokuwiki-plugin-jquery
Conflicts: dokuwiki-plugin-icalevents < 20120909
%if 0%{?snap:1}
mv *-dokuwiki-*/* .
test -e VERSION || echo %{subver}-git > VERSION
-install -d data/pages/playground
-touch data/pages/playground/playground.txt
%endif
+install -d data/pages/playground
+test -e data/pages/playground/playground.txt || \
+echo '====== PlayGround ======' > data/pages/playground/playground.txt
+
%patch0 -p1
%patch1 -p1
%patch2 -p1