]>
Commit | Line | Data |
---|---|---|
135b5bb0 ER |
1 | %define _plugin searchindex |
2 | Summary: Dokuwiki Searchindex Manager | |
3 | Name: dokuwiki-plugin-%{_plugin} | |
4 | Version: 20050904 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: Applications/WWW | |
8 | Source0: http://wiki.splitbrain.org/_media/plugin:searchindex-plugin-2005-09-04.tgz | |
9 | # Source0-md5: e572e94f5842a23f7514ebb8cda1514b | |
10 | URL: http://wiki.splitbrain.org/plugin:searchindex | |
11 | Requires: dokuwiki >= 20061106 | |
12 | BuildArch: noarch | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %define _dokudir /usr/share/dokuwiki | |
16 | %define _plugindir %{_dokudir}/lib/plugins/%{_plugin} | |
17 | ||
18 | %description | |
19 | This admin plugin allows you to rebuild the index used by the fulltext | |
20 | search. This isn't needed generally as the index builds and updates | |
21 | itself while users browse your wiki. However if you just upgraded, | |
22 | added or removed a lot of files it may be a good idea to cleanup the | |
23 | index. | |
24 | ||
25 | This Plugin needs a recent Browser as it makes use of modern | |
26 | JavaScript to carry out multiple tasks in the background (using AJAX). | |
27 | ||
28 | %prep | |
29 | %setup -q -n %{_plugin} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_plugindir} | |
34 | cp -a . $RPM_BUILD_ROOT%{_plugindir} | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %{_plugindir} |