]> git.pld-linux.org Git - packages/dokuwiki-tpl-multitemplate.git/blobdiff - dokuwiki-tpl-multitemplate.spec
- unified
[packages/dokuwiki-tpl-multitemplate.git] / dokuwiki-tpl-multitemplate.spec
index d1a6d16168966cbc23f0631b96959cc692bd5edf..6c97f416727b83581ee51048f31f6af0d9f4980c 100644 (file)
@@ -1,5 +1,6 @@
 %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
@@ -15,7 +16,6 @@ BuildArch:    noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _dokudir        /usr/share/dokuwiki
-%define                _tpl            multitemplate
 %define                _tpldir         %{_dokudir}/lib/tpl/%{_tpl}
 
 %description
@@ -30,14 +30,14 @@ dowolnej przestrzeni nazw (lub strony).
 %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
This page took 0.05075 seconds and 4 git commands to generate.