2014-07-04 07:34:22 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package ibsim
|
|
|
|
|
#
|
2025-02-05 15:34:09 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2014-07-04 07:34:22 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-04-17 13:36:00 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-07-04 07:34:22 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2023-07-25 13:54:50 +00:00
|
|
|
%define git_ver .0.db9c0e46bf23
|
2014-07-04 07:34:22 +00:00
|
|
|
|
|
|
|
|
Name: ibsim
|
2023-07-25 13:54:50 +00:00
|
|
|
Version: 0.12
|
2016-03-26 14:24:02 +00:00
|
|
|
Release: 0
|
2021-04-27 07:42:48 +00:00
|
|
|
Summary: InfiniBand fabric simulator for management
|
|
|
|
|
License: BSD-2-Clause OR GPL-2.0-only
|
|
|
|
|
Group: Productivity/Networking/Diagnostic
|
2018-06-15 06:10:22 +00:00
|
|
|
Source: ibsim-%{version}%{git_ver}.tar.gz
|
2025-10-27 17:35:21 +01:00
|
|
|
Source100: README.md
|
2021-09-02 15:43:46 +00:00
|
|
|
Patch1: ibsim-PIE.patch
|
2020-03-19 15:31:51 +00:00
|
|
|
URL: https://github.com/linux-rdma/ibsim
|
2017-06-23 15:51:35 +00:00
|
|
|
BuildRequires: infiniband-diags-devel
|
2017-06-08 11:26:23 +00:00
|
|
|
BuildRequires: libibumad-devel
|
2019-04-18 14:15:13 +00:00
|
|
|
BuildRequires: make
|
2014-07-04 07:34:22 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
ibsim provides simulation of infiniband fabric for using with OFA
|
|
|
|
|
OpenSM, diagnostic and management tools.
|
|
|
|
|
|
|
|
|
|
%prep
|
2024-02-26 12:54:39 +00:00
|
|
|
%autosetup -p0 -n %{name}-%{version}%{git_ver}
|
2014-07-04 07:34:22 +00:00
|
|
|
|
|
|
|
|
%build
|
2021-04-27 07:42:48 +00:00
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
export LDFLAGS="%{optflags}"
|
2014-07-04 07:34:22 +00:00
|
|
|
make prefix=%_prefix libpath=%_libdir binpath=%_bindir %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
2021-04-27 07:42:48 +00:00
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
export LDFLAGS="%{optflags}"
|
|
|
|
|
%make_install prefix=%_prefix libpath=%_libdir binpath=%_bindir
|
2014-07-04 07:34:22 +00:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%dir %{_libdir}/umad2sim
|
|
|
|
|
%{_libdir}/umad2sim/libumad2sim*.so*
|
|
|
|
|
%{_bindir}/ibsim
|
2021-04-28 10:34:46 +00:00
|
|
|
%{_bindir}/ibsim-run
|
2020-03-19 15:31:51 +00:00
|
|
|
%doc README TODO net-examples scripts
|
|
|
|
|
%license COPYING
|
2014-07-04 07:34:22 +00:00
|
|
|
|
|
|
|
|
%changelog
|