]>
Commit | Line | Data |
---|---|---|
bab45cd2 | 1 | %define _snap 01022007 |
1148f21d | 2 | %define _ver %(echo %{_snap} | sed -e 's,\\(..\\)\\(..\\)\\(....\\),\\3\\1\\2,') |
bab45cd2 ER |
3 | Summary: Multitemplate for DokuWiki |
4 | Name: dokuwiki-tpl-multitemplate | |
5 | Version: %{_ver} | |
1148f21d | 6 | Release: 0.2 |
bab45cd2 ER |
7 | License: GPL v2 |
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 | |
12 | Requires: dokuwiki | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %define _dokudir /usr/share/dokuwiki | |
17 | %define _tpldir %{_dokudir}/lib/tpl/%{_tpl} | |
18 | %define _tpl multitemplate | |
19 | ||
20 | %description | |
21 | This template allows you to use any templates you wish for any | |
22 | namespace (or page) you wish. | |
23 | ||
24 | %prep | |
25 | %setup -q -n %{_tpl} | |
26 | ||
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | install -d $RPM_BUILD_ROOT%{_tpldir} | |
30 | cp -a . $RPM_BUILD_ROOT%{_tpldir} | |
31 | ||
32 | %clean | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %files | |
36 | %defattr(644,root,root,755) | |
37 | %{_tpldir} |