]>
Commit | Line | Data |
---|---|---|
9aacaa67 MWP |
1 | %define namesrc monitor |
2 | %include /usr/lib/rpm/macros.perl | |
3 | Summary: Plugin for Cacti - Monitor | |
9542cb85 | 4 | Summary(pl.UTF-8): Wtyczka do Cacti - Monitor |
9aacaa67 | 5 | Name: cacti-plugin-monitor |
817fb1a3 | 6 | Version: 0.8.1 |
6a627432 | 7 | Release: 1 |
9aacaa67 MWP |
8 | License: GPL v2 |
9 | Group: Applications/WWW | |
817fb1a3 MWP |
10 | Source0: http://mirror.cactiusers.org/downloads/plugins/%{namesrc}-%{version}.zip |
11 | # Source0-md5: 72d226f568abce60775806c72e504f96 | |
9aacaa67 | 12 | URL: http://www.cactiusers.org/ |
c5251a20 | 13 | BuildRequires: rpm-perlprov |
9aacaa67 MWP |
14 | Requires: cacti |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define webcactipluginroot /usr/share/cacti/plugins/%{namesrc} | |
19 | ||
20 | %description | |
c5251a20 | 21 | Plugin for Cacti - adds a tab to visually show you the Up/Down Status |
69cd847a | 22 | of all your hosts. It will audibly alert you whenever a host goes down. |
9aacaa67 | 23 | |
8d0266cb JR |
24 | %description -l pl.UTF-8 |
25 | Wtyczka do Cacti dodająca zakładkę wizualnie pokazującą stan | |
26 | (działający/nie działający) wszystkich hostów. Ponadto wtyczka ta | |
27 | dźwiękowo alarmuje kiedy host przestaje działać. | |
9aacaa67 MWP |
28 | |
29 | %prep | |
817fb1a3 | 30 | %setup -q -c |
9aacaa67 | 31 | |
9aacaa67 MWP |
32 | %install |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{webcactipluginroot} | |
35 | cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
c5251a20 | 42 | %doc README |
9aacaa67 | 43 | %{webcactipluginroot} |