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