Blame SPECS/libfabric.spec

4f6ec2
%global __remake_config 1
4f6ec2
4f6ec2
# LTO is running out of memory when building on x86_64
4f6ec2
%ifarch x86_64
4f6ec2
%global _lto_cflags %{nil}
4f6ec2
%endif
4f6ec2
359a09
Name:           libfabric
4f6ec2
Version:        1.15.1
359a09
Release:        1%{?dist}
359a09
Summary:        Open Fabric Interfaces
359a09
359a09
License:        BSD or GPLv2
398a12
URL:            https://github.com/ofiwg/libfabric
ef5cad
Source0:        https://github.com/ofiwg/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
359a09
4f6ec2
%if %{__remake_config}
4f6ec2
BuildRequires:  automake
4f6ec2
BuildRequires:  autoconf
4f6ec2
BuildRequires:  libtool
4f6ec2
%endif
4f6ec2
BuildRequires: make
9233b1
BuildRequires:  gcc
359a09
BuildRequires:  libnl3-devel
359a09
# RDMA not available on 32-bit ARM: #1484155
359a09
%ifnarch %{arm}
359a09
BuildRequires:  libibverbs-devel
359a09
BuildRequires:  librdmacm-devel
359a09
%endif
359a09
%ifarch x86_64
4f6ec2
%if 0%{?fedora} || 0%{?rhel} == 7
359a09
BuildRequires:  infinipath-psm-devel
359a09
%endif
4f6ec2
%if 0%{?fedora} || 0%{?rhel} >= 7
359a09
BuildRequires:  libpsm2-devel
359a09
%endif
ef5cad
BuildRequires:  numactl-devel
359a09
%endif
359a09
359a09
%description
359a09
OpenFabrics Interfaces (OFI) is a framework focused on exporting fabric
359a09
communication services to applications.  OFI is best described as a collection
359a09
of libraries and applications used to export fabric services.  The key
359a09
components of OFI are: application interfaces, provider libraries, kernel
359a09
services, daemons, and test applications.
359a09
359a09
Libfabric is a core component of OFI.  It is the library that defines and
359a09
exports the user-space API of OFI, and is typically the only software that
359a09
applications deal with directly.  It works in conjunction with provider
359a09
libraries, which are often integrated directly into libfabric.
359a09
359a09
359a09
%package        devel
359a09
Summary:        Development files for %{name}
359a09
Requires:       %{name}%{?_isa} = %{version}-%{release}
359a09
359a09
%description    devel
359a09
The %{name}-devel package contains libraries and header files for
359a09
developing applications that use %{name}.
359a09
359a09
359a09
%prep
4f6ec2
%setup -q -n %{name}-%{version}
359a09
359a09
%build
4f6ec2
%if %{__remake_config}
4f6ec2
./autogen.sh
4f6ec2
%endif
359a09
%configure --disable-static --disable-silent-rules
359a09
%make_build
359a09
359a09
359a09
%install
359a09
%make_install
359a09
find %{buildroot} -name '*.la' -exec rm -f {} ';'
359a09
359a09
359a09
%post -p /sbin/ldconfig
359a09
359a09
%postun -p /sbin/ldconfig
359a09
359a09
359a09
%files
359a09
%license COPYING
359a09
%{_bindir}/fi_info
359a09
%{_bindir}/fi_pingpong
359a09
%{_bindir}/fi_strerror
359a09
%{_libdir}/*.so.1*
359a09
%{_mandir}/man1/*.1*
359a09
359a09
%files devel
359a09
%license COPYING
359a09
%doc AUTHORS README
359a09
# We knowingly share this with kernel-headers and librdmacm-devel
359a09
# https://github.com/ofiwg/libfabric/issues/1277
359a09
%{_includedir}/rdma/
359a09
%{_libdir}/*.so
359a09
%{_libdir}/pkgconfig/%{name}.pc
359a09
%{_mandir}/man3/*.3*
359a09
%{_mandir}/man7/*.7*
359a09
359a09
359a09
%changelog
4f6ec2
* Wed Aug 17 2022 Michal Schmidt <mschmidt@redhat.com> - 1.15.1-1
4f6ec2
- Update to upstream release 1.15.1
4f6ec2
- Disable LTO on x86_64 due to memory issues (copied from Fedora)
4f6ec2
- Resolves: rhbz#2040450
4f6ec2
5125a4
* Thu Nov 25 2021 Honggang Li <honli@redhat.com> - 1.14.0-1
5125a4
- Rebase to upstream release v1.14.0
5125a4
- Resolves: bz1970601
5125a4
ef5cad
* Thu May 13 2021 Honggang Li <honli@redhat.com> - 1.12.1-1
ef5cad
- Rebase to upstream release v1.12.1
ef5cad
- Enable psm3 support
ef5cad
- Resolves: bz1921238
ef5cad
398a12
* Tue Dec 22 2020 Honggang Li <honli@redhat.com> - 1.11.2-1
398a12
- Rebase to upstream release v1.11.2
398a12
- Fix "shm" segfault issue
398a12
- Resolves: bz1904291
398a12
398a12
* Tue Nov 17 2020 Honggang Li <honli@redhat.com> - 1.11.1-1
398a12
- Rebase to upstream release v1.11.1
398a12
- EFA Support requires libfabric
398a12
- Resolves: bz1831145, bz1852636
398a12
9233b1
* Sat Apr 25 2020 Honggang Li <honli@redhat.com> - 1.10.0-1
9233b1
- Rebase to upstream release v1.10.0
9233b1
- Resolves: bz1739283
9233b1
497756
* Tue Nov 05 2019 Honggang Li <honli@redhat.com> - 1.9.0rc1-1
497756
- Rebase to upstream release v1.9.0rc1
497756
- Resolves: bz1719678
497756
497756
* Wed Aug 14 2019 Honggang Li <honli@redhat.com> - 1.8.0-2
497756
- Fix segment fault issue for linux container
497756
- Resolves: bz1731749
497756
497756
* Fri Jul 12 2019 Honggang Li <honli@redhat.com> - 1.8.0-1
497756
- Rebase to upstream release v1.8.0
497756
- Resolves: bz1660621
497756
359a09
* Mon Dec 10 2018 Honggang Li <honli@redhat.com> - 1.6.2-1
359a09
- Rebase to upstream release v1.6.2
359a09
- Resolves: bz1654870
359a09
359a09
* Mon Oct  8 2018 Honggang Li <honli@redhat.com> - 1.6.1-3
359a09
- Revert a psm2 commit to avoid sporadic assertion failures
359a09
- Resolves: bz1627981
359a09
359a09
* Sun Jul  1 2018 Honggang Li <honli@redhat.com> - 1.6.1-2
359a09
- No longer support infinipath-psm
359a09
359a09
* Fri Jun 22 2018 Honggang Li <honli@redhat.com> - 1.6.1-1
359a09
- Rebase to latest upstream release 1.6.1
359a09
- Resolves: bz1550404
359a09
359a09
* Thu Mar 15 2018 Orion Poplawski <orion@nwra.com> - 1.6.0-1
359a09
- Update to 1.6.0
359a09
359a09
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-6
359a09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
359a09
359a09
* Wed Aug 23 2017 Adam Williamson <awilliam@redhat.com> - 1.4.2-5
359a09
- Disable RDMA support on 32-bit ARM (#1484155)
359a09
359a09
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-4
359a09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
359a09
359a09
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 1.4.2-3
359a09
- Rebuild with binutils fix for ppc64le (#1475636)
359a09
359a09
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
359a09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
359a09
359a09
* Wed Jul 11 2017 Orion Poplawski <orion@cora.nwra.com> - 1.4.2-1
359a09
- Update to 1.4.2
359a09
359a09
* Mon Apr 10 2017 Orion Poplawski <orion@cora.nwra.com> - 1.4.1-1
359a09
- Update to 1.4.1
359a09
359a09
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
359a09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
359a09
359a09
* Thu Nov 3 2016 Orion Poplawski <orion@cora.nwra.com> - 1.4.0-1
359a09
- Update to 1.4.0
359a09
359a09
* Thu Jul 21 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.0-3
359a09
- Rebuild for aarch64 glibc update
359a09
359a09
* Tue May 31 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.0-2
359a09
- Use psm/psm2 if possible on Fedora (bug #1340988)
359a09
359a09
* Tue Apr 12 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.0-1
359a09
- Update to 1.3.0
359a09
359a09
* Wed Mar 9 2016 Orion Poplawski <orion@cora.nwra.com> - 1.2.0-1
359a09
- Update to 1.2.0
359a09
- Use psm/psm2 if possible on EL
359a09
- Add upstream patch to fix non-x86 builds
359a09
359a09
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
359a09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
359a09
359a09
* Wed Aug 26 2015 Orion Poplawski <orion@cora.nwra.com> - 1.1.0-1
359a09
- Update to 1.1.0
359a09
359a09
* Mon Jul 20 2015 Orion Poplawski <orion@cora.nwra.com> - 1.0.0-1
359a09
- Initial package