]> git.pld-linux.org Git - packages/dokuwiki-plugin-pagemoveng.git/blob - dokuwiki-plugin-pagemoveng.spec
ff4430c3467aec5debfc61be26918bfa1230e093
[packages/dokuwiki-plugin-pagemoveng.git] / dokuwiki-plugin-pagemoveng.spec
1 %define         _plugin         pagemove
2 Summary:        DokuWiki PageMove Plugin
3 Name:           dokuwiki-plugin-%{_plugin}
4 Version:        0.9.15a
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications/WWW
8 Source0:        http://www.isection.co.uk/lib/exe/fetch.php?media=pagemove_20070722.zip
9 # Source0-md5:  f2cc2a57d40b877a335b52009e4cc072
10 URL:            http://www.isection.co.uk/doku.php
11 BuildRequires:  sed >= 4.0
12 Requires:       dokuwiki >= 20060309
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _dokudir        /usr/share/dokuwiki
17 %define         _plugindir      %{_dokudir}/lib/plugins/%{_plugin}
18
19 %description
20 This plugin is designed for moving and renaming pages within your Wiki
21 whilst maintaining the integrity of links to and from the page.
22
23 In full you can:
24 - Rename a page.
25 - Move a page to an existing namspace.
26 - Move a page to a new namespace.
27 - A combination of the above.
28
29 %prep
30 %setup -q -n %{_plugin}
31
32 # undos the source
33 %{__sed} -i -e 's,\r$,,' admin.php
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_plugindir}
38 cp -a . $RPM_BUILD_ROOT%{_plugindir}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %dir %{_plugindir}
46 %{_plugindir}/admin.php
47 %dir %{_plugindir}/lang
48 %{_plugindir}/lang/en
49 %lang(cs) %{_plugindir}/lang/cs
50 %lang(de) %{_plugindir}/lang/de
51 %lang(es) %{_plugindir}/lang/es
52 %lang(fr) %{_plugindir}/lang/fr
53 %lang(lv) %{_plugindir}/lang/lv
54 %lang(nl) %{_plugindir}/lang/nl
55 %lang(pl) %{_plugindir}/lang/pl
56 %lang(ru) %{_plugindir}/lang/ru
57 %lang(sl) %{_plugindir}/lang/sl
58 %lang(zh) %{_plugindir}/lang/zh
This page took 0.059078 seconds and 2 git commands to generate.