]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/libsdp/libsdp.spec.in
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / libsdp / libsdp.spec.in
1
2 Summary: LD_PRELOAD-able library for using SDP
3 Name: libsdp
4 Version: @VERSION@
5 Release: 1%{?dist}
6 License: GPL/BSD
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/
11
12 %description
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.
16
17 %package devel
18 Summary: Development files for the libsdp
19 Group: System Environment/Libraries
20 Requires: %{name} = %{version}-%{release}
21
22 %description devel
23 Development files of libsdp that may be linked directly to an
24 application, which may be useful for debugging.
25
26 %prep
27 %setup -q
28
29 %build
30 %configure
31 make
32
33 %install
34 make DESTDIR=${RPM_BUILD_ROOT} install
35 # remove unpackaged files from the buildroot
36 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
37
38 %clean
39 rm -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