7c221d
Name: rdma-core
33786c
Version: 37.1
33786c
Release: 1%{?dist}
7c221d
Summary: RDMA core userspace libraries and daemons
7c221d
7c221d
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
7c221d
#  providers/ipathverbs/ Dual licensed using a BSD license with an extra patent clause
7c221d
#  providers/rxe/ Incorporates code from ipathverbs and contains the patent clause
7c221d
#  providers/hfi1verbs Uses the 3 Clause BSD license
7c221d
License: GPLv2 or BSD
7c221d
Url: https://github.com/linux-rdma/rdma-core
7c221d
Source: https://github.com/linux-rdma/rdma-core/releases/download/v%{version}/%{name}-%{version}.tar.gz
7c221d
Patch1: 0001-kernel-boot-Do-not-perform-device-rename-on-OPA-devi.patch
7c221d
Patch2: udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch
7c221d
# Do not build static libs by default.
7c221d
%define with_static %{?_with_static: 1} %{?!_with_static: 0}
7c221d
7c221d
# 32-bit arm is missing required arch-specific memory barriers,
7c221d
ExcludeArch: %{arm}
7c221d
7c221d
BuildRequires: binutils
7c221d
BuildRequires: cmake >= 2.8.11
7c221d
BuildRequires: gcc
7c221d
BuildRequires: libudev-devel
7c221d
BuildRequires: pkgconfig
7c221d
BuildRequires: pkgconfig(libnl-3.0)
7c221d
BuildRequires: pkgconfig(libnl-route-3.0)
7c221d
BuildRequires: /usr/bin/rst2man
7c221d
BuildRequires: valgrind-devel
7c221d
BuildRequires: systemd
7c221d
BuildRequires: systemd-devel
7c221d
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
7c221d
%define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: %{?!_without_pyverbs: 1} %{?_without_pyverbs: 0}}
7c221d
%else
7c221d
%define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: 0}
7c221d
%endif
7c221d
%if %{with_pyverbs}
7c221d
BuildRequires: python3-devel
7c221d
BuildRequires: python3-Cython
7c221d
%else
7c221d
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
7c221d
BuildRequires: python3
7c221d
%else
7c221d
BuildRequires: python
7c221d
%endif
7c221d
%endif
7c221d
7c221d
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || %{with_pyverbs}
7c221d
BuildRequires: python3-docutils
7c221d
%else
7c221d
BuildRequires: python-docutils
7c221d
%endif
7c221d
7c221d
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
7c221d
BuildRequires: perl-generators
7c221d
%endif
7c221d
7c221d
Requires: pciutils
7c221d
# Red Hat/Fedora previously shipped redhat/ as a stand-alone
7c221d
# package called 'rdma', which we're supplanting here.
7c221d
Provides: rdma = %{version}-%{release}
7c221d
Obsoletes: rdma < %{version}-%{release}
7c221d
Conflicts: infiniband-diags <= 1.6.7
7c221d
7c221d
# Since we recommend developers use Ninja, so should packagers, for consistency.
7c221d
%define CMAKE_FLAGS %{nil}
7c221d
%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8
7c221d
# Ninja was introduced in FC23
7c221d
BuildRequires: ninja-build
7c221d
%define CMAKE_FLAGS -GNinja
7c221d
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
7c221d
%define make_jobs ninja-build -C %{_vpath_builddir} -v %{?_smp_mflags}
7c221d
%define cmake_install DESTDIR=%{buildroot} ninja-build -C %{_vpath_builddir} install
7c221d
%else
7c221d
%define make_jobs ninja-build -v %{?_smp_mflags}
7c221d
%define cmake_install DESTDIR=%{buildroot} ninja-build install
7c221d
%endif
7c221d
%else
7c221d
# Fallback to make otherwise
7c221d
BuildRequires: make
7c221d
%define make_jobs make VERBOSE=1 %{?_smp_mflags}
7c221d
%define cmake_install DESTDIR=%{buildroot} make install
7c221d
%endif
7c221d
7c221d
%if 0%{?fedora} >= 25 || 0%{?rhel} == 8
7c221d
# pandoc was introduced in FC25, Centos8
7c221d
BuildRequires: pandoc
7c221d
%endif
7c221d
7c221d
%if 0%{?fedora} >= 34
7c221d
# self obsoletes to remove i686 multilib package when updating to F34
7c221d
Obsoletes: rdma-core < 34.0-3
7c221d
%endif
7c221d
7c221d
%description
7c221d
RDMA core userspace infrastructure and documentation, including initialization
7c221d
scripts, kernel driver-specific modprobe override configs, IPoIB network
7c221d
scripts, dracut rules, and the rdma-ndd utility.
7c221d
7c221d
%package devel
7c221d
Summary: RDMA core development libraries and headers
7c221d
Requires: libibverbs%{?_isa} = %{version}-%{release}
7c221d
Provides: libibverbs-devel = %{version}-%{release}
7c221d
Obsoletes: libibverbs-devel < %{version}-%{release}
7c221d
Requires: libibumad%{?_isa} = %{version}-%{release}
7c221d
Provides: libibumad-devel = %{version}-%{release}
7c221d
Obsoletes: libibumad-devel < %{version}-%{release}
7c221d
Requires: librdmacm%{?_isa} = %{version}-%{release}
7c221d
Provides: librdmacm-devel = %{version}-%{release}
7c221d
Obsoletes: librdmacm-devel < %{version}-%{release}
7c221d
Provides: ibacm-devel = %{version}-%{release}
7c221d
Obsoletes: ibacm-devel < %{version}-%{release}
7c221d
Requires: infiniband-diags%{?_isa} = %{version}-%{release}
7c221d
Provides: infiniband-diags-devel = %{version}-%{release}
7c221d
Obsoletes: infiniband-diags-devel < %{version}-%{release}
7c221d
Provides: libibmad-devel = %{version}-%{release}
7c221d
Obsoletes: libibmad-devel < %{version}-%{release}
7c221d
%if %{with_static}
7c221d
# Since our pkg-config files include private references to these packages they
7c221d
# need to have their .pc files installed too, even for dynamic linking, or
7c221d
# pkg-config breaks.
7c221d
BuildRequires: pkgconfig(libnl-3.0)
7c221d
BuildRequires: pkgconfig(libnl-route-3.0)
7c221d
%endif
7c221d
7c221d
%description devel
7c221d
RDMA core development libraries and headers.
7c221d
7c221d
%package -n infiniband-diags
7c221d
Summary: InfiniBand Diagnostic Tools
7c221d
Requires: libibumad%{?_isa} = %{version}-%{release}
7c221d
Provides: perl(IBswcountlimits)
7c221d
Provides: libibmad = %{version}-%{release}
7c221d
Obsoletes: libibmad < %{version}-%{release}
7c221d
Obsoletes: openib-diags < 1.3
7c221d
7c221d
%description -n infiniband-diags
7c221d
This package provides IB diagnostic programs and scripts needed to diagnose an
7c221d
IB subnet.  infiniband-diags now also provides libibmad.  libibmad provides
7c221d
low layer IB functions for use by the IB diagnostic and management
7c221d
programs. These include MAD, SA, SMP, and other basic IB functions.
7c221d
7c221d
%package -n libibverbs
7c221d
Summary: A library and drivers for direct userspace use of RDMA (InfiniBand/iWARP/RoCE) hardware
7c221d
Provides: libcxgb4 = %{version}-%{release}
7c221d
Obsoletes: libcxgb4 < %{version}-%{release}
7c221d
Provides: libefa = %{version}-%{release}
7c221d
Obsoletes: libefa < %{version}-%{release}
7c221d
Provides: libhfi1 = %{version}-%{release}
7c221d
Obsoletes: libhfi1 < %{version}-%{release}
33786c
Provides: libirdma = %{version}-%{release}
33786c
Obsoletes: libirdma < %{version}-%{release}
7c221d
Provides: libmlx4 = %{version}-%{release}
7c221d
Obsoletes: libmlx4 < %{version}-%{release}
7c221d
Provides: libmlx5 = %{version}-%{release}
7c221d
Obsoletes: libmlx5 < %{version}-%{release}
7c221d
Provides: librxe = %{version}-%{release}
7c221d
Obsoletes: librxe < %{version}-%{release}
7c221d
%if 0%{?fedora} == 34
7c221d
Obsoletes: libibverbs-core < %{version}-%{release}
7c221d
%endif
7c221d
7c221d
%description -n libibverbs
7c221d
libibverbs is a library that allows userspace processes to use RDMA
7c221d
"verbs" as described in the InfiniBand Architecture Specification and
7c221d
the RDMA Protocol Verbs Specification.  This includes direct hardware
7c221d
access from userspace to InfiniBand/iWARP adapters (kernel bypass) for
7c221d
fast path operations.
7c221d
7c221d
Device-specific plug-in ibverbs userspace drivers are included:
7c221d
7c221d
- libcxgb4: Chelsio T4 iWARP HCA
7c221d
- libefa: Amazon Elastic Fabric Adapter
7c221d
- libhfi1: Intel Omni-Path HFI
7c221d
- libhns: HiSilicon Hip06 SoC
33786c
- libirdma: Intel Ethernet Connection RDMA
7c221d
- libmlx4: Mellanox ConnectX-3 InfiniBand HCA
7c221d
- libmlx5: Mellanox Connect-IB/X-4+ InfiniBand HCA
7c221d
- libqedr: QLogic QL4xxx RoCE HCA
7c221d
- librxe: A software implementation of the RoCE protocol
7c221d
- libsiw: A software implementation of the iWarp protocol
7c221d
- libvmw_pvrdma: VMware paravirtual RDMA device
7c221d
7c221d
%package -n libibverbs-utils
7c221d
Summary: Examples for the libibverbs library
7c221d
Requires: libibverbs%{?_isa} = %{version}-%{release}
7c221d
7c221d
%description -n libibverbs-utils
7c221d
Useful libibverbs example programs such as ibv_devinfo, which
7c221d
displays information about RDMA devices.
7c221d
7c221d
%package -n ibacm
7c221d
Summary: InfiniBand Communication Manager Assistant
33786c
%{?systemd_requires}
33786c
Requires: libibumad%{?_isa} = %{version}-%{release}
33786c
Requires: libibverbs%{?_isa} = %{version}-%{release}
7c221d
7c221d
%description -n ibacm
7c221d
The ibacm daemon helps reduce the load of managing path record lookups on
7c221d
large InfiniBand fabrics by providing a user space implementation of what
7c221d
is functionally similar to an ARP cache.  The use of ibacm, when properly
7c221d
configured, can reduce the SA packet load of a large IB cluster from O(n^2)
7c221d
to O(n).  The ibacm daemon is started and normally runs in the background,
7c221d
user applications need not know about this daemon as long as their app
7c221d
uses librdmacm to handle connection bring up/tear down.  The librdmacm
7c221d
library knows how to talk directly to the ibacm daemon to retrieve data.
7c221d
7c221d
%package -n iwpmd
7c221d
Summary: iWarp Port Mapper userspace daemon
33786c
%{?systemd_requires}
7c221d
7c221d
%description -n iwpmd
7c221d
iwpmd provides a userspace service for iWarp drivers to claim
7c221d
tcp ports through the standard socket interface.
7c221d
7c221d
%package -n libibumad
7c221d
Summary: OpenFabrics Alliance InfiniBand umad (userspace management datagram) library
7c221d
7c221d
%description -n libibumad
7c221d
libibumad provides the userspace management datagram (umad) library
7c221d
functions, which sit on top of the umad modules in the kernel. These
7c221d
are used by the IB diagnostic and management tools, including OpenSM.
7c221d
7c221d
%package -n librdmacm
7c221d
Summary: Userspace RDMA Connection Manager
33786c
Requires: libibverbs%{?_isa} = %{version}-%{release}
7c221d
7c221d
%description -n librdmacm
7c221d
librdmacm provides a userspace RDMA Communication Management API.
7c221d
7c221d
%package -n librdmacm-utils
7c221d
Summary: Examples for the librdmacm library
7c221d
Requires: librdmacm%{?_isa} = %{version}-%{release}
33786c
Requires: libibverbs%{?_isa} = %{version}-%{release}
7c221d
7c221d
%description -n librdmacm-utils
7c221d
Example test programs for the librdmacm library.
7c221d
7c221d
%package -n srp_daemon
7c221d
Summary: Tools for using the InfiniBand SRP protocol devices
7c221d
Obsoletes: srptools <= 1.0.3
7c221d
Provides: srptools = %{version}-%{release}
7c221d
Obsoletes: openib-srptools <= 0.0.6
33786c
%{?systemd_requires}
33786c
Requires: libibumad%{?_isa} = %{version}-%{release}
33786c
Requires: libibverbs%{?_isa} = %{version}-%{release}
7c221d
7c221d
%description -n srp_daemon
7c221d
In conjunction with the kernel ib_srp driver, srp_daemon allows you to
7c221d
discover and use SCSI devices via the SCSI RDMA Protocol over InfiniBand.
7c221d
7c221d
%if %{with_pyverbs}
7c221d
%package -n python3-pyverbs
7c221d
Summary: Python3 API over IB verbs
7c221d
%{?python_provide:%python_provide python3-pyverbs}
33786c
Requires: librdmacm%{?_isa} = %{version}-%{release}
33786c
Requires: libibverbs%{?_isa} = %{version}-%{release}
7c221d
7c221d
%description -n python3-pyverbs
7c221d
Pyverbs is a Cython-based Python API over libibverbs, providing an
7c221d
easy, object-oriented access to IB verbs.
7c221d
%endif
7c221d
7c221d
%prep
7c221d
%setup -q
7c221d
%if 0%{?fedora}
7c221d
%patch1 -p1
7c221d
%endif
7c221d
%if 0%{?rhel}
7c221d
%patch2 -p1
7c221d
%endif
7c221d
7c221d
%build
7c221d
7c221d
# New RPM defines _rundir, usually as /run
7c221d
%if 0%{?_rundir:1}
7c221d
%else
7c221d
%define _rundir /var/run
7c221d
%endif
7c221d
7c221d
%{!?EXTRA_CMAKE_FLAGS: %define EXTRA_CMAKE_FLAGS %{nil}}
7c221d
7c221d
# Pass all of the rpm paths directly to GNUInstallDirs and our other defines.
7c221d
%cmake %{CMAKE_FLAGS} \
7c221d
         -DCMAKE_BUILD_TYPE=Release \
