fc064a5e78
The only relevant change here is the support for IPv6 in the config file. The previous version of this supported IPv6 but not in the config. The change for that ended up removing __sdp_sockaddr_to_sdp which the IPV4 config code required; the IPv6 fix resolved the lack of that symbol. Note that the ChangeLog was lacking entries for which we already had the changes for, which itself was an upstream bug. Obtained from: https://www.openfabrics.org/downloads/libsdp/libsdp-1.1.108-0.17.ga6958ef.tar.gz Sponsored by: EMC / Isilon Storage Division
62 lines
1.7 KiB
RPMSpec
62 lines
1.7 KiB
RPMSpec
|
|
Summary: LD_PRELOAD-able library for using SDP
|
|
Name: libsdp
|
|
Version: @VERSION@
|
|
Release: 1%{?dist}
|
|
License: GPL/BSD
|
|
Group: System Environment/Libraries
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Source: http://www.openfabrics.org/downloads/%{name}-%{version}.tar.gz
|
|
Url: http://www.openfabrics.org/
|
|
|
|
%description
|
|
libsdp can be LD_PRELOAD-ed to have a sockets application use
|
|
InfiniBand Sockets Direct Protocol (SDP) instead of TCP, transparently
|
|
and without recompiling the application.
|
|
|
|
%package devel
|
|
Summary: Development files for the libsdp
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}, logrotate
|
|
|
|
%description devel
|
|
Development files of libsdp that may be linked directly to an
|
|
application, which may be useful for debugging.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
etc=$RPM_BUILD_ROOT%{_sysconfdir}
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
# remove unpackaged files from the buildroot
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
mkdir -p $etc/logrotate.d
|
|
install -m 644 scripts/libsdp.logrotate $etc/logrotate.d/libsdp
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
# For set-user-ID/set-group-ID ELF binaries, only libraries in the standard search directories that are also set-user-ID
|
|
# To do so, change line below to: %defattr(6644,root,root)
|
|
%defattr(0644,root,root)
|
|
%{_libdir}/libsdp*.so*
|
|
%defattr(0644,root,root)
|
|
%config(noreplace) %{_sysconfdir}/libsdp.conf
|
|
%config(noreplace) %{_includedir}/linux/sdp_inet.h
|
|
%doc README NEWS ChangeLog COPYING
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libsdp
|
|
|
|
%files devel
|
|
%defattr(0644,root,root,-)
|
|
%{_libdir}/libsdp*.so
|
|
|
|
%changelog
|
|
* Sun Jul 22 2007 Vladimir Sokolovsky <vlad@mellanox.co.il>
|
|
- Initial packaging
|