]> git.pld-linux.org Git - packages/dokuwiki-plugin-fullindex.git/blob - dokuwiki-plugin-fullindex.spec
316b4d6e595cdfffbbf478669e59ab8b429ab895
[packages/dokuwiki-plugin-fullindex.git] / dokuwiki-plugin-fullindex.spec
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}
5 Version:        1.0
6 Release:        1
7 License:        GPL v2
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
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         dokuconf        /etc/webapps/dokuwiki
17 %define         dokudir         /usr/share/dokuwiki
18 %define         plugindir       %{dokudir}/lib/plugins/%{plugin}
19
20 %description
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
26   level.
27 - Graphics in front of the namespaces are clickable to collapse/expand
28   namespaces.
29
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
33   przestrzeni nazw;
34 - sortuje strony i przestrzenie nazw po przypisanych numerach;
35 - pokazuje wszystkie strony w rozwiniętym widoku (może być zbyt duży
36   dla wielkich wiki);
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
40   przestrzeni nazw.
41
42 %prep
43 %setup -qc
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 cd %{plugin}
48 install -d $RPM_BUILD_ROOT%{plugindir}
49 cp -a . $RPM_BUILD_ROOT%{plugindir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post
55 # force css cache refresh
56 if [ -f %{dokuconf}/local.php ]; then
57         touch %{dokuconf}/local.php
58 fi
59
60 %files
61 %defattr(644,root,root,755)
62 %{plugindir}
This page took 0.062831 seconds and 2 git commands to generate.