]> git.pld-linux.org Git - packages/dapl.git/blobdiff - dapl.spec
- updated to 2.1.10
[packages/dapl.git] / dapl.spec
index e390500318e6da46639d2ef34189de7f7dd0b847..c3f4921f983bfb323c48713ae76ccc886df831b8 100644 (file)
--- a/dapl.spec
+++ b/dapl.spec
@@ -1,15 +1,24 @@
+# TODO: --enable-mcm (BR: libscif), --enable-coll-type=fca (BR: libfca)
 Summary:       Userspace access to RDMA devices using OS-agnostic DAT APIs
 Summary(pl.UTF-8):     Dostęp z przestrzeni użytkownika do urządzeń RDMA poprzez API DAT
 Name:          dapl
-Version:       2.0.32
+Version:       2.1.10
 Release:       1
 License:       CPL v1.0 or BSD or GPL v2
 Group:         Libraries
-Source0:       http://www.openfabrics.org/downloads/dapl/%{name}-%{version}.tar.gz
-# Source0-md5: 0a56cb34462762f0073d732cfe2fb06e
+Source0:       https://www.openfabrics.org/downloads/dapl/%{name}-%{version}.tar.gz
+# Source0-md5: 50df18f8011a37da88f4886514b9dd96
+Patch0:                %{name}-link.patch
+Patch1:                %{name}-include.patch
+Patch2:                %{name}-ibacm.patch
 URL:           http://www.openfabrics.org/
-BuildRequires: libibverbs-devel
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
+BuildRequires: ibacm-devel
+BuildRequires: libibverbs-devel >= 1.1.4
 BuildRequires: librdmacm-devel
+BuildRequires: libtool
+Requires:      libibverbs >= 1.1.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,7 +38,7 @@ Summary:      Header files for libdat2 library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki libdat2
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      libibverbs-devel
+Requires:      libibverbs-devel >= 1.1.4
 
 %description devel
 Header files for libdat2 library.
@@ -51,15 +60,25 @@ Ten pakiet zawiera statyczną bibliotekę libdat2.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --enable-acm \
+       --disable-silent-rules
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -j1 install \
        DESTDIR=$RPM_BUILD_ROOT
 
 # modules dlopened by soname
@@ -78,6 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/dapltest
 %attr(755,root,root) %{_bindir}/dtest
 %attr(755,root,root) %{_bindir}/dtestcm
+%attr(755,root,root) %{_bindir}/dtestsrq
 %attr(755,root,root) %{_bindir}/dtestx
 %attr(755,root,root) %{_libdir}/libdat2.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libdat2.so.2
@@ -90,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dat.conf
 %{_mandir}/man1/dapltest.1*
 %{_mandir}/man1/dtest.1*
+%{_mandir}/man1/dtestcm.1*
+%{_mandir}/man1/dtestsrq.1*
+%{_mandir}/man1/dtestx.1*
 %{_mandir}/man5/dat.conf.5*
 
 %files devel
This page took 0.047785 seconds and 4 git commands to generate.