Sisyphus repositório
Última atualização: 15 setembro 2019 | SRPMs: 17432 | Visitas: 15097794
en ru br
ALT Linux repositórios
S:2.1.10-alt1

Group :: Sistema/Bibliotecas
RPM: dapl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 


%def_disable static

Name: dapl
%define lname lib%name

Version: 2.1.10
Release: alt1
Summary: A Library for userspace access to RDMA devices using OS Agnostic DAT APIs
Group: System/Libraries
License: %gpl2only, %bsdstyle, CPL
Url: http://www.openfabrics.org/
# git://git.openfabrics.org/~ardavis/dapl.git
Source: %name-%version.tar

Patch: %name-%version.patch

BuildRequires(pre): rpm-build-licenses
BuildRequires: rdma-core-devel

%description
Along with the OpenFabrics kernel drivers, libdat and libdapl provides
a userspace RDMA API that supports DAT 2.0 specification and IB
transport extensions for atomic operations and rdma write with
immediate data.


%package -n lib%name
Summary: A Library for userspace access to RDMA devices using OS Agnostic DAT APIs
Group: System/Libraries
Provides: lib%{name}2 = %version-%release
Obsoletes: lib%{name}2 < %version-%release

%description -n lib%name
Along with the OpenFabrics kernel drivers, libdat and libdapl provides
a userspace RDMA API that supports DAT 2.0 specification and IB
transport extensions for atomic operations and rdma write with
immediate data.


%package -n lib%name-devel
Summary: Development files for the libdat and libdapl libraries
Group: Development/C
Requires: lib%name = %version-%release
Provides: lib%{name}2-devel = %version-%release
Obsoletes: lib%{name}2-devel < %version-%release

%description -n lib%name-devel
Header files for libdat and libdapl library.

%package -n lib%name-devel-static
Summary: Static development files for libdat and libdapl library
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
Static libraries for libdat and libdapl library.

%package utils
Summary: Test suites for uDAPL library
Group: Development/Other
Requires: lib%name = %version-%release
Provides: %{name}2-utils = %version-%release
Obsoletes: %{name}2-utils < %version-%release

%description utils
Useful test suites to validate uDAPL library API's.

%prep
%setup
%patch -p1


%build
mkdir -p config m4
%autoreconf
%configure \
   --with-pic \
   --with-gnu-ld \
   --enable-ext-type=ib \
   %{subst_enable static} \
   --sysconfdir=/etc/rdma

%make_build

%install
%make_install DESTDIR=%buildroot install{-datlibLTLIBRARIES,}

%files -n lib%name
%doc AUTHORS README ChangeLog
%_libdir/*.so.*
%config(noreplace) %_sysconfdir/rdma/dat.conf
%_man5dir/*

%files -n lib%name-devel
%_libdir/*.so
%_includedir/dat2

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

%files utils
%_bindir/*
%_man1dir/*

%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