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

glen glen at pld-linux.org
Wed Oct 3 10:45:52 CEST 2007


Author: glen                         Date: Wed Oct  3 08:45:52 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/dokuwiki-plugin-pagemove.spec
diff -u /dev/null SPECS/dokuwiki-plugin-pagemove.spec:1.1
--- /dev/null	Wed Oct  3 10:45:52 2007
+++ SPECS/dokuwiki-plugin-pagemove.spec	Wed Oct  3 10:45:47 2007
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+%define		_plugin		pagemove
+Summary:	DokuWiki PageMove Plugin
+Name:		dokuwiki-plugin-%{_plugin}
+Version:	0.9.15a
+Release:	0.1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	http://www.isection.co.uk/lib/exe/fetch.php?media=pagemove_20070722.zip
+# Source0-md5:	f2cc2a57d40b877a335b52009e4cc072
+URL:		http://www.isection.co.uk/doku.php
+BuildRequires:	sed >= 4.0
+Requires:	dokuwiki >= 20060309
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_dokudir	/usr/share/dokuwiki
+%define		_plugindir	%{_dokudir}/lib/plugins/%{_plugin}
+
+%description
+This plugin is designed for moving and renaming pages within your Wiki
+whilst maintaining the integrity of links to and from the page.
+
+In full you can:
+- Rename a page.
+- Move a page to an existing namspace.
+- Move a page to a new namespace.
+- A combination of the above.
+
+%prep
+%setup -q -n %{_plugin}
+
+# undos the source
+%{__sed} -i -e 's,\r$,,' admin.php
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_plugindir}
+cp -a . $RPM_BUILD_ROOT%{_plugindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_plugindir}
+%{_plugindir}/admin.php
+%dir %{_plugindir}/lang
+%{_plugindir}/lang/en
+%lang(cs) %{_plugindir}/lang/cs
+%lang(de) %{_plugindir}/lang/de
+%lang(es) %{_plugindir}/lang/es
+%lang(fr) %{_plugindir}/lang/fr
+%lang(lv) %{_plugindir}/lang/lv
+%lang(nl) %{_plugindir}/lang/nl
+%lang(pl) %{_plugindir}/lang/pl
+%lang(ru) %{_plugindir}/lang/ru
+%lang(sl) %{_plugindir}/lang/sl
+%lang(zh) %{_plugindir}/lang/zh
+
+%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  2007/10/03 08:45:47  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list