]> git.pld-linux.org Git - packages/dokuwiki-plugin-odt.git/blob - dokuwiki-plugin-odt.spec
- new
[packages/dokuwiki-plugin-odt.git] / dokuwiki-plugin-odt.spec
1 %define         plugin          odt
2 Summary:        DokuWiki Open Office Export Plugin
3 Name:           dokuwiki-plugin-%{plugin}
4 Version:        20080219
5 Release:        0.1
6 License:        GPL v2
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
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 %prep
28 %setup -q -n %{plugin}
29 %patch0 -p1
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{plugindir}
34 cp -a . $RPM_BUILD_ROOT%{plugindir}
35
36 # find locales
37 sh %{SOURCE1} %{name}.lang
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files -f %{name}.lang
43 %defattr(644,root,root,755)
44 %dir %{plugindir}
45 %{plugindir}/*.txt
46 %{plugindir}/*.png
47 %{plugindir}/*.xml
48 %{plugindir}/*.php
This page took 0.08779 seconds and 4 git commands to generate.