- BR: unzip
[packages/dokuwiki-plugin-userpage.git] / dokuwiki-plugin-userpage.spec
CommitLineData
2eaebcaa 1%define plugin userpage
6ed23bf1
JB
2Summary: DokuWiki UserPage plugin
3Summary(pl.UTF-8): Wtyczka UserPage (strony użytkowników) dla DokuWiki
2eaebcaa 4Name: dokuwiki-plugin-%{plugin}
d5c1da70 5Version: 20070715
2eaebcaa 6Release: 1
1fb76509
ER
7License: GPL v2
8Group: Applications/WWW
9Source0: http://whoopdedo.org/doku-plugins/userpage.zip
10# Source0-md5: 46db95c01ab4d8ad23f9648eadd15f65
11URL: http://whoopdedo.org/doku/wiki
11db1aa2 12BuildRequires: unzip
1fb76509
ER
13Requires: dokuwiki >= 20061106
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
a9b74b3f 17%define dokuconf /etc/webapps/dokuwiki
2eaebcaa
ER
18%define dokudir /usr/share/dokuwiki
19%define plugindir %{dokudir}/lib/plugins/%{plugin}
1fb76509
ER
20
21%description
6ed23bf1
JB
22When a user registers with the wiki, this plugin will add their name
23to a given page.
24
25%description -l pl.UTF-8
26Ta wtyczka dodaje do określonej strony w wiki nazwę użytkownika w
27chwili jego rejestracji.
1fb76509
ER
28
29%prep
2eaebcaa 30%setup -q -n %{plugin}
1fb76509
ER
31
32%install
33rm -rf $RPM_BUILD_ROOT
2eaebcaa
ER
34install -d $RPM_BUILD_ROOT%{plugindir}
35cp -a . $RPM_BUILD_ROOT%{plugindir}
36rm $RPM_BUILD_ROOT%{plugindir}/{License.txt,ReadMe.txt}
1fb76509
ER
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
a9b74b3f
ER
41%post
42# force css cache refresh
43if [ -f %{dokuconf}/local.php ]; then
44 touch %{dokuconf}/local.php
45fi
46
1fb76509
ER
47%files
48%defattr(644,root,root,755)
49%doc ReadMe.txt
2eaebcaa 50%{plugindir}
This page took 0.031893 seconds and 4 git commands to generate.