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://gauret.free.fr/fichiers/dokuwiki/dokuwiki-odt-%{version}.tgz
10 # Source0-md5: 27a5bf472f2daa13fddb3f65da92e5b0
11 Source1: dokuwiki-find-lang.sh
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.
27 %description -l pl-UTF8
28 Ta wtyczka pozwala na eksportowanie strony do formatu OpenDocument,
29 używanego przez Open Office i inne edytory tekstu. Przydatna jest
30 w sytuacji w której musisz dać pojedyńczą stronę klientowi.
32 Podpowiedź: Open Office pozwala także na eksportowanie do PDF.
35 %setup -q -n %{plugin}
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{plugindir}
40 cp -a . $RPM_BUILD_ROOT%{plugindir}
41 rm -f $RPM_BUILD_ROOT%{plugindir}/{ChangeLog,.gitignore}
44 sh %{SOURCE1} %{name}.lang
47 rm -rf $RPM_BUILD_ROOT
49 %files -f %{name}.lang
51 %defattr(644,root,root,755)
57 %dir %{plugindir}/conf
58 %{plugindir}/conf/*.php