From: Jakub Bogusz Date: Sun, 17 Aug 2008 17:32:02 +0000 (+0000) Subject: - pl desc for -ipmi, bcond descs X-Git-Tag: auto/th/collectd-4_5_0-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcollectd.git;a=commitdiff_plain;h=34fc103e565092a07301c00f10f9e76a28291e82 - pl desc for -ipmi, bcond descs Changed files: collectd.spec -> 1.33 --- diff --git a/collectd.spec b/collectd.spec index c28228c..9d658d8 100644 --- a/collectd.spec +++ b/collectd.spec @@ -58,12 +58,14 @@ # vserver . . . . . . yes # wireless . . . . . yes # xmms . . . . . . . yes -%bcond_without dns -%bcond_without ipmi -%bcond_without iptables -%bcond_with multimeter -%bcond_without netlink - +# +# Conditional build: +%bcond_without dns # ??? +%bcond_without ipmi # ipmi plugin package +%bcond_without iptables # iptables plugin +%bcond_with multimeter # multimeter plugin +%bcond_without netlink # netlink plugin +# #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637 %ifarch %{x8664} %undefine with_iptables @@ -190,6 +192,9 @@ Requires: %{name} = %{version}-%{release} %description ipmi ipmi plugin for collectd. +%description ipmi -l pl.UTF-8 +Wtyczka ipmi dla collectd. + %package mysql Summary: mysql-plugin for collectd Summary(pl_PL.UTF-8): Moduł mysql dla collectd. @@ -297,11 +302,11 @@ EOF --with-libstatgrab=/usr \ --with-lm-sensors=/usr \ --with-libmysql=/usr \ - --%{?with_ipmi:en}%{?!with_ipmi:dis}able-ipmi \ - --%{?with_multimeter:en}%{?!with_multimeter:dis}able-multimeter \ - --%{?with_dns:en}%{?!with_dns:dis}able-dns \ - --%{?with_iptables:en}%{?!with_iptables:dis}able-iptables \ - --%{?with_netlink:en}%{?!with_netlink:dis}able-netlink + --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \ + --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \ + --%{?with_dns:en}%{!?with_dns:dis}able-dns \ + --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \ + --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \