SPECS: dokuwiki-plugin-gchart.spec (NEW) - new
glen
glen at pld-linux.org
Thu Feb 19 17:28:12 CET 2009
Author: glen Date: Thu Feb 19 16:28:12 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
dokuwiki-plugin-gchart.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/dokuwiki-plugin-gchart.spec
diff -u /dev/null SPECS/dokuwiki-plugin-gchart.spec:1.1
--- /dev/null Thu Feb 19 17:28:13 2009
+++ SPECS/dokuwiki-plugin-gchart.spec Thu Feb 19 17:28:07 2009
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+%define plugin gchart
+Summary: Google Chart Plugin
+Name: dokuwiki-plugin-%{plugin}
+Version: 20081209
+Release: 1
+License: GPL v2
+Group: Applications/WWW
+Source0: http://dev.splitbrain.org/download/snapshots/gchart-plugin-latest.tgz
+# Source0-md5: cfa58e4bc6b06e388ceca8713f5f10b2
+Source1: dokuwiki-find-lang.sh
+URL: http://www.dokuwiki.org/plugin:gchart
+Requires: dokuwiki >= 20080505
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define dokuconf /etc/webapps/dokuwiki
+%define dokudir /usr/share/dokuwiki
+%define plugindir %{dokudir}/lib/plugins/%{plugin}
+
+%description
+Allows to embed simple chart graphics using the Google Chart API.
+
+%prep
+%setup -q -n %{plugin}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a . $RPM_BUILD_ROOT%{plugindir}
+rm -f $RPM_BUILD_ROOT%{plugindir}/{CREDITS,changelog}
+
+# find locales
+sh %{SOURCE1} %{name}.lang
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+# force css cache refresh
+if [ -f %{dokuconf}/local.php ]; then
+ touch %{dokuconf}/local.php
+fi
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%dir %{plugindir}
+%{plugindir}/*.php
+%{plugindir}/conf
+
+%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 2009/02/19 16:28:07 glen
+- new
================================================================
More information about the pld-cvs-commit
mailing list