]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/ofed/libsdp/libsdp.spec.in
Remove all expected failures from lib/libc/locale/io_test for FreeBSD
[FreeBSD/FreeBSD.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}, logrotate
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 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
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
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
54
55 %files devel
56 %defattr(0644,root,root,-)
57 %{_libdir}/libsdp*.so
58
59 %changelog
60 * Sun Jul 22 2007 Vladimir Sokolovsky <vlad@mellanox.co.il>
61 - Initial packaging