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