]>
Commit | Line | Data |
---|---|---|
a33e96ab ER |
1 | %define plugin easydokuwiki |
2 | Summary: DokuWiki Include Plugin | |
3 | Summary(pl.UTF-8): Wtyczka Include (dołączania) dla DokuWiki | |
4 | Name: dokuwiki-plugin-%{plugin} | |
5 | Version: 0.1 | |
6 | Release: 0.1 | |
7 | License: GPL v2 | |
8 | Group: Applications/WWW | |
9 | Source0: http://resources.neolao.com/download/xul/easydokuwiki/easydokuwiki.zip | |
10 | # Source0-md5: 7a50747fcf617e6d027bfb6f9c5f76e5 | |
11 | URL: http://resources.neolao.com/xul/easydokuwiki | |
068eb37a | 12 | BuildRequires: unzip |
a33e96ab ER |
13 | Requires: dokuwiki >= 20061008 |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
bee3b485 | 17 | %define dokuconf /etc/webapps/dokuwiki |
a33e96ab ER |
18 | %define dokudir /usr/share/dokuwiki |
19 | %define plugindir %{dokudir}/lib/plugins/%{plugin} | |
20 | ||
21 | %description | |
22 | Easy Dokuwiki is a Firefox extension that allows navigate, and manage a site in | |
23 | Dokuwiki. | |
24 | ||
25 | This is the extension for Dokuwiki for that plugin. | |
26 | ||
27 | %description -l fr.UTF-8 | |
28 | Easy Dokuwiki est une extension Firefox qui permet de parcourir et de gérer un | |
29 | site sous Dokuwiki. | |
30 | ||
31 | C'est la prorogation pour DokuWiki pour ce plugin. | |
32 | ||
33 | %prep | |
34 | %setup -q -n %{plugin} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{plugindir} | |
39 | cp -a . $RPM_BUILD_ROOT%{plugindir} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
bee3b485 ER |
44 | %post |
45 | # force css cache refresh | |
46 | if [ -f %{dokuconf}/local.php ]; then | |
47 | touch %{dokuconf}/local.php | |
48 | fi | |
49 | ||
a33e96ab ER |
50 | %files |
51 | %defattr(644,root,root,755) | |
52 | %dir %{plugindir} | |
53 | %{plugindir}/action.php |