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