]> git.pld-linux.org Git - packages/cacti-plugin-hostinfo.git/blob - cacti-plugin-hostinfo.spec
- BR: unzip
[packages/cacti-plugin-hostinfo.git] / cacti-plugin-hostinfo.spec
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
6 Version:        0.2
7 Release:        1
8 License:        GPL
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
14 BuildRequires:  unzip
15 Requires:       cacti
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         cactidir                /usr/share/cacti
20 %define         plugindir               %{cactidir}/plugins/%{plugin}
21
22 %description
23 Plugin for Cacti - This plugin will give you version information about
24 your Cacti server. It outputs everything from Web server information,
25 to PHP, MySQL, RRDtool, and SNMP versions. It will also give you the
26 information in BBCode format to easily allow you to post it to a
27 forum.
28
29 %description -l pl.UTF-8
30 Wtyczka do Cacti wyświetlająca informacje o serwerze na którym
31 uruchomiono cacti. Podaje wszystkie informacje począwszy od serwera
32 WWW, a kończąc na wersjach PHP, MySQL-a, RRDtoola i SNMP. Podaje także
33 informacje w formacie BBCode, umożliwiając łatwe wysłanie ich na
34 forum.
35
36 %prep
37 %setup -q -c
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{plugindir}
42 cp -a . $RPM_BUILD_ROOT%{plugindir}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %{plugindir}
This page took 0.09964 seconds and 4 git commands to generate.