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

glen glen at pld-linux.org
Sat Nov 8 14:41:44 CET 2008


Author: glen                         Date: Sat Nov  8 13:41:44 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/dokuwiki-plugin-xref.spec
diff -u /dev/null SPECS/dokuwiki-plugin-xref.spec:1.1
--- /dev/null	Sat Nov  8 14:41:44 2008
+++ SPECS/dokuwiki-plugin-xref.spec	Sat Nov  8 14:41:39 2008
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define		plugin		xref
+Summary:	DokuWiki XRef Plugin
+Summary(pl.UTF-8):	Wtyczka Include (dołączania) dla DokuWiki
+Name:		dokuwiki-plugin-%{plugin}
+Version:	20081003
+Release:	1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	http://dev.splitbrain.org/download/snapshots/xref-plugin-latest.tgz
+# Source0-md5:	78d5f9a0f733123e0252d0597546555a
+Source1:	dokuwiki-find-lang.sh
+URL:		http://www.dokuwiki.org/plugin:xref
+Requires:	dokuwiki >= 20080505
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		dokudir		/usr/share/dokuwiki
+%define		plugindir	%{dokudir}/lib/plugins/%{plugin}
+
+%description
+This plugin makes linking to a PHPXref generated documentation easy. You can
+link to functions, constants, variables, classes tables and filenames. The
+plugin will figure out what you meant automatically. The XRef documentation
+needs to be available on the same server as the DokuWiki install running this
+plugin. 
+
+%prep
+%setup -q -n %{plugin}
+
+rm -f phpxref-0.7-javascriptfix.patch
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a . $RPM_BUILD_ROOT%{plugindir}
+rm -f $RPM_BUILD_ROOT%{plugindir}/{COPYING,VERSION}
+
+# find locales
+sh %{SOURCE1} %{name}.lang
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%dir %{plugindir}
+%{plugindir}/*.php
+%{plugindir}/*.css
+%{plugindir}/*.png
+%{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  2008/11/08 13:41:39  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list