1 %define snap 2009-03-25
2 %define ver %(echo %{snap} | tr -d -)
4 Summary: Arctic template for DokuWiki
5 Summary(pl.UTF-8): Szablon Arctic dla Dokuwiki
6 Name: dokuwiki-tpl-%{tpl}
10 Group: Applications/WWW
11 Source0: http://www.chimeric.de/_media/projects/dokuwiki/template/arctic/download/template-arctic-%{snap}.tgz
12 # Source0-md5: 09debac544fd40d8f95a721ef724f20f
13 Source1: dokuwiki-find-lang.sh
14 URL: http://www.chimeric.de/projects/dokuwiki/template/arctic
15 BuildRequires: rpmbuild(macros) >= 1.268
16 Requires: dokuwiki >= 20080505
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define dokuconf /etc/webapps/dokuwiki
21 %define dokudir /usr/share/dokuwiki
22 %define tpldir %{dokudir}/lib/tpl/%{tpl}
25 Yet Another Sidebar Template. ;-) Features: sidebar
26 (left/right/both/none), definable User-/Group-/Namespace-Sidebars,
27 fully configurable via configuration manager, TOC inside sidebar, user
28 defined sidebar actions.
33 To activate this template add the following to your conf/local.php file:
34 $conf['template'] = '%{tpl}';
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{tpldir}
40 cp -a . $RPM_BUILD_ROOT%{tpldir}
41 rm -f $RPM_BUILD_ROOT%{tpldir}/{COPYING,VERSION,INSTALL,README,style.ini.dist}
44 sh %{SOURCE1} %{name}.lang
47 rm -rf $RPM_BUILD_ROOT
50 # force css cache refresh
51 if [ -f %{dokuconf}/local.php ]; then
52 touch %{dokuconf}/local.php
55 %files -f %{name}.lang
56 %defattr(644,root,root,755)
57 %doc INSTALL README VERSION