]> git.pld-linux.org Git - packages/dokuwiki-tpl-sidebar.git/blob - dokuwiki-tpl-sidebar.spec
- unify; rel 1
[packages/dokuwiki-tpl-sidebar.git] / dokuwiki-tpl-sidebar.spec
1 %define         _snap   2007-03-12
2 %define         _ver    %(echo %{_snap} | tr -d -)
3 %define         _tpl    sidebar
4 Summary:        Sidebar navigation with DokuWiki
5 Summary(pl.UTF-8):      Nawigacja po sidebarze przy użyciu DokuWiki
6 Name:           dokuwiki-tpl-sidebar
7 Version:        %{_ver}
8 Release:        1
9 License:        GPL
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
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _dokudir        /usr/share/dokuwiki
20 %define         _tpldir         %{_dokudir}/lib/tpl/%{_tpl}
21
22 %description
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.
27
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
33 na ile to możliwe.
34
35 %prep
36 %setup -q -n %{_tpl}
37
38 cat > INSTALL <<'EOF'
39 To activate this template add the following to your conf/local.php file:
40 $conf['template']    = '%{_tpl}';
41
42 If you want a tagline, you can define it as follows:
43 $conf['tagline']    = 'Your own tagline';
44 EOF
45
46 %install
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
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc INSTALL
58 %{_tpldir}
This page took 0.057049 seconds and 3 git commands to generate.