]> git.pld-linux.org Git - SPECS.git/blob - libsdp.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / libsdp.spec
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
3 Name:           libsdp
4 # 1.1.107 release is broken (undefined __sdp_sockaddr_to_sdp symbol)
5 Version:        1.1.108
6 %define snap    20110515
7 %define subver  0.17
8 %define gitref  ga6958ef
9 Release:        %{subver}.%{snap}.1
10 License:        BSD or GPL v2
11 Group:          Libraries
12 Source0:        https://www.openfabrics.org/downloads/libsdp/%{name}-%{version}-%{subver}.%{gitref}.tar.gz
13 # Source0-md5:  badedec1a5f310247e22fb686ddaeb67
14 URL:            http://openib.org/
15 BuildRequires:  bison
16 BuildRequires:  flex
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %undefine       __cxx
20
21 %description
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.
25
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.
31
32 %package devel
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
37
38 %description devel
39 Header file with SDP sockets definitions.
40
41 %description devel -l pl.UTF-8
42 Plik nagłówkowy z definicjami gniazd SDP.
43
44 %prep
45 %setup -q
46
47 %build
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 # let's LD_PRELOAD by soname
58 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsdp*.{so,la}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post   -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
65
66 %files
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
71 %ifarch %{ix86}
72 %attr(755,root,root) %{_libdir}/libsdp_sys.so.*.*.*
73 %attr(755,root,root) %ghost %{_libdir}/libsdp_sys.so.1
74 %endif
75 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libsdp.conf
76
77 %files devel
78 %defattr(644,root,root,755)
79 %{_includedir}/linux/sdp_inet.h
This page took 0.100256 seconds and 3 git commands to generate.