diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f890f10 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libfabric-1.1.0.tar.bz2 diff --git a/.libfabric.metadata b/.libfabric.metadata new file mode 100644 index 0000000..2277e1d --- /dev/null +++ b/.libfabric.metadata @@ -0,0 +1 @@ +bb1fb6351e23bdc704572f53de78e3be38afd016 SOURCES/libfabric-1.1.0.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/libfabric.spec b/SPECS/libfabric.spec new file mode 100644 index 0000000..e5f56fe --- /dev/null +++ b/SPECS/libfabric.spec @@ -0,0 +1,97 @@ +Name: libfabric +Version: 1.1.0 +Release: 2%{?dist} +Summary: User-space RDMA Fabric Interfaces +Group: System Environment/Libraries +License: GPLv2 or BSD +Url: http://www.github.com/ofiwg/libfabric +Source: https://www.openfabrics.org/downloads/ofi/%{name}-%{version}.tar.bz2 + +BuildRequires: librdmacm-devel +BuildRequires: libibverbs-devel +BuildRequires: libnl3-devel +# infinipath-psm-devel only available for x86_64 +%ifarch x86_64 +BuildRequires: infinipath-psm-devel +%endif +# valgrind is unavailable for s390 +%ifnarch s390 +BuildRequires: valgrind-devel +%endif + +%ifarch x86_64 +%global configopts --enable-sockets --enable-verbs --enable-usnic --disable-static --enable-psm +%else +%global configopts --enable-sockets --enable-verbs --enable-usnic --disable-static +%endif + +%description +libfabric provides a user-space API to access high-performance fabric +services, such as RDMA. + +%package devel +Summary: Development files for the libfabric library +Group: System Environment/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Development files for the libfabric library. + +%prep +%setup -q + +%build +# defaults: with-dlopen can be over-rode: +%configure %{?_without_dlopen} %{configopts} \ +%ifnarch s390 + --with-valgrind +%endif + +make %{?_smp_mflags} + +%install +%make_install +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_libdir}/*.la + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%{_libdir}/libfabric.so.* +%{_bindir}/fi_info +%dir %{_libdir}/libfabric/ +%doc AUTHORS COPYING README + +%files devel +%{_libdir}/libfabric.so +%{_includedir}/* +%{_mandir}/man3/* +%{_mandir}/man7/* + +%changelog +* Wed Sep 30 2015 Doug Ledford - 1.1.0-2 +- Rebuild against libnl3 now that the UD RoCE bug is fixed +- Related: bz1261028 + +* Fri Aug 14 2015 Honggang Li - 1.1.0-1 +- Rebase to upstream 1.1.0 +- Resolves: bz1253381 + +* Fri Aug 07 2015 Michal Schmidt - 1.1.0-0.2.rc4 +- Packaging Guidelines conformance fixes and spec file cleanups +- Related: bz1235266 + +* Thu Aug 6 2015 Honggang Li - 1.1.0-0.1.rc4 +- fix N-V-R issue and disable static library +- Related: bz1235266 + +* Tue Aug 4 2015 Honggang Li - 1.1.0rc4 +- Initial build for RHEL-7.2 +- Related: bz1235266 + +* Fri Jun 26 2015 Open Fabrics Interfaces Working Group 1.1.0rc1 +- Release 1.1.0rc1 + +* Sun May 3 2015 Open Fabrics Interfaces Working Group 1.0.0 +- Release 1.0.0