%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
Name: ibsim
Summary: InfiniBand fabric simulator for management
Version: 0.11
Release: alt1
License: GPLv2 or BSD
Group: Monitoring
Url: https://github.com/linux-rdma/ibsim
# https://github.com/linux-rdma/ibsim.git
Source: %name-%version.tar
Patch1: %name-%version-alt.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires: rdma-core-devel
%description
%name provides simulation of infiniband fabric for using with
OFA OpenSM, diagnostic and management tools.
%prep
%setup
%patch1 -p1
%build
%add_optflags -D_FILE_OFFSET_BITS=64
%make_build \
CFLAGS="%optflags %optflags_shared -I. -I../include" \
%nil
%install
%makeinstall_std \
CFLAGS="%optflags %optflags_shared -I. -I../include" \
prefix=%_prefix libpath=%_libdir binpath=%_bindir \
%nil
%files
%doc README TODO net-examples scripts
%_libdir/umad2sim
%_bindir/*
%changelog
* Mon Feb 28 2022 Aleksei Nikiforov <darktemplar@altlinux.org> 0.11-alt1
- Updated to version 0.11.
* Thu Jun 04 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 0.9-alt1
- Updated to version 0.9.
* Wed Feb 05 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 0.8-alt1
- Updated to version 0.8.
* Mon May 14 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.7-alt1
- Updated to version 0.7.
* Thu Mar 24 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5-alt3
- Rebuilt for debuginfo
* Mon Aug 30 2010 Andriy Stepanov <stanv@altlinux.ru> 0.5-alt2.2
- Rebuild with new libibmad
* Tue Jun 30 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5-alt2.1
- Build for Sisyphus
* Tue Jun 09 2009 Led <led@altlinux.ru> 0.5-alt2
- fixed for build with glibc 2.10
* Tue Apr 14 2009 Led <led@altlinux.ru> 0.5-alt1
- 0.5
* Tue Oct 28 2008 Led <led@altlinux.ru> 0.4-alt1
- initial build