]> git.pld-linux.org Git - packages/zabbix.git/blobdiff - zabbix.spec
- updated to beta10
[packages/zabbix.git] / zabbix.spec
index 04bd395a68dc7d0129b1db3f1360acdc3b651481..4e7f022e8c880a7d4f25873878c5c5d754cb6e4d 100644 (file)
@@ -1,8 +1,8 @@
 #
 # Conditional build:
-# _with_pgsql - enable postgresql support (by default use mysql)
-#
-%define        _beta   beta8
+%bcond_with pgsql      # enable postgresql support (by default use mysql)
+
+%define        _beta   beta10
 Summary:       zabbix - network monitoring software
 Summary(pl):   zabbix - oprogramowanie do monitorowania sieci
 Name:          zabbix
@@ -11,40 +11,30 @@ Release:    0.%{_beta}.0.1
 License:       GPL v2+
 Group:         Networking/Admin
 Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}%{_beta}.tar.gz
-# Source0-md5: ed691c777df63aa6081dde750f10e733
+# Source0-md5: 6d1fd1c4e8166ceffa730060583d4014
 Source1:       %{name}-agent.inetd
 Source2:       %{name}-trapper.inetd
 URL:           http://zabbix.sourceforge.net/
-%{!?_with_pgsql:BuildRequires: mysql-devel}
-%{?_with_pgsql:BuildRequires:  postgresql-devel}
-BuildRequires: ucd-snmp-devel
-BuildRequires: openssl-devel >= 0.9.6j
-#PreReq:       -
-#Requires      -
-#Requires(pre,post):   -
-#Requires(preun):      -
-#Requires(postun):     -
-#Provides:     -
-#Obsoletes:    -
-#Conflicts:    -
+%{!?with_pgsql:BuildRequires:  mysql-devel}
+%{?with_pgsql:BuildRequires:   postgresql-devel}
+BuildRequires: net-snmp-devel
+BuildRequires: openssl-devel >= 0.9.7c
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _sysconfdir     /etc/%{name}
 
 %description
-
-ZABBIX is software that monitors numerous parameters of a network and
-the servers on that network. ZABBIX is a useful tool for monitoring
-the health and integrity of servers. ZABBIX uses a flexible
+zabbix is software that monitors numerous parameters of a network and
+the servers on that network. zabbix is a useful tool for monitoring
+the health and integrity of servers. zabbix uses a flexible
 notification mechanism that allows users to configure email based
 alerts for virtually any event. All monitored parameters are stored in
-a database. ZABBIX offers excellent reporting and data visualisation
-features based on the stored data. ZABBIX supports both polling and
-trapping. All ZABBIX reports and statistics, as well as configuration
+a database. zabbix offers excellent reporting and data visualisation
+features based on the stored data. zabbix supports both polling and
+trapping. All zabbix reports and statistics, as well as configuration
 parameters, are accessed through a web-based front end.
 
-%description
-
+%description -l pl
 zabbix to oprogramowanie do monitorowania licznych parametrów sieci i
 serwerów sieciowych. zabbix jest przydatny przy monitorowaniu
 dzia³ania serwerów. zabbix korzysta z elastycznego mechanizmu
@@ -64,7 +54,10 @@ Requires:    apache
 Requires:      php
 
 %description frontend-php
-blah
+This package provides web based (PHP) frontend for zabbix.
+
+%description frontend-php -l pl
+Ten pakiet dostarcza napisany w PHP frontend dla zabbiksa.
 
 %package agent-inetd
 Summary:       inetd agent for zabbix
@@ -75,7 +68,10 @@ Requires:    inetdaemon
 Obsoletes:     %{name}-agent-standalone
 
 %description agent-inetd
-blah
+This package provides inetd version of zabbix agent.
+
+%description agent-inetd -l pl
+Ten pakiet dostarcza agenta zabbiksa dla inetd.
 
 %package agent-standalone
 Summary:       Standalone agent for zabbix
@@ -85,17 +81,20 @@ Requires:   %{name}
 Obsoletes:     %{name}-agent-inetd
 
 %description agent-standalone
-blah
+This package provides standalone version of zabbix agent.
+
+%description agent-standalone -l pl
+Ten pakiet dostarcza wolnostoj±cej wersji agenta zabbiksa.
 
 %package suckerd
 Summary:       sucker daemon for zabbix
 Group:         Networking/Admin
 Requires:      %{name}
-%{!?_with_pgsql:Requires:      mysql}
-%{?_with_pgsql:Requires:       postgresql}
+%{!?with_pgsql:Requires:       mysql}
+%{?with_pgsql:Requires:        postgresql}
 
 %description suckerd
-blah
+This package provides the sucker daemon for zabbix.
 
 %package trapper-inetd
 Summary:       inetd trapper for zabbix
@@ -106,7 +105,7 @@ Requires:   inetdaemon
 Obsoletes:     %{name}-trapper-standalone
 
 %description trapper-inetd
-blah
+This package provides inetd version of zabbix trapper.
 
 %package trapper-standalone
 Summary:       Standalone trapper for zabbix
@@ -116,7 +115,7 @@ Requires:   %{name}
 Obsoletes:     %{name}-trapper-inetd
 
 %description trapper-standalone
-blah
+This package provides standalone version of zabbix trapper.
 
 %package sender
 Summary:       zabbix's sender
@@ -124,7 +123,7 @@ Summary(pl):        Program zawiadamiaj
 Group:         Networking/Admin
 
 %description sender
-blah
+This package provides the zabbix sender.
 
 %prep
 %setup -q -n %{name}-%{version}%{_beta}
@@ -134,8 +133,9 @@ rm -f missing
 %{__aclocal}
 %{__autoconf}
 %configure \
-       %{!?_with_pgsql:--with-mysql} \
-       %{?_with_pgsql:--with-pgsql}
+       %{!?with_pgsql:--with-mysql} \
+       %{?with_pgsql:--with-pgsql} \
+       --with-net-snmp
 
 %{__make}
 
This page took 0.050559 seconds and 4 git commands to generate.