SPECS: dokuwiki-plugin-odt.spec (NEW) - new

glen glen at pld-linux.org
Mon Mar 3 13:46:06 CET 2008


Author: glen                         Date: Mon Mar  3 12:46:06 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   dokuwiki-plugin-odt.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/dokuwiki-plugin-odt.spec
diff -u /dev/null SPECS/dokuwiki-plugin-odt.spec:1.1
--- /dev/null	Mon Mar  3 13:46:06 2008
+++ SPECS/dokuwiki-plugin-odt.spec	Mon Mar  3 13:46:00 2008
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+%define		plugin		odt
+Summary:	DokuWiki Open Office Export Plugin
+Name:		dokuwiki-plugin-%{plugin}
+Version:	20080219
+Release:	0.1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	http://wiki.splitbrain.org/_media/plugin:odt-plugin-2008-02-19.tgz
+# Source0-md5:	f79363c82281978e274442164581d91a
+Source1:	dokuwiki-find-lang.sh
+Patch0:		http://gauret.free.fr/fichiers/dokuwiki/dokuwiki-odt-20070626.patch
+URL:		http://wiki.splitbrain.org/plugin:odt
+Requires:	dokuwiki >= 20070626
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		dokudir	/usr/share/dokuwiki
+%define		plugindir	%{dokudir}/lib/plugins/%{plugin}
+
+%description
+This plugin allows you to export a page to the OpenDocument format
+used by Open Office and other word processors. This is especially
+useful when you need to give a single page to a customer
+
+Hint: Open Office can also export to PDF.
+
+%prep
+%setup -q -n %{plugin}
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a . $RPM_BUILD_ROOT%{plugindir}
+
+# find locales
+sh %{SOURCE1} %{name}.lang
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%dir %{plugindir}
+%{plugindir}/*.txt
+%{plugindir}/*.png
+%{plugindir}/*.xml
+%{plugindir}/*.php
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-03-03 12:46:00  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list