]> git.pld-linux.org Git - packages/cacti-plugin-devices.git/blob - cacti-plugin-devices.spec
- init
[packages/cacti-plugin-devices.git] / cacti-plugin-devices.spec
1 %define         namesrc devices
2 %include        /usr/lib/rpm/macros.perl
3 Summary:        Plugin for Cacti - Devices
4 Summary(pl):    Wtyczka do Cacti - Devices
5 Name:           cacti-plugin-devices
6 Version:        0.4
7 Release:        0.1
8 License:        GPL v2
9 Group:          Applications/WWW
10 #!!!!problem with version
11 Source0:        http://wotsit.thingy.com/haj/cacti/%{namesrc}-%{version}.zip
12 # Source0-md5:  c2464ec843cc6d3d464ca179cb4b053a
13 URL:            http://wotsit.thingy.com/haj/cacti/devices-plugin.html
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
22 Plugin for Cacti -This is a simple plugin for the Cacti Plugin 
23 Architecture for Cacti 0.8.x.
24 Wanted a tab to show the current availability of his devices,
25 but without the ability to edit the devices. This is a hacked up copy
26 of the 'hosts.php' page that forms the Devices page within the console.
27 All the editing code is removed, and the device devices go to the Graph
28 Preview mode, with that device as the filter (so you see only that
29 device's graphs).
30
31
32 %description -l pl
33 Wtyczka do Cacti - 
34
35 %prep
36 %setup -q -n %{namesrc}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{webcactipluginroot}
41 cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 #%doc LICENSE README 
49 %{webcactipluginroot}
This page took 0.072037 seconds and 3 git commands to generate.