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

glen glen at pld-linux.org
Wed Aug 27 12:33:00 CEST 2008


Author: glen                         Date: Wed Aug 27 10:33:00 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/dokuwiki-plugin-pagelist.spec
diff -u /dev/null SPECS/dokuwiki-plugin-pagelist.spec:1.1
--- /dev/null	Wed Aug 27 12:33:00 2008
+++ SPECS/dokuwiki-plugin-pagelist.spec	Wed Aug 27 12:32:55 2008
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%define		plugin		pagelist
+Summary:	DokuWiki Pagelist Plugin
+Name:		dokuwiki-plugin-%{plugin}
+Version:	20080808
+Release:	1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	http://www.chimeric.de/_src/plugin-pagelist.tgz
+# Source0-md5:	fd632aca9688a48c682a1ebdfe1e2aba
+Source1:	dokuwiki-find-lang.sh
+URL:		http://www.dokuwiki.org/plugin:pagelist
+Requires:	dokuwiki >= 20061106
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		dokudir		/usr/share/dokuwiki
+%define		plugindir	%{dokudir}/lib/plugins/%{plugin}
+
+%description
+The Pagelist Plugin does – as its name says – list wiki pages in a
+nice way. Besides its function as a stand-alone syntax plugin, it
+serves as helper plugin for the Blog, Discussion, Editor, Tag, Task
+and Dir plugins.
+
+%prep
+%setup -q -n %{plugin}
+if [ $(cat VERSION | tr -d -) != %{version} ]; then
+	: %%{version} mismatch, should be: $(cat VERSION | tr -d -)
+	exit 1
+fi
+
+%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,README,VERSION}
+
+# find locales
+sh %{SOURCE1} %{name}.lang
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README
+%dir %{plugindir}
+%{plugindir}/*.php
+%{plugindir}/*.css
+%{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/08/27 10:32:55  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list