- BR: unzip
[packages/dokuwiki-plugin-lists.git] / dokuwiki-plugin-lists.spec
1 %define         plugin          lists
2 Summary:        DokuWiki Lists Plugin
3 Name:           dokuwiki-plugin-%{plugin}
4 Version:        20080328
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/WWW
8 Source0:        http://dev.mwat.de/dw/syntax_plugin_lists.zip
9 # Source0-md5:  3048488fcfe5b1c62edf6357eb9cad58
10 URL:            http://www.dokuwiki.org/plugin:actionlink
11 BuildRequires:  unzip
12 Requires:       dokuwiki >= 20050713
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 This plugin functionally replaces (and enhances) DokuWiki's builtin
22 handling of un/ordered lists.
23
24 %prep
25 %setup -q -n %{plugin}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{plugindir}
30 cp -a . $RPM_BUILD_ROOT%{plugindir}
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %post
36 # force css cache refresh
37 if [ -f %{dokuconf}/local.php ]; then
38         touch %{dokuconf}/local.php
39 fi
40
41 %files
42 %defattr(644,root,root,755)
43 %dir %{plugindir}
44 %{plugindir}/syntax.php
45 %{plugindir}/*.css
This page took 0.075105 seconds and 3 git commands to generate.