+++ /dev/null
-Alias /dokuwiki /usr/share/dokuwiki
-
-<Directory /usr/share/dokuwiki/>
- Require all granted
-
- <IfModule mod_rewrite.c>
- Options +FollowSymLinks
-
- ## $conf['userewrite'] = 1 - not needed for rewrite mode 2
- RewriteEngine on
-
- ## Not all installations will require the following line. If you do,
- ## change "/dokuwiki" to the path to your dokuwiki directory relative
- ## to your document root.
- RewriteBase /dokuwiki
-
- RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
- RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
- RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]
- RewriteRule ^$ doku.php [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule (.*) doku.php?id=$1 [QSA,L]
- RewriteRule ^index.php$ doku.php
- </IfModule>
-</Directory>
Summary(pl.UTF-8): Aplikacja WWW Wiki oparta na PHP
Name: dokuwiki
Version: %{ver}
-Release: 3
+Release: 2
License: GPL v2
Group: Applications/WWW
Source0: http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}.tgz
Source10: pld.gif
Source11: http://glen.alkohol.ee/pld/astah.png
# Source11-md5: b1c999e6988440c9e2af6a12e9a56451
-Source12: %{name}-httpd.conf
Patch66: %{name}-config.patch
Patch0: %{name}-paths.patch
Patch1: system-jquery.patch
Suggests: php-adldap >= 3.3.1
Suggests: php-gd
Obsoletes: dokuwiki-plugin-jquery
-Conflicts: apache-base < 2.4.0-1
Conflicts: dokuwiki-plugin-icalevents < 20120909
# can use gz compression to store attic pages
Suggests: php-zlib
cp -a$l conf/* $RPM_BUILD_ROOT%{_sysconfdir}
cp -a$l data/* $RPM_BUILD_ROOT%{_localstatedir}
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-cp -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
touch $RPM_BUILD_ROOT%{_sysconfdir}/acronyms.local.conf
touch $RPM_BUILD_ROOT%{_sysconfdir}/entities.local.conf
%triggerun -- apache1 < 1.3.37-3, apache1-base
%webapp_unregister apache %{_webapp}
-%triggerin -- apache-base
+%triggerin -- apache < 2.2.0, apache-base
%webapp_register httpd %{_webapp}
-%triggerun -- apache-base
+%triggerun -- apache < 2.2.0, apache-base
%webapp_unregister httpd %{_webapp}
%triggerin -- lighttpd