File usnic_tools.spec of Package usnic_tools

#
# spec file for package usnic_tools
#
# Copyright (c) 2016 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/
#


%define special_version -gite892b15

Name:           usnic_tools
Summary:        Extract some diagnostics and informational meta data out of Cisco usNIC devices
License:        BSD-3-Clause
Group:          Productivity/Networking/System
Version:        1.1.1.0
Release:        0
Source0:        usnic-tools-%{version}%{special_version}.tar.xz
Url:            http://www.cisco.com
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  x86_64
BuildRequires:  libfabric-devel

%description
  This is a simple tool for extracting some diagnostics and informational
meta data out of Cisco usNIC devices using the Cisco usNIC extensions
in libfabric.

The usnic_devinfo executable will return information about your usNIC
Linux devices.

%prep
%setup -q -n usnic-tools-%{version}

%build
%configure
make %{?_smp_mflags} V=1

%install
make DESTDIR=%{buildroot} install

%files
%defattr(-, root, root)
%doc ChangeLog
%{_bindir}/usnic_devinfo

%changelog
openSUSE Build Service is sponsored by