]>
Commit | Line | Data |
---|---|---|
ac82e018 ER |
1 | %define _plugin include |
2 | Summary: Dokuwiki Include Plugin | |
3 | Name: dokuwiki-plugin-%{_plugin} | |
4 | Version: 20070822 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: Applications/WWW | |
8 | Source0: http://www.qwik.ch/media/include.tgz | |
9 | # Source0-md5: 7487acd2765cdfd7eaf38b52e48508b6 | |
10 | URL: http://www.wikidesign.ch/en/plugin/include/start | |
11 | Requires: dokuwiki >= 20061106 | |
12 | BuildArch: noarch | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %define _dokudir /usr/share/dokuwiki | |
16 | %define _plugindir %{_dokudir}/lib/plugins/%{_plugin} | |
17 | ||
18 | %description | |
19 | This is a very simple yet handy plugin with which you can include another wiki | |
20 | page into the current one. | |
21 | ||
22 | %prep | |
23 | %setup -q -n %{_plugin} | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | install -d $RPM_BUILD_ROOT%{_plugindir} | |
28 | cp -a . $RPM_BUILD_ROOT%{_tpldir} | |
29 | rm -f $RPM_BUILD_ROOT%{_tpldir}/{COPYING,README,VERSION} | |
30 | ||
31 | %clean | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %files | |
35 | %defattr(644,root,root,755) | |
36 | %doc README | |
37 | %{_plugindir} |