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