libsdp.spec.in revision 219820
1 2Summary: LD_PRELOAD-able library for using SDP 3Name: libsdp 4Version: @VERSION@ 5Release: 1%{?dist} 6License: GPL/BSD 7Group: System Environment/Libraries 8BuildRoot: %{_tmppath}/%{name}-%{version}-root 9Source: http://www.openfabrics.org/downloads/%{name}-%{version}.tar.gz 10Url: http://www.openfabrics.org/ 11 12%description 13libsdp can be LD_PRELOAD-ed to have a sockets application use 14InfiniBand Sockets Direct Protocol (SDP) instead of TCP, transparently 15and without recompiling the application. 16 17%package devel 18Summary: Development files for the libsdp 19Group: System Environment/Libraries 20Requires: %{name} = %{version}-%{release} 21 22%description devel 23Development files of libsdp that may be linked directly to an 24application, which may be useful for debugging. 25 26%prep 27%setup -q 28 29%build 30%configure 31make 32 33%install 34make DESTDIR=${RPM_BUILD_ROOT} install 35# remove unpackaged files from the buildroot 36rm -f $RPM_BUILD_ROOT%{_libdir}/*.la 37 38%clean 39rm -rf $RPM_BUILD_ROOT 40 41%files 42%defattr(6644,root,root) 43%{_libdir}/libsdp*.so* 44%defattr(0644,root,root) 45%config(noreplace) %{_sysconfdir}/libsdp.conf 46%config(noreplace) %{_includedir}/linux/sdp_inet.h 47%doc README NEWS ChangeLog COPYING 48 49%files devel 50%defattr(6644,root,root,-) 51%{_libdir}/libsdp*.so 52 53%changelog 54* Sun Jul 22 2007 Vladimir Sokolovsky <vlad@mellanox.co.il> 55- Initial packaging 56