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 URL: http://wiki.jalakai.co.uk/dokuwiki/
15 BuildRequires: rpmbuild(macros) >= 1.268
16 Requires: dokuwiki >= 20090126
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define dokuconf /etc/webapps/dokuwiki
21 %define dokudir /usr/share/dokuwiki
22 %define tpldir %{dokudir}/lib/tpl/%{tpl}
25 Better navigation with DokuWiki. Features a navigation sidebar, a
26 tagline, highlighting the current page in the sidebar (unique
27 feature!), using the page heading as link text automatically. Retains
28 the default DokuWiki look and feel as much as possible.
30 %description -l pl.UTF-8
31 Lepsza nawigacja przy użyciu DokuWiki. Opiera się na sidebarze
32 nawigacyjnym, pasku podświetlającym aktualną stronę na sidebarze (co
33 jest unikalną cechą!), przy automatycznym użyciu nagłówka strony jako
34 tekstu odnośnika. Zachowuje domyślny wygląd i zachowanie DokuWiki na
42 To activate this template add the following to your conf/local.php file:
43 $conf['template'] = '%{tpl}';
45 If you want a tagline, you can define it as follows:
46 $conf['tagline'] = 'Your own tagline';
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{tpldir}
52 cp -a . $RPM_BUILD_ROOT%{tpldir}
53 rm -f $RPM_BUILD_ROOT%{tpldir}/INSTALL
56 rm -rf $RPM_BUILD_ROOT
59 # force css cache refresh
60 if [ -f %{dokuconf}/local.php ]; then
61 touch %{dokuconf}/local.php
65 %defattr(644,root,root,755)