%define _snap 01022007
%define _ver %(echo %{_snap} | sed -e 's,\\(..\\)\\(..\\)\\(....\\),\\3\\1\\2,')
+%define _tpl multitemplate
Summary: Multitemplate for DokuWiki
Summary(pl.UTF-8): Wielokrotne szablony dla DokuWiki
Name: dokuwiki-tpl-multitemplate
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _dokudir /usr/share/dokuwiki
-%define _tpl multitemplate
%define _tpldir %{_dokudir}/lib/tpl/%{_tpl}
%description
%setup -q -n %{_tpl}
cat > INSTALL <<'EOF'
-To activate this template add something like this to your conf/local.php file:
+To activate this template add something like this to your conf/local.php file:
+$conf['template'] = '%{_tpl}';
+
+and configure defaults:
$multitemplate['playground'] = 'default';
$multitemplate[''] = 'monobook';
-and
-$conf['template'] = 'multitemplate';
-
EOF
%install