Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37740661
en ru br
ALT Linux repos
S:1.1.108-alt2.0.17.ga6958ef
5.0: 1.1.99-alt1

Group :: System/Libraries
RPM: libsdp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_enable static

Name: libsdp
Summary: LD_PRELOAD-able library for using SDP
Version: 1.1.99
Release: alt1
License: %gpl2only
Group: System/Libraries
Url: http://www.openfabrics.org
Source: %name-%version.tar
Packager: Led <led at altlinux.ru>

BuildRequires(pre): rpm-build-licenses
BuildRequires: flex

%description
%name 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 %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Development files of %name.


%if_enabled static
%package devel-static
Summary: Static %name library
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static %name library.
%endif


%prep
%setup


%build
%configure %{subst_enable static}
%make_build


%install
%make_install DESTDIR=%buildroot install


%post -p %post_ldconfig
%postun -p %postun_ldconfig


%files
%doc README NEWS ChangeLog COPYING
%config(noreplace) %_sysconfdir/*
%_libdir/*.so.*


%files devel
%_libdir/*.so


%if_enabled static
%files devel-static
%_libdir/*.a
%endif


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin