1 Summary: User level socket switch for seamless migration to SDP
2 Summary(pl.UTF-8): Przełącznik gniazd na poziomie użytkownika do przezroczystej migracji na SDP
4 # 1.1.107 release is broken (undefined __sdp_sockaddr_to_sdp symbol)
8 %define gitref ga6958ef
9 Release: %{subver}.%{snap}.1
10 License: BSD or GPL v2
12 Source0: https://www.openfabrics.org/downloads/libsdp/%{name}-%{version}-%{subver}.%{gitref}.tar.gz
13 # Source0-md5: badedec1a5f310247e22fb686ddaeb67
14 URL: http://openib.org/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 libsdp is a LD_PRELOAD-able library that can be used to migrate
23 existing applications use InfiniBand Sockets Direct Protocol (SDP)
24 instead of TCP sockets, transparently and without recompilations.
26 %description -l pl.UTF-8
27 libsdp to ładowana przez LD_PRELOAD biblioteka, którą można
28 wykorzystać przy migrowaniu istniejących aplikacji, aby używały
29 protokołu InfiniBand SDP (Sockets Direct Protocol) zamiast gniazd
30 TCP - w sposób przezroczysty, bez rekompilacji.
33 Summary: Header file with SDP sockets definitions
34 Summary(pl.UTF-8): Plik nagłówkowy z definicjami gniazd SDP
35 Group: Development/Libraries
36 Requires: linux-libc-headers
39 Header file with SDP sockets definitions.
41 %description devel -l pl.UTF-8
42 Plik nagłówkowy z definicjami gniazd SDP.
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
57 # let's LD_PRELOAD by soname
58 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsdp*.{so,la}
61 rm -rf $RPM_BUILD_ROOT
63 %post -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
67 %defattr(644,root,root,755)
68 %doc COPYING ChangeLog NEWS README
69 %attr(755,root,root) %{_libdir}/libsdp.so.*.*.*
70 %attr(755,root,root) %ghost %{_libdir}/libsdp.so.1
72 %attr(755,root,root) %{_libdir}/libsdp_sys.so.*.*.*
73 %attr(755,root,root) %ghost %{_libdir}/libsdp_sys.so.1
75 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libsdp.conf
78 %defattr(644,root,root,755)
79 %{_includedir}/linux/sdp_inet.h