File omping.spec of Package omping
#
# spec file for package omping
#
# Copyright (c) 2017 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: omping
Version: 0.0.5
Release: 1%{?dist}
Summary: Utility to test IP multicast functionality
License: ISC
Group: Productivity/Networking/Diagnostic
Url: https://github.com/jfriesse/omping
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Omping (Open Multicast Ping) is tool to test IP multicast functionality
primarily in local network.
%prep
%setup -q
%build
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
make DESTDIR="%{buildroot}" PREFIX="%{_prefix}" install
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/%{name}
%{_mandir}/man8/*
%changelog