2 Summary: DokuWiki zip plugin
3 Summary(pl.UTF-8): Wtyczka zip dla DokuWiki
4 Name: dokuwiki-plugin-%{plugin}
8 Group: Applications/WWW
9 Source0: http://wiki.pilsch.com/doku-zip-%{version}.zip
10 # Source0-md5: 7525314836db3ab7fd2f97d5a9e3bf89
11 Source1: dokuwiki-find-lang.sh
12 URL: http://wiki.pilsch.com/zip.html
14 Requires: dokuwiki >= 20061106
15 Requires: php-pear-File_Archive
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define dokuconf /etc/webapps/dokuwiki
20 %define dokudir /usr/share/dokuwiki
21 %define plugindir %{dokudir}/lib/plugins/%{plugin}
24 This plugin saves a doku wiki as a zip file that contains changes.log,
25 pages/, and, attic/ from the directory pointed to by $conf["savedir"].
26 In addition to the ability to save zip backups, this plugin also
27 allows for the restoration of lost data from such an archive.
29 %description -l pl.UTF-8
30 Wtyczka zip dla DokuWiki
33 %setup -q -n %{plugin}-standalone
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{plugindir}
38 cp -a . $RPM_BUILD_ROOT%{plugindir}
41 sh %{SOURCE1} %{name}.lang
44 rm -rf $RPM_BUILD_ROOT
47 # force css cache refresh
48 if [ -f %{dokuconf}/local.php ]; then
49 touch %{dokuconf}/local.php
52 %files -f %{name}.lang
53 %defattr(644,root,root,755)