]>
Commit | Line | Data |
---|---|---|
3def4e81 ER |
1 | %define _plugin fullindex |
2 | Summary: Dokuwiki Full Index plugin | |
3 | Name: dokuwiki-plugin-%{_plugin} | |
4 | Version: 1.0 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: Applications/WWW | |
8 | Source0: http://mtbrains.home.comcast.net/~mtbrains/products/DWAdds/fullindex.zip | |
9 | # Source0-md5: 394239765433d4a418e2a8e21d73d19d | |
10 | URL: http://mtbrains.home.comcast.net/~mtbrains/products/DWAdds/index.html | |
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 | A replacement for the built in index action of DokuWiki. | |
20 | - Assign a unique page title and number to each page and namespace. | |
21 | - Sort pages and namespaces by assigned numbers. | |
22 | - Shows all pages in expanded view (may be too much for large wikis). | |
23 | - Includes a 'level' navigation to show or hide namespaces up to a certain level. | |
24 | - Graphics in front of the namespaces are clickable to collapse/expand namespaces. | |
25 | ||
26 | %prep | |
27 | %setup -qc | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | cd %{_plugin} | |
32 | install -d $RPM_BUILD_ROOT%{_plugindir} | |
33 | cp -a . $RPM_BUILD_ROOT%{_plugindir} | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %{_plugindir} |