Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37640340
en ru br
ALT Linux repositórios
S:1.1.108-alt2.0.17.ga6958ef
5.0: 1.1.99-alt1

Group :: Sistema/Bibliotecas
RPM: libsdp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

%def_disable static

Name: libsdp
Summary: LD_PRELOAD-able library for using SDP
Version: 1.1.108
Release: alt2.0.17.ga6958ef
License: %gpl2only
Group: System/Libraries
Url: https://www.openfabrics.org

# https://www.openfabrics.org/downloads/libsdp/

Source: %name-%version.tar

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 = %EVR

%description devel
Development files of %name.

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

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

%prep
%setup

%build
%add_optflags -D_FILE_OFFSET_BITS=64

./autogen.sh
%configure %{subst_enable static}
%make_build

%install
%make_install DESTDIR=%buildroot install
install -Dm 644 scripts/libsdp.logrotate %buildroot%_logrotatedir/libsdp

%if_disabled static
rm -f %buildroot%_libdir/*.a
%endif

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

%files devel
%_includedir/linux/sdp_inet.h
%_libdir/*.so

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009