109 lines
2.9 KiB
RPMSpec
109 lines
2.9 KiB
RPMSpec
Name: libfabric
|
|
Version: 1.4.0
|
|
Release: 1%{?dist}
|
|
Summary: Open Fabric Interfaces
|
|
|
|
License: BSD or GPLv2
|
|
URL: http://ofiwg.github.io/libfabric/
|
|
Source0: https://github.com/ofiwg/libfabric/releases/download/v%{version}/libfabric-%{version}.tar.bz2
|
|
|
|
BuildRequires: libibverbs-devel
|
|
BuildRequires: libnl3-devel
|
|
BuildRequires: librdmacm-devel
|
|
%ifarch x86_64
|
|
%if 0%{?fedora} || 0%{?rhel} >= 6
|
|
BuildRequires: infinipath-psm-devel
|
|
%endif
|
|
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 7
|
|
BuildRequires: libpsm2-devel
|
|
%endif
|
|
%endif
|
|
|
|
%description
|
|
OpenFabrics Interfaces (OFI) is a framework focused on exporting fabric
|
|
communication services to applications. OFI is best described as a collection
|
|
of libraries and applications used to export fabric services. The key
|
|
components of OFI are: application interfaces, provider libraries, kernel
|
|
services, daemons, and test applications.
|
|
|
|
Libfabric is a core component of OFI. It is the library that defines and
|
|
exports the user-space API of OFI, and is typically the only software that
|
|
applications deal with directly. It works in conjunction with provider
|
|
libraries, which are often integrated directly into libfabric.
|
|
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure --disable-static --disable-silent-rules
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%license COPYING
|
|
%{_bindir}/fi_info
|
|
%{_bindir}/fi_pingpong
|
|
%{_bindir}/fi_strerror
|
|
%{_libdir}/*.so.1*
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%files devel
|
|
%license COPYING
|
|
%doc AUTHORS README
|
|
# We knowingly share this with kernel-headers and librdmacm-devel
|
|
# https://github.com/ofiwg/libfabric/issues/1277
|
|
%{_includedir}/rdma/
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
%{_mandir}/man3/*.3*
|
|
%{_mandir}/man7/*.7*
|
|
|
|
|
|
%changelog
|
|
* Thu Nov 3 2016 Orion Poplawski <orion@cora.nwra.com> - 1.4.0-1
|
|
- Update to 1.4.0
|
|
|
|
* Thu Jul 21 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.0-3
|
|
- Rebuild for aarch64 glibc update
|
|
|
|
* Tue May 31 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.0-2
|
|
- Use psm/psm2 if possible on Fedora (bug #1340988)
|
|
|
|
* Tue Apr 12 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.0-1
|
|
- Update to 1.3.0
|
|
|
|
* Wed Mar 9 2016 Orion Poplawski <orion@cora.nwra.com> - 1.2.0-1
|
|
- Update to 1.2.0
|
|
- Use psm/psm2 if possible on EL
|
|
- Add upstream patch to fix non-x86 builds
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Wed Aug 26 2015 Orion Poplawski <orion@cora.nwra.com> - 1.1.0-1
|
|
- Update to 1.1.0
|
|
|
|
* Mon Jul 20 2015 Orion Poplawski <orion@cora.nwra.com> - 1.0.0-1
|
|
- Initial package
|