2 %define _ver %(echo %{_snap} | sed -e 's,\\(..\\)\\(..\\)\\(....\\),\\3\\1\\2,')
3 Summary: Multitemplate for DokuWiki
4 Name: dokuwiki-tpl-multitemplate
8 Group: Applications/WWW
9 Source0: http://tatewake.com/wiki/_media/projects:multitemplate-%{_snap}.zip
10 # Source0-md5: b1d36f8b69439c8e0c67703fa0425238
11 URL: http://tatewake.com/wiki/projects:multitemplate_for_dokuwiki
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _dokudir /usr/share/dokuwiki
17 %define _tpldir %{_dokudir}/lib/tpl/%{_tpl}
18 %define _tpl multitemplate
21 This template allows you to use any templates you wish for any
22 namespace (or page) you wish.
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_tpldir}
30 cp -a . $RPM_BUILD_ROOT%{_tpldir}
33 rm -rf $RPM_BUILD_ROOT
36 %defattr(644,root,root,755)