Sisyphus repositório
Última atualização: 19 outubro 2019 | SRPMs: 17506 | Visitas: 15290412
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 

Patch: dapl-2.1.10.patch
Download


 .gear/rules     |   3 ++
 .gear/tags/list |   1 +
 Makefile.am     |  11 ++--
 configure.in    |   2 +-
 dapl.spec       | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 165 insertions(+), 4 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..043070d
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+tar: upstream:.
+diff: upstream:. . name=@name@-@version@.patch
+
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..814083b
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+b2975b615f58e618a12b9e079568f987b8dc689d upstream
diff --git a/Makefile.am b/Makefile.am
index 483ba90..c23e565 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -279,7 +279,9 @@ dapl_udapl_libdaplofa_la_SOURCES = dapl/udapl/dapl_init.c \
 
 dapl_udapl_libdaplofa_la_LDFLAGS = -version-info 2:0:0 $(daplofa_version_script) \
 				   -Wl,-init,dapl_init -Wl,-fini,dapl_fini \
-				   -lpthread -libverbs -lrdmacm $(XLIBS)
+				   -lpthread
+
+dapl_udapl_libdaplofa_la_LIBADD = $(top_builddir)/$(datlib_LTLIBRARIES) -libverbs -lrdmacm $(XLIBS)
 endif
 
 if DEFINE_SCM				
@@ -396,7 +398,8 @@ dapl_udapl_libdaploscm_la_SOURCES = dapl/udapl/dapl_init.c \
 
 dapl_udapl_libdaploscm_la_LDFLAGS = -version-info 2:0:0 $(daploscm_version_script) \
                                    -Wl,-init,dapl_init -Wl,-fini,dapl_fini \
-                                   -lpthread -libverbs $(XLIBS)
+                                   -lpthread
+dapl_udapl_libdaploscm_la_LIBADD = $(top_builddir)/$(datlib_LTLIBRARIES) -libverbs $(XLIBS)
 endif
 
 if DEFINE_UCM                      
@@ -513,7 +516,9 @@ dapl_udapl_libdaploucm_la_SOURCES = dapl/udapl/dapl_init.c \
 
 dapl_udapl_libdaploucm_la_LDFLAGS = -version-info 2:0:0 $(daploucm_version_script) \
                                    -Wl,-init,dapl_init -Wl,-fini,dapl_fini \
-                                   -lpthread -libverbs $(XLIBS)
+                                   -lpthread 
+
+dapl_udapl_libdaploucm_la_LIBADD = $(top_builddir)/$(datlib_LTLIBRARIES) -libverbs $(XLIBS)
 endif
 
 if DEFINE_MCM                      
diff --git a/configure.in b/configure.in
index fc65220..62f6177 100644
--- a/configure.in
+++ b/configure.in
@@ -6,7 +6,7 @@ AC_CONFIG_SRCDIR([dat/udat/udat.c])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_MACRO_DIR([m4])
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(dapl, 2.1.10)
+AM_INIT_AUTOMAKE(subdir-objects)
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 AM_PROG_LIBTOOL
diff --git a/dapl.spec b/dapl.spec
new file mode 100644
index 0000000..3e064b1
--- /dev/null
+++ b/dapl.spec
@@ -0,0 +1,152 @@
+
+%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
+* Thu Apr 12 2018 Alexey Shabalin <shaba@altlinux.ru> 2.1.10-alt1
+- 2.1.10
+
+* Mon Apr 09 2018 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.0.30-alt3
+- fixed build on aarch64
+
+* Tue Dec 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.30-alt2.1
+- Fixed build with glibc 2.16
+
+* Thu Mar 24 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.30-alt2
+- Rebuilt for debuginfo
+- Disabled static package
+
+* Tue Dec 07 2010 Andriy Stepanov <stanv@altlinux.ru> 2.0.30-alt1
+- New version (OFED 1.5.2_v2)
+
+* Mon Aug 16 2010 Andriy Stepanov <stanv@altlinux.ru> 2.0.27-alt2
+- New version (OFED 1.5.1)
+
+* Mon Jul 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.20-alt2
+- Added default %_sysconfdir/dat2.conf (thnx led@)
+
+* Wed Jul 08 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.20-alt1.1
+- Build from upstream git repository
+
+* Wed Jul 08 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.20-alt1
+- Version 2.0.20
+
+* Wed Jun 24 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.19-alt2.1
+- Build for Sisyphus
+
+* Tue Jun 23 2009 Led <led@altlinux.ru> 2.0.19-alt2
+- fixed linking
+- cleaned up spec
+
+* Sun Jun 21 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.19-alt1.1
+- Build for Sisyphus
+
+* Wed May 20 2009 Led <led@altlinux.ru> 2.0.19-alt1
+- 2.0.19
+
+* Thu Apr 23 2009 Led <led@altlinux.ru> 2.0.16-alt1
+- initial build for ALT
+
 
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