2 Summary: DokuWiki odt (Open Document Text) Export Plugin
3 Summary(pl-UTF8): Wtyczka do eksportowania plików odt (Open Document Text)
4 Name: dokuwiki-plugin-%{plugin}
8 Group: Applications/WWW
9 Source0: http://wiki.splitbrain.org/_media/plugin:odt-plugin-2008-02-19.tgz
10 # Source0-md5: f79363c82281978e274442164581d91a
11 Source1: dokuwiki-find-lang.sh
12 Patch0: http://gauret.free.fr/fichiers/dokuwiki/dokuwiki-odt-20070626.patch
13 URL: http://wiki.splitbrain.org/plugin:odt
14 Requires: dokuwiki >= 20070626
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define dokudir /usr/share/dokuwiki
19 %define plugindir %{dokudir}/lib/plugins/%{plugin}
22 This plugin allows you to export a page to the OpenDocument format
23 used by Open Office and other word processors. This is especially
24 useful when you need to give a single page to a customer
26 Hint: Open Office can also export to PDF.
28 %description -l pl-UTF8
29 Ta wtyczka pozwala na eksportowanie strony do formatu OpenDocument,
30 używanego przez Open Office i inne edytory tekstu. Przydatna jest
31 w sytuacji w której musisz dać pojedyńczą stronę klientowi.
33 Podpowiedź: Open Office pozwala także na eksportowanie do PDF.
36 %setup -q -n %{plugin}
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{plugindir}
42 cp -a . $RPM_BUILD_ROOT%{plugindir}
45 sh %{SOURCE1} %{name}.lang
48 rm -rf $RPM_BUILD_ROOT
50 %files -f %{name}.lang
51 %defattr(644,root,root,755)