File usnic_tools.spec of Package usnic_tools
#
# spec file for package usnic_tools
#
# 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/
#
%define special_version .sles12sp0
Name: usnic_tools
Summary: Tools for Cisco USNIC adaptors
License: BSD-3-Clause
Group: Productivity/Networking/System
Version: 1.0.1.237
Release: 0
Source0: %{name}-%{version}%{special_version}.src.tar.gz
Url: http://www.cisco.com
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64
%description
Along with the OpenFabrics kernel drivers, libdat and libdapl provides
a userspace RDMA API that supports DAT 2.0 specification and IB
transport extensions for atomic operations and rdma write with
immediate data.
%prep
%setup -q -n %{name}-%{version}%{special_version}
%build
%install
mkdir -p %{buildroot}/usr/bin
install -m 755 usnic_status usnic_verbs_check tech_support_info %{buildroot}/usr/bin
%files
%defattr(-, root, root)
%doc ChangeLog
%{_bindir}/usnic_status
%{_bindir}/usnic_verbs_check
%{_bindir}/tech_support_info