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
13 Requires: dokuwiki >= 20061106
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define dokuconf /etc/webapps/dokuwiki
18 %define dokudir /usr/share/dokuwiki
19 %define plugindir %{dokudir}/lib/plugins/%{plugin}
22 A replacement for the built in index action of DokuWiki.
23 - Assign a unique page title and number to each page and namespace.
24 - Sort pages and namespaces by assigned numbers.
25 - Shows all pages in expanded view (may be too much for large wikis).
26 - Includes a 'level' navigation to show or hide namespaces up to a certain
28 - Graphics in front of the namespaces are clickable to collapse/expand
31 %description -l pl.UTF-8
32 Zamiennik dla wbudowanego indeksu z DokuWiki:
33 - przyporządkowuje unikalny tytuł i numer strony do każdej strony i
35 - sortuje strony i przestrzenie nazw po przypisanych numerach;
36 - pokazuje wszystkie strony w rozwiniętym widoku (może być zbyt duży
38 - zawiera nawigację "poziomową" pokazującą lub ukrywającą przestrzenie
39 nazw do określonego poziomu;
40 - obrazki przed przestrzeniami nazw służą do zwijania i rozwijania
47 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{plugindir}
50 cp -a . $RPM_BUILD_ROOT%{plugindir}
53 rm -rf $RPM_BUILD_ROOT
56 # force css cache refresh
57 if [ -f %{dokuconf}/local.php ]; then
58 touch %{dokuconf}/local.php
62 %defattr(644,root,root,755)