diff --git a/.librdmacm.metadata b/.librdmacm.metadata new file mode 100644 index 0000000..092c878 --- /dev/null +++ b/.librdmacm.metadata @@ -0,0 +1 @@ +26d2fa49a0004be401de15603cb7e8f347825644 SOURCES/librdmacm-1.0.17.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +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/librdmacm.spec b/SPECS/librdmacm.spec new file mode 100644 index 0000000..87c3142 --- /dev/null +++ b/SPECS/librdmacm.spec @@ -0,0 +1,137 @@ +Name: librdmacm +Version: 1.0.17 +Release: 1%{?dist} +Summary: Userspace RDMA Connection Manager +Group: System Environment/Libraries +License: GPLv2 or BSD +Url: http://www.openfabrics.org/ +Source: http://www.openfabrics.org/downloads/rdmacm/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +ExcludeArch: s390 s390x +BuildRequires: libibverbs-devel > 1.1.4, chrpath, libtool, autoconf + +%description +librdmacm provides a userspace RDMA Communication Managment API. + +%package devel +Summary: Development files for the librdmacm library +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} libibverbs-devel%{?_isa} + +%description devel +Development files for the librdmacm library. + +%package static +Summary: Static development files for the librdmacm library +Group: System Environment/Libraries + +%description static +Static libraries for the librdmacm library. + +%package utils +Summary: Examples for the librdmacm library +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description utils +Example test programs for the librdmacm library. + +%prep +%setup -q + +%build +%configure LDFLAGS=-lpthread +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} CFLAGS="$CXXFLAGS -fno-strict-aliasing" LDFLAGS="-lpthread" + +%install +rm -rf %{buildroot} +%makeinstall +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_libdir}/*.la +rm -f %{buildroot}%{_libdir}/rsocket/*.la +# kill rpaths +chrpath -d %{buildroot}%{_bindir}/* + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/librdmacm*.so.* +%{_libdir}/rsocket/*.so.* +%doc AUTHORS COPYING README + +%files devel +%defattr(-,root,root) +%{_libdir}/lib*.so +%{_libdir}/rsocket/lib*.so +%{_includedir}/* +%{_mandir}/man3/* +%{_mandir}/man7/* + +%files static +%defattr(-,root,root,-) +%{_libdir}/*.a +%{_libdir}/rsocket/*.a + +%files utils +%defattr(-,root,root,-) +%{_bindir}/* +%{_mandir}/man1/* + +%changelog +* Mon Mar 25 2013 Doug Ledford - 1.0.17-1 +- Grab actual upstream release 1.0.17 now that it's available + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.17-0.gitc6bfc1c.1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Dec 06 2012 Doug Ledford - 1.0.17-0.gitc6bfc1c.1 +- Update to upstream git repo version to pick up fix for CVE-2012-4516 +- Resolves: bz865510 + +* Thu Jul 19 2012 Fedora Release Engineering - 1.0.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jan 03 2012 Doug Ledford - 1.0.15-1 +- Update to latest upstream tarball +- Add in latest git commits as patches + +* Wed Jul 20 2011 Doug Ledford - 1.0.14.1-1 +- Update to latest upstream release +- Rebuild against latest libibverbs + +* Tue Feb 08 2011 Fedora Release Engineering - 1.0.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Feb 19 2010 Doug Ledford - 1.0.10-3 +- Fix up link problem caused by change to default DSO linking (bz564870) + +* Mon Jan 11 2010 Doug Ledford - 1.0.10-2 +- ExcludeArch s390(x) as the hardware doesn't exist there + +* Thu Dec 03 2009 Doug Ledford - 1.0.10-1 +- Update to latest upstream release +- Change Requires on -devel package (bz533937) + +* Sat Jul 25 2009 Fedora Release Engineering - 1.0.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 1.0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Mar 29 2008 Roland Dreier - 1.0.7-1 +- New upstream release + +* Fri Feb 22 2008 Roland Dreier - 1.0.6-2 +- Spec file cleanups from Fedora review: add BuildRequires for + libibverbs, and move the static library to -static. + +* Fri Feb 15 2008 Roland Dreier - 1.0.6-1 +- Initial Fedora spec file +