Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
Name: collectd
Version: 5.0.0
-Release: 2
+Release: 3
License: GPL v2
Group: Daemons
Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
BuildRequires: libmemcached-devel
BuildRequires: libnetlink-devel
%{?with_netlink:BuildRequires: libnetlink-devel}
+%{?with_libvirt:BuildRequires: libnl1-devel}
%{?with_notify:BuildRequires: libnotify-devel >= 0.7.0}
%{?with_ping:BuildRequires: liboping-devel}
%{?with_dns:BuildRequires: libpcap-devel}
#BuildRequires: xfsprogs-devel
%{?with_xmms:BuildRequires: xmms-devel}
BuildRequires: yajl-devel
+BuildRequires: numactl-devel
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
%attr(755,root,root) %{_libdir}/%{name}/irq.so
+%if %{with libvirt}
%files libvirt
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
%attr(755,root,root) %{_libdir}/%{name}/libvirt.so
+%endif
%files load
%defattr(644,root,root,755)