2 Summary: DokuWiki Open Office Export Plugin
3 Name: dokuwiki-plugin-%{plugin}
7 Group: Applications/WWW
8 Source0: http://wiki.splitbrain.org/_media/plugin:odt-plugin-2008-02-19.tgz
9 # Source0-md5: f79363c82281978e274442164581d91a
10 Source1: dokuwiki-find-lang.sh
11 Patch0: http://gauret.free.fr/fichiers/dokuwiki/dokuwiki-odt-20070626.patch
12 URL: http://wiki.splitbrain.org/plugin:odt
13 Requires: dokuwiki >= 20070626
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define dokudir /usr/share/dokuwiki
18 %define plugindir %{dokudir}/lib/plugins/%{plugin}
21 This plugin allows you to export a page to the OpenDocument format
22 used by Open Office and other word processors. This is especially
23 useful when you need to give a single page to a customer
25 Hint: Open Office can also export to PDF.
28 %setup -q -n %{plugin}
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{plugindir}
34 cp -a . $RPM_BUILD_ROOT%{plugindir}
37 sh %{SOURCE1} %{name}.lang
40 rm -rf $RPM_BUILD_ROOT
42 %files -f %{name}.lang
43 %defattr(644,root,root,755)