diff --git a/.gitignore b/.gitignore index e69de29..1bd9855 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libfabric-1.1.0.tar.bz2 diff --git a/libfabric.spec b/libfabric.spec new file mode 100644 index 0000000..508a5f5 --- /dev/null +++ b/libfabric.spec @@ -0,0 +1,77 @@ +Name: libfabric +Version: 1.1.0 +Release: 1%{?dist} +Summary: Open Fabric Interfaces + +License: BSD or GPLv2 +URL: http://ofiwg.github.io/libfabric/ +Source0: http://downloads.openfabrics.org/downloads/ofi/libfabric-%{version}.tar.bz2 + +BuildRequires: libibverbs-devel +BuildRequires: libnl3-devel +BuildRequires: librdmacm-devel + +%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 +%{!?_licensedir:%global license %%doc} +%license COPYING +%{_bindir}/fi_info +%{_libdir}/*.so.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 +%{_mandir}/man3/*.3* +%{_mandir}/man7/*.7* + + +%changelog +* Wed Aug 26 2015 Orion Poplawski - 1.1.0-1 +- Update to 1.1.0 + +* Mon Jul 20 2015 Orion Poplawski - 1.0.0-1 +- Initial package diff --git a/sources b/sources index e69de29..9d6496a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +05a175680a2747728e1f255e57052a3c libfabric-1.1.0.tar.bz2