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