]>
Commit | Line | Data |
---|---|---|
9aacaa67 MWP |
1 | %define namesrc monitor |
2 | %include /usr/lib/rpm/macros.perl | |
3 | Summary: Plugin for Cacti - Monitor | |
4 | Summary(pl): Wtyczka do Cacti - Monitor | |
5 | Name: cacti-plugin-monitor | |
6 | Version: 0.4 | |
7 | Release: 0.1 | |
8 | License: GPL v2 | |
9 | Group: Applications/WWW | |
10 | #!!!!problem with version | |
11 | Source0: http://download.cactiusers.org/downloads/%{namesrc}.tar.gz | |
57f0b185 | 12 | # Source0-md5: 807d56905b0c6bd096a6a3b2a88805a4 |
9aacaa67 MWP |
13 | URL: http://www.cactiusers.org/ |
14 | #BuildRequires: rpm-perlprov | |
15 | Requires: cacti | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define webcactipluginroot /usr/share/cacti/plugins/%{namesrc} | |
20 | ||
21 | %description | |
69cd847a MWP |
22 | Plugin for Cacti- adds a tab to visually show you the Up / Down Status |
23 | of all your hosts. It will audibly alert you whenever a host goes down. | |
9aacaa67 MWP |
24 | |
25 | %description -l pl | |
26 | Wtyczka do Cacti. | |
27 | ||
28 | %prep | |
29 | %setup -q -n %{namesrc} | |
30 | ||
31 | %build | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT%{webcactipluginroot} | |
36 | cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc README | |
44 | %{webcactipluginroot} |