File sflowtool.spec of Package sflowtool

#
# spec file for package sflowtool
#
# Copyright (c) 2018 SUSE LINUX 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:           sflowtool
Version:        3.41
Release:        0
Summary:        InMon sFlow Toolkit
License:        Other
Group:          Productivity/Networking/Diagnostic
URL:            http://www.inmon.com/technology/sflowTools.php
Source:         https://github.com/sflow/sflowtool/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The sFlow toolkit provides command line utilities and scripts for analyzing sFlow data.

sflowtool interfaces to utilities such as tcpdump, Wireshark and Snort for detailed packet tracing and analysis, NetFlow compatible collectors for IP flow accounting, and provides text based output that can be used in scripts to provide customized analysis and reporting and for integrating with other tools such as Graphite or rrdtool.

%prep
%setup -q

%build
%configure \
                --prefix=%{_prefix} \
                --sysconfdir=%{_sysconfdir} \
                --infodir=%{_infodir} \
                --mandir=%{_mandir}
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%{_bindir}/sflowtool
%doc AUTHORS COPYING NEWS ChangeLog README

%changelog