2 Summary: LD_PRELOAD-able library for using SDP
7 Group: System Environment/Libraries
8 BuildRoot: %{_tmppath}/%{name}-%{version}-root
9 Source: http://www.openfabrics.org/downloads/%{name}-%{version}.tar.gz
10 Url: http://www.openfabrics.org/
13 libsdp can be LD_PRELOAD-ed to have a sockets application use
14 InfiniBand Sockets Direct Protocol (SDP) instead of TCP, transparently
15 and without recompiling the application.
18 Summary: Development files for the libsdp
19 Group: System Environment/Libraries
20 Requires: %{name} = %{version}-%{release}, logrotate
23 Development files of libsdp that may be linked directly to an
24 application, which may be useful for debugging.
34 etc=$RPM_BUILD_ROOT%{_sysconfdir}
35 make DESTDIR=${RPM_BUILD_ROOT} install
36 # remove unpackaged files from the buildroot
37 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
38 mkdir -p $etc/logrotate.d
39 install -m 644 scripts/libsdp.logrotate $etc/logrotate.d/libsdp
42 rm -rf $RPM_BUILD_ROOT
45 # For set-user-ID/set-group-ID ELF binaries, only libraries in the standard search directories that are also set-user-ID
46 # To do so, change line below to: %defattr(6644,root,root)
47 %defattr(0644,root,root)
48 %{_libdir}/libsdp*.so*
49 %defattr(0644,root,root)
50 %config(noreplace) %{_sysconfdir}/libsdp.conf
51 %config(noreplace) %{_includedir}/linux/sdp_inet.h
52 %doc README NEWS ChangeLog COPYING
53 %config(noreplace) %{_sysconfdir}/logrotate.d/libsdp
56 %defattr(0644,root,root,-)
60 * Sun Jul 22 2007 Vladimir Sokolovsky <vlad@mellanox.co.il>