7c221d
         -DCMAKE_INSTALL_BINDIR:PATH=%{_bindir} \
7c221d
         -DCMAKE_INSTALL_SBINDIR:PATH=%{_sbindir} \
7c221d
         -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
7c221d
         -DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
7c221d
         -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
7c221d
         -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_sharedstatedir} \
7c221d
         -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
7c221d
         -DCMAKE_INSTALL_INFODIR:PATH=%{_infodir} \
7c221d
         -DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
7c221d
         -DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
7c221d
         -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR:PATH=%{_unitdir} \
7c221d
         -DCMAKE_INSTALL_INITDDIR:PATH=%{_initrddir} \
7c221d
         -DCMAKE_INSTALL_RUNDIR:PATH=%{_rundir} \
7c221d
         -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
7c221d
         -DCMAKE_INSTALL_UDEV_RULESDIR:PATH=%{_udevrulesdir} \
7c221d
         -DCMAKE_INSTALL_PERLDIR:PATH=%{perl_vendorlib} \
33786c
         -DENABLE_IBDIAGS_COMPAT:BOOL=False \
7c221d
%if %{with_static}
7c221d
         -DENABLE_STATIC=1 \
7c221d
%endif
7c221d
         %{EXTRA_CMAKE_FLAGS} \
7c221d
%if %{defined __python3}
7c221d
         -DPYTHON_EXECUTABLE:PATH=%{__python3} \
