1 %define plugin fullindex
2 Summary: DokuWiki Full Index plugin
3 Summary(pl.UTF-8): Wtyczka Full Index (pełnego indeksu) dla DokuWiki
4 Name: dokuwiki-plugin-%{plugin}
8 Group: Applications/WWW
9 Source0: http://mtbrains.home.comcast.net/~mtbrains/products/DWAdds/fullindex.zip
10 # Source0-md5: 394239765433d4a418e2a8e21d73d19d
11 URL: http://mtbrains.home.comcast.net/~mtbrains/products/DWAdds/index.html
12 Requires: dokuwiki >= 20061106
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define dokuconf /etc/webapps/dokuwiki
17 %define dokudir /usr/share/dokuwiki
18 %define plugindir %{dokudir}/lib/plugins/%{plugin}
21 A replacement for the built in index action of DokuWiki.
22 - Assign a unique page title and number to each page and namespace.
23 - Sort pages and namespaces by assigned numbers.
24 - Shows all pages in expanded view (may be too much for large wikis).
25 - Includes a 'level' navigation to show or hide namespaces up to a certain
27 - Graphics in front of the namespaces are clickable to collapse/expand
30 %description -l pl.UTF-8
31 Zamiennik dla wbudowanego indeksu z DokuWiki:
32 - przyporządkowuje unikalny tytuł i numer strony do każdej strony i
34 - sortuje strony i przestrzenie nazw po przypisanych numerach;
35 - pokazuje wszystkie strony w rozwiniętym widoku (może być zbyt duży
37 - zawiera nawigację "poziomową" pokazującą lub ukrywającą przestrzenie
38 nazw do określonego poziomu;
39 - obrazki przed przestrzeniami nazw służą do zwijania i rozwijania
46 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{plugindir}
49 cp -a . $RPM_BUILD_ROOT%{plugindir}
52 rm -rf $RPM_BUILD_ROOT
55 # force css cache refresh
56 if [ -f %{dokuconf}/local.php ]; then
57 touch %{dokuconf}/local.php
61 %defattr(644,root,root,755)