1 %define snap 2005-05-26
2 %define ver %(echo %{snap} | tr -d -)
3 %define plugin actionlink
4 Summary: DokuWiki Actionlink Plugin
5 Name: dokuwiki-plugin-%{plugin}
9 Group: Applications/WWW
10 Source0: http://mbot.ovh.org/plugin-actionlink-%{snap}.tar.gz
11 # Source0-md5: ff45e9631f70d42d5bf405e5090bc999
12 URL: http://www.dokuwiki.org/plugin:actionlink
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define dokuconf /etc/webapps/dokuwiki
18 %define dokudir /usr/share/dokuwiki
19 %define plugindir %{dokudir}/lib/plugins/%{plugin}
22 This plugin lets you use actionlinks in your wiki syntax. It's based on the
23 dokuwiki's core function tpl_actionlink().
26 %setup -q -n %{plugin}
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{plugindir}
31 cp -a . $RPM_BUILD_ROOT%{plugindir}
34 rm -rf $RPM_BUILD_ROOT
37 # force css cache refresh
38 if [ -f %{dokuconf}/local.php ]; then
39 touch %{dokuconf}/local.php
43 %defattr(644,root,root,755)
45 %{plugindir}/syntax.php