]> git.pld-linux.org Git - packages/dokuwiki-tpl-sidebar.git/blame - dokuwiki-tpl-sidebar.spec
- unify; rel 1
[packages/dokuwiki-tpl-sidebar.git] / dokuwiki-tpl-sidebar.spec
CommitLineData
e60f157a
ER
1%define _snap 2007-03-12
2%define _ver %(echo %{_snap} | tr -d -)
d50b6570 3%define _tpl sidebar
e60f157a 4Summary: Sidebar navigation with DokuWiki
42b07ca0 5Summary(pl.UTF-8): Nawigacja po sidebarze przy użyciu DokuWiki
e60f157a
ER
6Name: dokuwiki-tpl-sidebar
7Version: %{_ver}
136fd9c6 8Release: 1
e60f157a
ER
9License: GPL
10Group: Applications/WWW
11Source0: http://www.jandecaluwe.com/testwiki/lib/exe/fetch.php/navigation:sidebar-%{_snap}.tar.gz
12# Source0-md5: 297db12e6a4fd2a745f4eb20ced0b09b
13URL: http://www.jandecaluwe.com/testwiki/doku.php/navigation:intro
14BuildRequires: rpmbuild(macros) >= 1.268
15Requires: dokuwiki >= 20061106
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define _dokudir /usr/share/dokuwiki
42b07ca0 20%define _tpldir %{_dokudir}/lib/tpl/%{_tpl}
e60f157a
ER
21
22%description
23Better navigation with DokuWiki. Features a navigation sidebar, a
24tagline, highlighting the current page in the sidebar (unique
25feature!), using the page heading as link text automatically. Retains
42b07ca0
JB
26the default DokuWiki look and feel as much as possible.
27
28%description -l pl.UTF-8
29Lepsza nawigacja przy użyciu DokuWiki. Opiera się na sidebarze
30nawigacyjnym, pasku podświetlającym aktualną stronę na sidebarze
31(co jest unikalną cechą!), przy automatycznym użyciu nagłówka strony
32jako tekstu odnośnika. Zachowuje domyślny wygląd i zachowanie DokuWiki
33na ile to możliwe.
e60f157a
ER
34
35%prep
36%setup -q -n %{_tpl}
37
38cat > INSTALL <<'EOF'
d50b6570
ER
39To activate this template add the following to your conf/local.php file:
40$conf['template'] = '%{_tpl}';
e60f157a 41
d50b6570 42If you want a tagline, you can define it as follows:
e60f157a
ER
43$conf['tagline'] = 'Your own tagline';
44EOF
45
46%install
47rm -rf $RPM_BUILD_ROOT
48install -d $RPM_BUILD_ROOT%{_tpldir}
49cp -a . $RPM_BUILD_ROOT%{_tpldir}
50rm -f $RPM_BUILD_ROOT%{_tpldir}/INSTALL
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc INSTALL
58%{_tpldir}
This page took 0.063018 seconds and 4 git commands to generate.