]> git.pld-linux.org Git - packages/dokuwiki-plugin-odt.git/blob - dokuwiki-plugin-odt.spec
- fixed missing Source0-md5
[packages/dokuwiki-plugin-odt.git] / dokuwiki-plugin-odt.spec
1 %define         plugin          odt
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}
5 Version:        20080507
6 Release:        1
7 License:        GPL v2
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         dokudir         /usr/share/dokuwiki
18 %define         plugindir       %{dokudir}/lib/plugins/%{plugin}
19
20 %description
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
24
25 Hint: Open Office can also export to PDF.
26
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.
31
32 Podpowiedź: Open Office pozwala także na eksportowanie do PDF.
33
34 %prep
35 %setup -q -n %{plugin}
36
37 %install
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}
42
43 # find locales
44 sh %{SOURCE1} %{name}.lang
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files -f %{name}.lang
50 %doc ChangeLog
51 %defattr(644,root,root,755)
52 %dir %{plugindir}
53 %{plugindir}/*.txt
54 %{plugindir}/*.png
55 %{plugindir}/*.xml
56 %{plugindir}/*.php
57 %dir %{plugindir}/conf
58 %{plugindir}/conf/*.php
This page took 0.081683 seconds and 4 git commands to generate.