2 Summary: DokuWiki Tag Plugin
3 Name: dokuwiki-plugin-%{plugin}
7 Group: Applications/WWW
8 Source0: http://www.chimeric.de/_src/plugin-tag.tgz
9 # Source0-md5: 6f9bc7915fc273a161c093ce525f0abc
10 Source1: dokuwiki-find-lang.sh
11 URL: http://www.dokuwiki.org/plugin:tag
12 Requires: dokuwiki >= 20070626
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define dokuconf /etc/webapps/dokuwiki
17 %define dokudir /usr/share/dokuwiki
18 %define plugindir %{dokudir}/lib/plugins/%{plugin}
21 The Tag Plugin lets you assign category tags to wiki pages. It will
22 display a list of links to the tag pages in the tag namespace
23 specified in the configuration.
26 %setup -q -n %{plugin}
27 if [ $(cat VERSION | tr -d -) != %{version} ]; then
28 : %%{version} mismatch, should be: $(cat VERSION | tr -d -)
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{plugindir}
35 cp -a . $RPM_BUILD_ROOT%{plugindir}
36 rm -f $RPM_BUILD_ROOT%{plugindir}/{COPYING,README,VERSION}
39 sh %{SOURCE1} %{name}.lang
42 rm -rf $RPM_BUILD_ROOT
45 # force css cache refresh
46 if [ -f %{dokuconf}/local.php ]; then
47 touch %{dokuconf}/local.php
50 %files -f %{name}.lang
51 %defattr(644,root,root,755)