7c221d
         -DCMAKE_INSTALL_PYTHON_ARCH_LIB:PATH=%{python3_sitearch} \
7c221d
%endif
7c221d
%if %{with_pyverbs}
7c221d
         -DNO_PYVERBS=0
7c221d
%else
7c221d
	 -DNO_PYVERBS=1
7c221d
%endif
7c221d
%make_jobs
7c221d
7c221d
%install
7c221d
%cmake_install
7c221d
7c221d
mkdir -p %{buildroot}/%{_sysconfdir}/rdma
7c221d
7c221d
# Red Hat specific glue
7c221d
%global dracutlibdir %{_prefix}/lib/dracut
7c221d
%global sysmodprobedir %{_prefix}/lib/modprobe.d
7c221d
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
7c221d
mkdir -p %{buildroot}%{_libexecdir}
7c221d
mkdir -p %{buildroot}%{_udevrulesdir}
7c221d
mkdir -p %{buildroot}%{dracutlibdir}/modules.d/05rdma
7c221d
mkdir -p %{buildroot}%{sysmodprobedir}
7c221d
install -D -m0644 redhat/rdma.mlx4.conf %{buildroot}/%{_sysconfdir}/rdma/mlx4.conf
7c221d
install -D -m0755 redhat/rdma.modules-setup.sh %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
7c221d
install -D -m0644 redhat/rdma.mlx4.sys.modprobe %{buildroot}%{sysmodprobedir}/libmlx4.conf
7c221d
install -D -m0755 redhat/rdma.mlx4-setup.sh %{buildroot}%{_libexecdir}/mlx4-setup.sh
7c221d
rm -f %{buildroot}%{_sysconfdir}/rdma/modules/rdma.conf
7c221d
install -D -m0644 redhat/rdma.conf %{buildroot}%{_sysconfdir}/rdma/modules/rdma.conf
7c221d
7c221d
# ibacm
7c221d
(if [ -d %{__cmake_builddir} ]; then cd %{__cmake_builddir}; fi
7c221d
 ./bin/ib_acme -D . -O &&
7c221d
 install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/)
