]>
Commit | Line | Data |
---|---|---|
3da90d2d MWP |
1 | %define namesrc discovery |
2 | %include /usr/lib/rpm/macros.perl | |
3 | Summary: Plugin for Cacti - Discovery | |
9ef42b2f | 4 | Summary(pl.UTF-8): Wtyczka do Cacti - Discovery |
3da90d2d | 5 | Name: cacti-plugin-discovery |
34f225a6 | 6 | Version: 0.8.4 |
c8206b8a | 7 | Release: 1 |
3da90d2d MWP |
8 | License: GPL v2 |
9 | Group: Applications/WWW | |
cab1324a | 10 | Source0: http://mirror.cactiusers.org/downloads/plugins/%{namesrc}-%{version}.zip |
34f225a6 | 11 | # Source0-md5: abefb45b806d0bc0074b6d9516a940a4 |
3da90d2d | 12 | URL: http://www.cactiusers.org/ |
3d408e7b | 13 | BuildRequires: rpm-perlprov |
3da90d2d 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 | |
a0577215 | 21 | Plugin for Cacti - This plugin adds the ability to auto-discover |
3da90d2d MWP |
22 | devices on a subnet that are not monitored by Cacti and and tells you |
23 | if they are SNMP enabled. | |
24 | ||
5810cb99 JR |
25 | %description -l pl.UTF-8 |
26 | Wtyczka do Cacti dodająca możliwość automatycznego wykrywania urządzeń | |
27 | w podsieci jeszcze nie monitorowanych przez Cacti i informująca, czy | |
28 | urządzenia mają włączone SNMP. | |
3da90d2d MWP |
29 | |
30 | %prep | |
cab1324a | 31 | %setup -q -c |
3da90d2d MWP |
32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT%{webcactipluginroot} | |
3d408e7b | 36 | cp -a * $RPM_BUILD_ROOT%{webcactipluginroot} |
3da90d2d MWP |
37 | |
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc README | |
44 | %{webcactipluginroot} |