1 %define snap 2009-01-26
2 %define ver %(echo %{snap} | tr -d -)
4 Summary: Sidebar navigation with DokuWiki
5 Summary(pl.UTF-8): Nawigacja po sidebarze przy użyciu DokuWiki
6 Name: dokuwiki-tpl-sidebar
10 Group: Applications/WWW
11 Source0: http://dokuwiki.jalakai.co.uk/template-sidebar-rc%{snap}.zip
12 # Source0-md5: 7a36b63e86d00f72eecae2ba80334fdd
13 Patch0: backlink-rightside.patch
14 Patch1: more-buttons.patch
15 URL: http://www.dokuwiki.org/template:sidebar
16 BuildRequires: rpmbuild(macros) >= 1.268
17 Requires: dokuwiki >= 20090126
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define dokuconf /etc/webapps/dokuwiki
22 %define dokudir /usr/share/dokuwiki
23 %define tpldir %{dokudir}/lib/tpl/%{tpl}
26 Better navigation with DokuWiki. Features a navigation sidebar, a
27 tagline, highlighting the current page in the sidebar (unique
28 feature!), using the page heading as link text automatically. Retains
29 the default DokuWiki look and feel as much as possible.
31 %description -l pl.UTF-8
32 Lepsza nawigacja przy użyciu DokuWiki. Opiera się na sidebarze
33 nawigacyjnym, pasku podświetlającym aktualną stronę na sidebarze (co
34 jest unikalną cechą!), przy automatycznym użyciu nagłówka strony jako
35 tekstu odnośnika. Zachowuje domyślny wygląd i zachowanie DokuWiki na
44 To activate this template add the following to your conf/local.php file:
45 $conf['template'] = '%{tpl}';
47 If you want a tagline, you can define it as follows:
48 $conf['tagline'] = 'Your own tagline';
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{tpldir}
54 cp -a . $RPM_BUILD_ROOT%{tpldir}
55 rm -f $RPM_BUILD_ROOT%{tpldir}/INSTALL
58 rm -rf $RPM_BUILD_ROOT
61 # force css cache refresh
62 if [ -f %{dokuconf}/local.php ]; then
63 touch %{dokuconf}/local.php
67 %defattr(644,root,root,755)