]> git.pld-linux.org Git - packages/zabbix.git/blame - zabbix.spec
- use %useradd/%groupadd macros
[packages/zabbix.git] / zabbix.spec
CommitLineData
10a854a6
TO
1#
2# Conditional build:
c5796f18 3%bcond_with pgsql # enable PostgreSQL support (by default use mysql)
a5bb35f6 4#
fe8ba58f 5%define _beta beta14
7f4b6a83 6Summary: zabbix - network monitoring software
7Summary(pl): zabbix - oprogramowanie do monitorowania sieci
10a854a6
TO
8Name: zabbix
9Version: 1.0
d3b06c7e 10Release: 0.%{_beta}.2
10a854a6
TO
11License: GPL v2+
12Group: Networking/Admin
13Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}%{_beta}.tar.gz
fe8ba58f 14# Source0-md5: 0ac320c6cd99f801d8cb7923ca790419
10a854a6
TO
15Source1: %{name}-agent.inetd
16Source2: %{name}-trapper.inetd
17URL: http://zabbix.sourceforge.net/
39709426 18%{!?with_pgsql:BuildRequires: mysql-devel}
19%{?with_pgsql:BuildRequires: postgresql-devel}
20BuildRequires: net-snmp-devel
2886d983 21BuildRequires: openssl-devel >= 0.9.7d
78794d78 22BuildRequires: rpmbuild(macros) >= 1.202
a5bb35f6 23Requires(pre): /bin/id
9b19117f 24Requires(pre): /usr/bin/getgid
a5bb35f6
JB
25Requires(pre): /usr/sbin/groupadd
26Requires(pre): /usr/sbin/useradd
27Requires(postun): /usr/sbin/groupdel
28Requires(postun): /usr/sbin/userdel
9b19117f 29Provides: group(zabbix)
30Provides: user(zabbix)
10a854a6
TO
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
a5bb35f6
JB
33%define _sysconfdir /etc/%{name}
34%define htmldir /home/services/html/zabbix
10a854a6
TO
35
36%description
b82afc4b 37zabbix is software that monitors numerous parameters of a network and
38the servers on that network. zabbix is a useful tool for monitoring
39the health and integrity of servers. zabbix uses a flexible
7f4b6a83 40notification mechanism that allows users to configure email based
41alerts for virtually any event. All monitored parameters are stored in
b82afc4b 42a database. zabbix offers excellent reporting and data visualisation
43features based on the stored data. zabbix supports both polling and
44trapping. All zabbix reports and statistics, as well as configuration
7f4b6a83 45parameters, are accessed through a web-based front end.
46
b82afc4b 47%description -l pl
7f4b6a83 48