]> git.pld-linux.org Git - packages/dokuwiki-tpl-sidebar.git/blame - dokuwiki-tpl-sidebar.spec
- add export pdf and export odt buttons; rel 2
[packages/dokuwiki-tpl-sidebar.git] / dokuwiki-tpl-sidebar.spec
CommitLineData
38706a57
ER
1%define snap 2009-01-26
2%define ver %(echo %{snap} | tr -d -)
f4ddca9e 3%define tpl sidebar
e60f157a 4Summary: Sidebar navigation with DokuWiki
42b07ca0 5Summary(pl.UTF-8): Nawigacja po sidebarze przy użyciu DokuWiki
e60f157a 6Name: dokuwiki-tpl-sidebar
38706a57 7Version: %{ver}
381f50d9 8Release: 2
e60f157a
ER
9License: GPL
10Group: Applications/WWW
38706a57
ER
11Source0: http://dokuwiki.jalakai.co.uk/template-sidebar-rc%{snap}.zip
12# Source0-md5: 7a36b63e86d00f72eecae2ba80334fdd
5447f30c 13Patch0: backlink-rightside.patch
381f50d9
ER
14Patch1: more-buttons.patch
15URL: http://www.dokuwiki.org/template:sidebar
e60f157a 16BuildRequires: rpmbuild(macros) >= 1.268
38706a57 17Requires: dokuwiki >= 20090126
e60f157a
ER
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
53465498 21%define dokuconf /etc/webapps/dokuwiki
f4ddca9e
ER
22%define dokudir /usr/share/dokuwiki
23%define tpldir %{dokudir}/lib/tpl/%{tpl}
e60f157a
ER
24
25%description
26Better navigation with DokuWiki. Features a navigation sidebar, a
27tagline, highlighting the current page in the sidebar (unique
28feature!), using the page heading as link text automatically. Retains
42b07ca0
JB
29the default DokuWiki look and feel as much as possible.
30
31%description -l pl.UTF-8
32Lepsza nawigacja przy użyciu DokuWiki. Opiera się na sidebarze
38706a57
ER
33nawigacyjnym, pasku podświetlającym aktualną stronę na sidebarze (co
34jest unikalną cechą!), przy automatycznym użyciu nagłówka strony jako
35tekstu odnośnika. Zachowuje domyślny wygląd i zachowanie DokuWiki na
36ile to możliwe.
e60f157a
ER
37
38%prep
f4ddca9e 39%setup -q -n %{tpl}
5447f30c 40%patch0 -p1
381f50d9 41%patch1 -p1
e60f157a
ER
42
43cat > INSTALL <<'EOF'
d50b6570 44To activate this template add the following to your conf/local.php file:
f4ddca9e 45$conf['template'] = '%{tpl}';
e60f157a 46
d50b6570 47If you want a tagline, you can define it as follows:
e60f157a
ER
48$conf['tagline'] = 'Your own tagline';
49EOF
50
51%install
52rm -rf $RPM_BUILD_ROOT
f4ddca9e
ER
53install -d $RPM_BUILD_ROOT%{tpldir}
54cp -a . $RPM_BUILD_ROOT%{tpldir}
55rm -f $RPM_BUILD_ROOT%{tpldir}/INSTALL
e60f157a
ER
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
c36d6202 60%post
e08ea0bf 61# force css cache refresh
53465498
ER
62if [ -f %{dokuconf}/local.php ]; then
63 touch %{dokuconf}/local.php
c36d6202
ER
64fi
65
e60f157a
ER
66%files
67%defattr(644,root,root,755)
68%doc INSTALL
f4ddca9e 69%{tpldir}
This page took 0.054858 seconds and 4 git commands to generate.