1 %define _snap 2007-03-12
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://www.jandecaluwe.com/testwiki/lib/exe/fetch.php/navigation:sidebar-%{_snap}.tar.gz
12 # Source0-md5: 297db12e6a4fd2a745f4eb20ced0b09b
13 URL: http://www.jandecaluwe.com/testwiki/doku.php/navigation:intro
14 BuildRequires: rpmbuild(macros) >= 1.268
15 Requires: dokuwiki >= 20061106
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _dokudir /usr/share/dokuwiki
20 %define _tpldir %{_dokudir}/lib/tpl/%{_tpl}
23 Better navigation with DokuWiki. Features a navigation sidebar, a
24 tagline, highlighting the current page in the sidebar (unique
25 feature!), using the page heading as link text automatically. Retains
26 the default DokuWiki look and feel as much as possible.
28 %description -l pl.UTF-8
29 Lepsza nawigacja przy użyciu DokuWiki. Opiera się na sidebarze
30 nawigacyjnym, pasku podświetlającym aktualną stronę na sidebarze
31 (co jest unikalną cechą!), przy automatycznym użyciu nagłówka strony
32 jako tekstu odnośnika. Zachowuje domyślny wygląd i zachowanie DokuWiki
39 To activate this template add the following to your conf/local.php file:
40 $conf['template'] = '%{_tpl}';
42 If you want a tagline, you can define it as follows:
43 $conf['tagline'] = 'Your own tagline';
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_tpldir}
49 cp -a . $RPM_BUILD_ROOT%{_tpldir}
50 rm -f $RPM_BUILD_ROOT%{_tpldir}/INSTALL
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)