1 %define plugin hostinfo
2 %include /usr/lib/rpm/macros.perl
3 Summary: Plugin for Cacti - Host info
4 Summary(pl.UTF-8): Wtyczka do Cacti - Host info
5 Name: cacti-plugin-hostinfo
9 Group: Applications/WWW
10 Source0: http://mirror.cactiusers.org/downloads/plugins/%{plugin}-%{version}.zip
11 # Source0-md5: e06cda8197ed5677d918737321528394
12 URL: http://www.cactiusers.org/
13 BuildRequires: rpm-perlprov
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define cactidir /usr/share/cacti
19 %define plugindir %{cactidir}/plugins/%{plugin}
22 Plugin for Cacti - This plugin will give you version information about
23 your Cacti server. It outputs everything from Web server information,
24 to PHP, MySQL, RRDtool, and SNMP versions. It will also give you the
25 information in BBCode format to easily allow you to post it to a
28 %description -l pl.UTF-8
29 Wtyczka do Cacti wyświetlająca informacje o serwerze na którym
30 uruchomiono cacti. Podaje wszystkie informacje począwszy od serwera
31 WWW, a kończąc na wersjach PHP, MySQL-a, RRDtoola i SNMP. Podaje także
32 informacje w formacie BBCode, umożliwiając łatwe wysłanie ich na
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{plugindir}
41 cp -a . $RPM_BUILD_ROOT%{plugindir}
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)