]> git.pld-linux.org Git - packages/cacti-plugin-hostinfo.git/blame - cacti-plugin-hostinfo.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/cacti-plugin-hostinfo.git] / cacti-plugin-hostinfo.spec
CommitLineData
bd12a6a3 1%define plugin hostinfo
ded3b103 2%define php_min_version 5.0.0
27c2d335 3Summary: Plugin for Cacti - Host info
65492474 4Summary(pl.UTF-8): Wtyczka do Cacti - Host info
ded3b103 5Name: cacti-plugin-%{plugin}
789acc52 6Version: 0.2
7cae5cfa 7Release: 7
ded3b103 8License: GPL v2
27c2d335 9Group: Applications/WWW
bd12a6a3 10Source0: http://mirror.cactiusers.org/downloads/plugins/%{plugin}-%{version}.zip
789acc52 11# Source0-md5: e06cda8197ed5677d918737321528394
27c2d335 12URL: http://www.cactiusers.org/
ded3b103 13BuildRequires: rpm-php-pearprov >= 4.4.2-11
cdd7b7f8 14BuildRequires: unzip
27c2d335 15Requires: cacti
7cae5cfa 16Requires: php(core) >= %{php_min_version}
e73fd861 17Requires: php(mysql)
27c2d335
MWP
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
bd12a6a3
ER
21%define cactidir /usr/share/cacti
22%define plugindir %{cactidir}/plugins/%{plugin}
27c2d335
MWP
23
24%description
753a6c39
MWP
25Plugin for Cacti - This plugin will give you version information about
26your Cacti server. It outputs everything from Web server information,
e6d7e623 27to PHP, MySQL, RRDtool, and SNMP versions. It will also give you the
753a6c39
MWP
28information in BBCode format to easily allow you to post it to a
29forum.
27c2d335 30
4efe88f9
JR
31%description -l pl.UTF-8
32Wtyczka do Cacti wyświetlająca informacje o serwerze na którym
33uruchomiono cacti. Podaje wszystkie informacje począwszy od serwera
34WWW, a kończąc na wersjach PHP, MySQL-a, RRDtoola i SNMP. Podaje także
35informacje w formacie BBCode, umożliwiając łatwe wysłanie ich na
e6d7e623 36forum.
27c2d335
MWP
37
38%prep
ded3b103 39%setup -qc
27c2d335
MWP
40
41%install
42rm -rf $RPM_BUILD_ROOT
bd12a6a3 43install -d $RPM_BUILD_ROOT%{plugindir}
ded3b103 44cp -p *.php $RPM_BUILD_ROOT%{plugindir}
27c2d335
MWP
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
bd12a6a3 51%{plugindir}
This page took 0.101824 seconds and 4 git commands to generate.