]> git.pld-linux.org Git - packages/cacti-plugin-devices.git/blame - cacti-plugin-devices.spec
- cleanups
[packages/cacti-plugin-devices.git] / cacti-plugin-devices.spec
CommitLineData
026a24ae
MWP
1%define namesrc devices
2%include /usr/lib/rpm/macros.perl
3Summary: Plugin for Cacti - Devices
ac86f5d0 4Summary(pl.UTF-8): Wtyczka do Cacti - Devices
026a24ae
MWP
5Name: cacti-plugin-devices
6Version: 0.4
bd0a9403 7Release: 1
026a24ae
MWP
8License: GPL v2
9Group: Applications/WWW
026a24ae
MWP
10Source0: http://wotsit.thingy.com/haj/cacti/%{namesrc}-%{version}.zip
11# Source0-md5: c2464ec843cc6d3d464ca179cb4b053a
12URL: http://wotsit.thingy.com/haj/cacti/devices-plugin.html
13BuildRequires: rpm-perlprov
14Requires: cacti
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%define webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
19
20%description
dc68725c
JB
21This is a simple plugin for the Cacti Plugin Architecture for Cacti
220.8.x. Wanted a tab to show the current availability of his devices,
026a24ae 23but without the ability to edit the devices. This is a hacked up copy
dc68725c
JB
24of the 'hosts.php' page that forms the Devices page within the
25console. All the editing code is removed, and the device devices go to
26the Graph Preview mode, with that device as the filter (so you see
27only that device's graphs).
026a24ae 28
2b6554bd 29%description -l pl.UTF-8
dc68725c 30To jest prosta wtyczka dla architektury wtyczek Cacti dla Cacti 0.8.x.
2b6554bd
JR
31Ma być zakładką pokazującą aktualną dostępność urządzeń, ale bez
32możliwości edycji urządzeń. Jest to zmodyfikowana kopia strony
33'hosts.php' tworzącej stronę Devices wewnątrz konsoli. Cały kod do
34modyfikacji ustawień został usunięty, a urządzenie przechodzi do
35trybu podglądu wykresu (Graph Preview) z ustawionym tym urządzeniem
36jako filtrem (więc widać tylko wykres dla tego urządzenia).
026a24ae
MWP
37
38%prep
39%setup -q -n %{namesrc}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT%{webcactipluginroot}
5f97164e 44cp -a * $RPM_BUILD_ROOT%{webcactipluginroot}
026a24ae
MWP
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
026a24ae 51%{webcactipluginroot}
This page took 0.12586 seconds and 4 git commands to generate.