7c221d
7c221d
# Delete the package's init.d scripts
7c221d
rm -rf %{buildroot}/%{_initrddir}/
7c221d
rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
7c221d
33786c
# Remove ibverbs provider libs we don't support
33786c
rm -f %{buildroot}/%{_libdir}/libibverbs/libcxgb3-rdmav*.so
33786c
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/cxgb3.driver
33786c
rm -f %{buildroot}/%{_libdir}/libibverbs/libocrdma-rdmav*.so
33786c
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/ocrdma.driver
33786c
rm -f %{buildroot}/%{_libdir}/libibverbs/libnes-rdmav*.so
33786c
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/nes.driver
33786c
rm -f %{buildroot}/%{_libdir}/libibverbs/libmthca-rdmav*.so
33786c
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/mthca.driver
33786c
rm -f %{buildroot}/%{_libdir}/libibverbs/libipathverbs-rdmav*.so
33786c
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/ipathverbs.driver
33786c
7c221d
%ldconfig_scriptlets -n libibverbs
7c221d
7c221d
%ldconfig_scriptlets -n libibumad
7c221d
7c221d
%ldconfig_scriptlets -n librdmacm
7c221d
7c221d
%post -n rdma-core
7c221d
if [ -x /sbin/udevadm ]; then
7c221d
/sbin/udevadm trigger --subsystem-match=infiniband --action=change || true
7c221d
/sbin/udevadm trigger --subsystem-match=net --action=change || true
7c221d
/sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change || true
7c221d
fi
7c221d
7c221d
%post -n ibacm
7c221d
%systemd_post ibacm.service
7c221d
%preun -n ibacm
7c221d
%systemd_preun ibacm.service
7c221d
%postun -n ibacm
7c221d
%systemd_postun_with_restart ibacm.service
7c221d
7c221d
%post -n srp_daemon
7c221d
%systemd_post srp_daemon.service
7c221d
%preun -n srp_daemon
7c221d
%systemd_preun srp_daemon.service
7c221d
%postun -n srp_daemon
7c221d
%systemd_postun_with_restart srp_daemon.service
7c221d
7c221d
%post -n iwpmd
7c221d
%systemd_post iwpmd.service
7c221d
%preun -n iwpmd
7c221d
%systemd_preun iwpmd.service
7c221d
%postun -n iwpmd
7c221d
%systemd_postun_with_restart iwpmd.service
7c221d
7c221d
%files
7c221d
%dir %{_sysconfdir}/rdma
7c221d
%dir %{_docdir}/%{name}
7c221d
%doc %{_docdir}/%{name}/README.md
7c221d
%doc %{_docdir}/%{name}/rxe.md
7c221d
%doc %{_docdir}/%{name}/udev.md
7c221d
%doc %{_docdir}/%{name}/tag_matching.md
7c221d
%config(noreplace) %{_sysconfdir}/rdma/mlx4.conf
7c221d
%config(noreplace) %{_sysconfdir}/rdma/modules/infiniband.conf
7c221d
%config(noreplace) %{_sysconfdir}/rdma/modules/iwarp.conf
7c221d
%config(noreplace) %{_sysconfdir}/rdma/modules/opa.conf
7c221d
%config(noreplace) %{_sysconfdir}/rdma/modules/rdma.conf
7c221d
%config(noreplace) %{_sysconfdir}/rdma/modules/roce.conf
7c221d
%config(noreplace) %{_sysconfdir}/udev/rules.d/*
7c221d
%dir %{_sysconfdir}/modprobe.d
7c221d
%config(noreplace) %{_sysconfdir}/modprobe.d/mlx4.conf
7c221d
%config(noreplace) %{_sysconfdir}/modprobe.d/truescale.conf
7c221d
%{_unitdir}/rdma-hw.target
7c221d
%{_unitdir}/rdma-load-modules@.service
7c221d
%dir %{dracutlibdir}
7c221d
%dir %{dracutlibdir}/modules.d
7c221d
%dir %{dracutlibdir}/modules.d/05rdma
7c221d
%{dracutlibdir}/modules.d/05rdma/module-setup.sh
7c221d
%dir %{_udevrulesdir}
7c221d
%{_udevrulesdir}/../rdma_rename
7c221d
%{_udevrulesdir}/60-rdma-ndd.rules
7c221d
%{_udevrulesdir}/60-rdma-persistent-naming.rules
7c221d
%{_udevrulesdir}/75-rdma-description.rules
7c221d
%{_udevrulesdir}/90-rdma-hw-modules.rules
7c221d
%{_udevrulesdir}/90-rdma-ulp-modules.rules
7c221d
%{_udevrulesdir}/90-rdma-umad.rules
7c221d
%dir %{sysmodprobedir}
7c221d
%{sysmodprobedir}/libmlx4.conf
7c221d
%{_libexecdir}/mlx4-setup.sh
7c221d
%{_libexecdir}/truescale-serdes.cmds
7c221d
%{_sbindir}/rdma-ndd
7c221d
%{_unitdir}/rdma-ndd.service
7c221d
%{_mandir}/man7/rxe*
7c221d
%{_mandir}/man8/rdma-ndd.*
7c221d
%license COPYING.*
7c221d
7c221d
%files devel
7c221d
%doc %{_docdir}/%{name}/MAINTAINERS
7c221d
%dir %{_includedir}/infiniband
7c221d
%dir %{_includedir}/rdma
7c221d
%{_includedir}/infiniband/*
7c221d
%{_includedir}/rdma/*
7c221d
%if %{with_static}
7c221d
%{_libdir}/lib*.a
7c221d
%endif
7c221d
%{_libdir}/lib*.so
7c221d
%{_libdir}/pkgconfig/*.pc
7c221d
%{_mandir}/man3/efadv*
7c221d
%{_mandir}/man3/ibv_*
7c221d
%{_mandir}/man3/rdma*
7c221d
%{_mandir}/man3/umad*
7c221d
%{_mandir}/man3/*_to_ibv_rate.*
7c221d
%{_mandir}/man7/rdma_cm.*
7c221d
%{_mandir}/man3/mlx5dv*
7c221d
%{_mandir}/man3/mlx4dv*
7c221d
%{_mandir}/man7/efadv*
7c221d
%{_mandir}/man7/mlx5dv*
7c221d
%{_mandir}/man7/mlx4dv*
7c221d
%{_mandir}/man3/ibnd_*
7c221d
7c221d
%files -n infiniband-diags
7c221d
%{_sbindir}/ibaddr
7c221d
%{_mandir}/man8/ibaddr*
7c221d
%{_sbindir}/ibnetdiscover
7c221d
%{_mandir}/man8/ibnetdiscover*
7c221d
%{_sbindir}/ibping
7c221d
%{_mandir}/man8/ibping*
7c221d
%{_sbindir}/ibportstate
7c221d
%{_mandir}/man8/ibportstate*
7c221d
%{_sbindir}/ibroute
7c221d
%{_mandir}/man8/ibroute.*
7c221d
%{_sbindir}/ibstat
7c221d
%{_mandir}/man8/ibstat.*
7c221d
%{_sbindir}/ibsysstat
7c221d
%{_mandir}/man8/ibsysstat*
7c221d
%{_sbindir}/ibtracert
7c221d
%{_mandir}/man8/ibtracert*
7c221d
%{_sbindir}/perfquery
7c221d
%{_mandir}/man8/perfquery*
7c221d
%{_sbindir}/sminfo
7c221d
%{_mandir}/man8/sminfo*
7c221d
%{_sbindir}/smpdump
7c221d
%{_mandir}/man8/smpdump*
7c221d
%{_sbindir}/smpquery
7c221d
%{_mandir}/man8/smpquery*
7c221d
%{_sbindir}/saquery
7c221d
%{_mandir}/man8/saquery*
7c221d
%{_sbindir}/vendstat
7c221d
%{_mandir}/man8/vendstat*
7c221d
%{_sbindir}/iblinkinfo
7c221d
%{_mandir}/man8/iblinkinfo*
7c221d
%{_sbindir}/ibqueryerrors
7c221d
%{_mandir}/man8/ibqueryerrors*
7c221d
%{_sbindir}/ibcacheedit
7c221d
%{_mandir}/man8/ibcacheedit*
7c221d
%{_sbindir}/ibccquery
7c221d
%{_mandir}/man8/ibccquery*
7c221d
%{_sbindir}/ibccconfig
7c221d
%{_mandir}/man8/ibccconfig*
7c221d
%{_sbindir}/dump_fts
7c221d
%{_mandir}/man8/dump_fts*
7c221d
%{_sbindir}/ibhosts
7c221d
%{_mandir}/man8/ibhosts*
7c221d
%{_sbindir}/ibswitches
7c221d
%{_mandir}/man8/ibswitches*
7c221d
%{_sbindir}/ibnodes
7c221d
%{_mandir}/man8/ibnodes*
7c221d
%{_sbindir}/ibrouters
7c221d
%{_mandir}/man8/ibrouters*
7c221d
%{_sbindir}/ibfindnodesusing.pl
7c221d
%{_mandir}/man8/ibfindnodesusing*
7c221d
%{_sbindir}/ibidsverify.pl
7c221d
%{_mandir}/man8/ibidsverify*
7c221d
%{_sbindir}/check_lft_balance.pl
7c221d
%{_mandir}/man8/check_lft_balance*
7c221d
%{_sbindir}/dump_lfts.sh
7c221d
%{_mandir}/man8/dump_lfts*
7c221d
%{_sbindir}/dump_mfts.sh
7c221d
%{_mandir}/man8/dump_mfts*
7c221d
%{_sbindir}/ibstatus
7c221d
%{_mandir}/man8/ibstatus*
7c221d
%{_mandir}/man8/infiniband-diags*
7c221d
%{_libdir}/libibmad*.so.*
7c221d
%{_libdir}/libibnetdisc*.so.*
7c221d
%{perl_vendorlib}/IBswcountlimits.pm
7c221d
%config(noreplace) %{_sysconfdir}/infiniband-diags/error_thresholds
7c221d
%config(noreplace) %{_sysconfdir}/infiniband-diags/ibdiag.conf
7c221d
7c221d
%files -n libibverbs
7c221d
%dir %{_sysconfdir}/libibverbs.d
7c221d
%dir %{_libdir}/libibverbs
7c221d
%{_libdir}/libefa.so.*
7c221d
%{_libdir}/libibverbs*.so.*
7c221d
%{_libdir}/libibverbs/*.so
7c221d
%{_libdir}/libmlx5.so.*
7c221d
%{_libdir}/libmlx4.so.*
7c221d
%config(noreplace) %{_sysconfdir}/libibverbs.d/*.driver
7c221d
%doc %{_docdir}/%{name}/libibverbs.md
7c221d
7c221d
%files -n libibverbs-utils
7c221d
%{_bindir}/ibv_*
7c221d
%{_mandir}/man1/ibv_*
7c221d
7c221d
%files -n ibacm
7c221d
%config(noreplace) %{_sysconfdir}/rdma/ibacm_opts.cfg
7c221d
%{_bindir}/ib_acme
7c221d
%{_sbindir}/ibacm
7c221d
%{_mandir}/man1/ib_acme.*
7c221d
%{_mandir}/man7/ibacm.*
7c221d
%{_mandir}/man7/ibacm_prov.*
7c221d
%{_mandir}/man8/ibacm.*
7c221d
%{_unitdir}/ibacm.service
7c221d
%{_unitdir}/ibacm.socket
7c221d
%dir %{_libdir}/ibacm
7c221d
%{_libdir}/ibacm/*
7c221d
%doc %{_docdir}/%{name}/ibacm.md
7c221d
7c221d
%files -n iwpmd
7c221d
%{_sbindir}/iwpmd
7c221d
%{_unitdir}/iwpmd.service
7c221d
%config(noreplace) %{_sysconfdir}/rdma/modules/iwpmd.conf
7c221d
%config(noreplace) %{_sysconfdir}/iwpmd.conf
7c221d
%{_udevrulesdir}/90-iwpmd.rules
7c221d
%{_mandir}/man8/iwpmd.*
7c221d
%{_mandir}/man5/iwpmd.*
7c221d
7c221d
%files -n libibumad
7c221d
%{_libdir}/libibumad*.so.*
7c221d
7c221d
%files -n librdmacm
7c221d
%{_libdir}/librdmacm*.so.*
7c221d
%dir %{_libdir}/rsocket
7c221d
%{_libdir}/rsocket/*.so*
7c221d
%doc %{_docdir}/%{name}/librdmacm.md
7c221d
%{_mandir}/man7/rsocket.*
7c221d
7c221d
%files -n librdmacm-utils
7c221d
%{_bindir}/cmtime
7c221d
%{_bindir}/mckey
7c221d
%{_bindir}/rcopy
7c221d
%{_bindir}/rdma_client
7c221d
%{_bindir}/rdma_server
7c221d
%{_bindir}/rdma_xclient
7c221d
%{_bindir}/rdma_xserver
7c221d
%{_bindir}/riostream
7c221d
%{_bindir}/rping
7c221d
%{_bindir}/rstream
7c221d
%{_bindir}/ucmatose
7c221d
%{_bindir}/udaddy
7c221d
%{_bindir}/udpong
7c221d
%{_mandir}/man1/cmtime.*
7c221d
%{_mandir}/man1/mckey.*
7c221d
%{_mandir}/man1/rcopy.*
7c221d
%{_mandir}/man1/rdma_client.*
7c221d
%{_mandir}/man1/rdma_server.*
7c221d
%{_mandir}/man1/rdma_xclient.*
7c221d
%{_mandir}/man1/rdma_xserver.*
7c221d
%{_mandir}/man1/riostream.*
7c221d
%{_mandir}/man1/rping.*
7c221d
%{_mandir}/man1/rstream.*
7c221d
%{_mandir}/man1/ucmatose.*
7c221d
%{_mandir}/man1/udaddy.*
7c221d
%{_mandir}/man1/udpong.*
7c221d
7c221d
%files -n srp_daemon
7c221d
%config(noreplace) %{_sysconfdir}/srp_daemon.conf
7c221d
%config(noreplace) %{_sysconfdir}/rdma/modules/srp_daemon.conf
7c221d
%{_libexecdir}/srp_daemon/start_on_all_ports
7c221d
%{_unitdir}/srp_daemon.service
7c221d
%{_unitdir}/srp_daemon_port@.service
7c221d
%{_sbindir}/ibsrpdm
7c221d
%{_sbindir}/srp_daemon
7c221d
%{_sbindir}/run_srp_daemon
7c221d
%{_udevrulesdir}/60-srp_daemon.rules
7c221d
%{_mandir}/man5/srp_daemon.service.5*
7c221d
%{_mandir}/man5/srp_daemon_port@.service.5*
7c221d
%{_mandir}/man8/ibsrpdm.8*
7c221d
%{_mandir}/man8/srp_daemon.8*
7c221d
%doc %{_docdir}/%{name}/ibsrpdm.md
7c221d
7c221d
%if %{with_pyverbs}
7c221d
%files -n python3-pyverbs
7c221d
%{python3_sitearch}/pyverbs
7c221d
%{_docdir}/%{name}/tests/*.py
7c221d
%endif
7c221d
7c221d
%changelog
33786c
* Wed Oct 20 2021 Honggang Li <honli@redhat.com> - 37.1-1
33786c
- Rebase to upstream release v37.1
33786c
- Resolves: rhbz#1994803
33786c
7c221d
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 35.0-3
7c221d
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
7c221d
  Related: rhbz#1991688
7c221d
7c221d
* Wed Jun 16 2021 Honggang Li <honli@redhat.com> - 35.0-2
7c221d
- Bump the version tag and rebuild because of brew system issue
7c221d
- Related: rhbz#1858568
7c221d
7c221d
* Tue May 25 2021 Honggang Li <honli@redhat.com> - 35.0-1
7c221d
- Rebase to upstream release v35.0
7c221d
- Resolves: rhbz#1858568, rhbz#1877133, rhbz#1869457
7c221d
7c221d
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 34.0-4
7c221d
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
7c221d
7c221d
* Tue Mar 30 2021 Pete Walter <pwalter@fedoraproject.org> - 34.0-3
7c221d
- Add self obsoletes to remove i686 multilib package when updating to F34
7c221d
7c221d
* Mon Mar 08 2021 Honggang Li <honli@redhat.com> - 34.0-2
7c221d
- RHEL9 will use prebuild doc
7c221d
7c221d
* Wed Mar 03 2021 Honggang Li <honli@redhat.com> - 34.0-1
7c221d
- Rebase to upstream release v34.0
7c221d
7c221d
* Mon Feb 01 2021 Honggang Li <honli@redhat.com> - 33.0-5
7c221d
- Disable HCA rename for ELN
7c221d
7c221d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 33.0-4
7c221d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
7c221d
7c221d
* Mon Jan 25 2021 Honggang Li <honli@redhat.com> - 33.0-3
7c221d
- Fix ELN build issue
7c221d
7c221d
* Thu Jan 21 2021 Honggang Li <honli@redhat.com> - 33.0-2
7c221d
- libibverbs obsoletes libibverbs-core for fedora-34
7c221d
7c221d
* Mon Jan 18 2021 Honggang Li <honli@redhat.com> - 33.0-1
7c221d
- Rebase to upstream release v33.0
7c221d
7c221d
* Mon Jan 18 2021 Honggang Li <honli@redhat.com> - 32.0-2
7c221d
- Remove base package dependency from all sub-packages
7c221d
- Resolves: bz1901086
7c221d
7c221d
* Thu Oct 29 2020 Honggang Li <honli@redhat.com> - 32.0-1
7c221d
- Rebase to upstream release v32.0
7c221d
7c221d
* Mon Sep 14 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 31.0-2
7c221d
- Split out libibverbs to sub package for libpcap
7c221d
7c221d
* Wed Aug 19 2020 Honggang Li <honli@redhat.com> - 31.0-1
7c221d
- Rebase to upstream release v31.0
7c221d
7c221d
* Thu Jul 30 2020 Honggang Li <honli@redhat.com> - 30.0-6
7c221d
- Update cmake options
7c221d
7c221d
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 30.0-5
7c221d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7c221d
7c221d
* Thu Jul 02 2020 Stephen Gallagher <sgallagh@redhat.com> - 30.0-4
7c221d
- Don't throw script errors if udev is not installed
7c221d
7c221d
* Wed Jul  1 2020 Jeff Law <law@redhat.com> - 30.0-3
7c221d
- Disable LTO
7c221d
7c221d
* Thu Jun 25 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 30.0-2
7c221d
- Drop dependencies on systemd (#1837812)
7c221d
7c221d
* Mon Jun 15 2020 Honggang Li <honli@redhat.com> - 30.0-1
7c221d
- Rebase to upstream release v30.0
7c221d
7c221d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 29.0-2
7c221d
- Rebuilt for Python 3.9
7c221d
7c221d
* Mon Apr 13 2020 Honggang Li <honli@redhat.com> - 29.0-1
7c221d
- Rebase to upstream release v29.0
7c221d
7c221d
* Wed Feb 12 2020 Honggang Li <honli@redhat.com> - 28.0-1
7c221d
- Rebase to upstream release v28.0
7c221d
7c221d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 27.0-4
7c221d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7c221d
7c221d
* Sun Jan 19 2020 Orion Poplawski <orion@nwra.com> - 27.0-3
7c221d
- Fix typo in requires
7c221d
7c221d
* Sun Jan 19 2020 Honggang Li <honli@redhat.com> - 27.0-2
7c221d
- Backport some spec improvement from upstream
7c221d
7c221d
* Thu Dec 12 2019 Honggang Li <honli@redhat.com> - 27.0-1
7c221d
- Rebase to upstream release v27.0
7c221d
7c221d
* Thu Nov 28 2019 Honggang Li <honli@redhat.com> - 26.1-1
7c221d
- Rebase to upstream release v26.1
7c221d
7c221d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20.1-4
7c221d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7c221d
7c221d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20.1-3
7c221d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7c221d
7c221d
* Wed Jan 23 2019 Björn Esser <besser82@fedoraproject.org> - 20.1-2
7c221d
- Append curdir to CMake invokation. (#1668512)
7c221d
7c221d
* Fri Oct 19 2018 Jarod Wilson <jarod@redhat.com> - 20.1-1
7c221d
- Long overdue update to upstream v20.1 stable release
7c221d
7c221d
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 16.2-5
7c221d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7c221d
7c221d
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 16.2-4
7c221d
- Update Python 2 dependency declarations to new packaging standards
7c221d
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
7c221d
7c221d
* Tue Feb 06 2018 Orion Poplawski <orion@nwra.com> - 16.2-3
7c221d
- Build for s390/x
7c221d
7c221d
* Tue Feb 06 2018 Patrick Uiterwijk <patrick@puiterwijk.org> - 16.2-2
7c221d
- Fix escaped macro
7c221d
7c221d
* Sun Feb 04 2018 Doug Ledford <dledford@redhat.com> - 16.2-1
7c221d
- Update to rdma-core-16.2
7c221d
- Drop the old sysv initscript files
7c221d
7c221d
* Wed Aug 09 2017 Jarod Wilson <jarod@redhat.com> - 14-4
7c221d
- Make use of systemd_requires, own srp_daemon dir
7c221d
7c221d
* Tue Aug 01 2017 Jarod Wilson <jarod@redhat.com> - 14-3
7c221d
- Revert work-around for ppc64le library issues
7c221d
- Add Obsoletes/Provides for libusnic_verbs
7c221d
7c221d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 14-2
7c221d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7c221d
7c221d
* Tue Jul 25 2017 Jarod Wilson <jarod@redhat.com> - 14-1
7c221d
- Update to upstream v14 release
7c221d
- Sync packaging updates from RHEL and upstream
7c221d
7c221d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 12-2
7c221d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7c221d
7c221d
* Fri Jan 27 2017 Jarod Wilson <jarod@redhat.com> - 12-1
7c221d
- Update to upstream final v12 release
7c221d
7c221d
* Wed Jan 25 2017 Jarod Wilson <jarod@redhat.com> - 12-0.1.rc3.1
7c221d
- Initial import to Fedora package database via post-v12-rc3 git snapshot