1219820Sjeff%define ver 1.0.11 2219820Sjeff 3219820SjeffName: librdmacm 4219820SjeffVersion: 1.0.11 5219820SjeffRelease: 1%{?dist} 6219820SjeffSummary: Userspace RDMA Connection Manager 7219820Sjeff 8219820SjeffGroup: System Environment/Libraries 9219820SjeffLicense: GPLv2 or BSD 10219820SjeffUrl: http://www.openfabrics.org/ 11219820SjeffSource: http://www.openfabrics.org/downloads/rdmacm/%{name}-%{version}.tar.gz 12219820SjeffBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 13219820Sjeff 14219820SjeffBuildRequires: libibverbs-devel >= 1.1-1 15219820Sjeff 16219820Sjeff%description 17219820Sjefflibrdmacm provides a userspace RDMA Communication Managment API. 18219820Sjeff 19219820Sjeff%package devel 20219820SjeffSummary: Development files for the librdmacm library 21219820SjeffGroup: System Environment/Libraries 22219820SjeffRequires: %{name} = %{version}-%{release} %{_includedir}/infiniband/verbs.h 23219820Sjeff 24219820Sjeff%description devel 25219820SjeffDevelopment files for the librdmacm library. 26219820Sjeff 27219820Sjeff%package utils 28219820SjeffSummary: Examples for the librdmacm library 29219820SjeffGroup: System Environment/Libraries 30219820SjeffRequires: %{name} = %{version}-%{release} 31219820Sjeff 32219820Sjeff%description utils 33219820SjeffExample test programs for the librdmacm library. 34219820Sjeff 35219820Sjeff%prep 36219820Sjeff%setup -q -n %{name}-%{ver} 37219820Sjeff 38219820Sjeff%build 39219820Sjeff%configure 40219820Sjeffmake %{?_smp_mflags} 41219820Sjeff 42219820Sjeff%install 43219820Sjeffrm -rf $RPM_BUILD_ROOT 44219820Sjeff%makeinstall 45219820Sjeff# remove unpackaged files from the buildroot 46219820Sjeffrm -f $RPM_BUILD_ROOT%{_libdir}/*.la 47219820Sjeff 48219820Sjeff%clean 49219820Sjeffrm -rf $RPM_BUILD_ROOT 50219820Sjeff 51219820Sjeff%post -p /sbin/ldconfig 52219820Sjeff%postun -p /sbin/ldconfig 53219820Sjeff 54219820Sjeff%files 55219820Sjeff%defattr(-,root,root,-) 56219820Sjeff%{_libdir}/librdmacm*.so.* 57219820Sjeff%doc AUTHORS COPYING README 58219820Sjeff 59219820Sjeff%files devel 60219820Sjeff%defattr(-,root,root) 61219820Sjeff%{_libdir}/lib*.so 62219820Sjeff%{_libdir}/*.a 63219820Sjeff%{_includedir}/* 64219820Sjeff%{_mandir}/man3/* 65219820Sjeff%{_mandir}/man7/* 66219820Sjeff 67219820Sjeff%files utils 68219820Sjeff%defattr(-,root,root,-) 69219820Sjeff%{_bindir}/* 70219820Sjeff%{_mandir}/man1/* 71219820Sjeff 72219820Sjeff%changelog 73219820Sjeff 74219820Sjeff* Fri Feb 15 2008 Roland Dreier <rdreier@cisco.com> - 1.0.6-1 75219820Sjeff- Initial Fedora spec file 76