2 Summary: DokuWiki plugin: Syntax highlighting with optional line numbers
3 Name: dokuwiki-plugin-%{plugin}
7 Group: Applications/WWW
8 Source0: http://dev.mwat.de/dw/syntax_plugin_code.zip
9 # Source0-md5: 79c8f4333dd9627f468062ce5309e06f
10 Patch0: %{name}-geshi.patch
11 URL: http://www.dokuwiki.org/plugin:code2
13 Requires: dokuwiki >= 20050713
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 DokuWiki pluging that extends hiliting of code fragments by adding
23 caption/footer and line numbers support.
26 %setup -q -n %{plugin}
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT%{plugindir}
32 cp -a . $RPM_BUILD_ROOT%{plugindir}
35 rm -rf $RPM_BUILD_ROOT
38 # force css cache refresh
39 if [ -f %{dokuconf}/local.php ]; then
40 touch %{dokuconf}/local.php
44 %defattr(644,root,root,755)