Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37534181
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: dapl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin