File cacti-spine.spec of Package cacti-spine
#
# spec file for package cacti-spine
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: cacti-spine
Version: 0.8.8c
Release: 0
Url: http://www.cacti.net/spine_info.php
Source: http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} >= 1210
BuildRequires: systemd
%endif
BuildRequires: mysql-devel
BuildRequires: net-snmp-devel
BuildRequires: openssl-devel
Requires: cacti
Requires: rrdtool
Summary: Threaded poller for Cacti written in C
License: LGPL-2.1+
Group: System/Monitoring
%description
Spine is a supplemental poller for Cacti that makes use of pthreads to achieve
excellent performance.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%makeinstall
%files
%defattr(-, root, root, 0755)
%doc ChangeLog README
%config %{_sysconfdir}/spine.conf.dist
%{_bindir}/spine
%changelog