1 %define namesrc hostinfo
2 %include /usr/lib/rpm/macros.perl
3 Summary: Plugin for Cacti - Host info
4 Summary(pl): Wtyczka do Cacti - Host info
5 Name: cacti-plugin-hostinfo
9 Group: Applications/WWW
10 Source0: http://download.cactiusers.org/downloads/%{namesrc}-%{version}.tar.gz
11 # Source0-md5: b586fd6dc334381013f25bd19a63197b
12 URL: http://www.cactiusers.org/
13 #BuildRequires: rpm-perlprov
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
21 Plugin for Cacti - This plugin will give you version information about
22 your Cacti server. It outputs everything from Web server information,
23 to php, mysql, rrdtool, and snmp versions. It will also give you the
24 information in BBCode format to easily allow you to post it to a
28 Wtyczka do Cacti wy¶wietlaj±ca informacje o serwerze na którym
32 %setup -q -n %{namesrc}
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{webcactipluginroot}
37 cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)