]> git.pld-linux.org Git - packages/dokuwiki-plugin-pagemoveng.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 3 Oct 2007 08:45:47 +0000 (08:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin-pagemoveng.spec -> 1.1

dokuwiki-plugin-pagemoveng.spec [new file with mode: 0644]

diff --git a/dokuwiki-plugin-pagemoveng.spec b/dokuwiki-plugin-pagemoveng.spec
new file mode 100644 (file)
index 0000000..ff4430c
--- /dev/null
@@ -0,0 +1,58 @@
+%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
This page took 0.089683 seconds and 4 git commands to generate.