2 %define _ver %(echo %{_snap} | sed -e 's,\\(..\\)\\(..\\)\\(....\\),\\3\\1\\2,')
4 Summary: Monobook template for DokuWiki
5 Name: dokuwiki-tpl-%{_tpl}
9 Group: Applications/WWW
10 Source0: http://tatewake.com/wiki/_media/projects:monobook-%{_snap}.zip
11 # Source0-md5: 69f0dfd21dc921f86be4fd9f8ec9ea4f
12 URL: http://tatewake.com/wiki/projects:monobook_for_dokuwiki
13 BuildRequires: rpmbuild(macros) >= 1.268
14 Requires: dokuwiki >= 20070626
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _dokudir /usr/share/dokuwiki
19 %define _tpldir %{_dokudir}/lib/tpl/%{_tpl}
22 Gives DokuWiki the Wikipedia/Mediawiki look and feel, as well as more
23 functionality. Includes discussions without using a plugin and the
24 navigation can be edited like a wiki page.
29 rm -f LICENSE # GPL v2
32 To activate this template add the following to your conf/local.php file:
33 $conf['template'] = '%{_tpl}';
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_tpldir}
39 cp -a . $RPM_BUILD_ROOT%{_tpldir}
40 rm -f $RPM_BUILD_ROOT%{_tpldir}/{INSTALL,README}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)