Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
libibverbs
libibverbs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libibverbs.spec of Package libibverbs
# # spec file for package libibverbs # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # #%%define extraver -rc1 #%%define gitver -gite9f49fb Name: libibverbs Summary: Infiniband verbs library License: GPL-2.0 or BSD-2-Clause Group: System/Libraries Version: 1.2.0 Release: 0 Source0: %{name}-%{version}.tar.gz Source1: ibdev2netdev Source2: baselibs.conf Source3: neigh.h # Provides: libusnic_verbs = %{version} Obsoletes: libusnic_verbs < %{version} # Patch1: libibverbs-fix_aliasing.patch Patch2: libibverbs-1.1.4-fix-deleted-ntohl.patch Patch10: libibverbs-autotools.patch Patch11: libibverbs-s390.patch Patch12: libibverbs-aarch64.patch # BuildRequires: autoconf BuildRequires: automake BuildRequires: libnl3-devel BuildRequires: libtool BuildRequires: pkg-config Url: http://www.openfabrics.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define so_major 1 %define lname %{name}%{so_major} %description libibverbs is a library that allows userspace processes to use InfiniBand "verbs" as described in the InfiniBand Architecture Specification. This includes direct hardware access for fast path operations. %package -n %{lname} Summary: Infiniband verbs library Group: System/Libraries %description -n %{lname} libibverbs is a library that allows userspace processes to use InfiniBand "verbs" as described in the InfiniBand Architecture Specification. This includes direct hardware access for fast path operations. This package contains the runtime library. %package runtime Summary: Tools for the Infiniband Verbs library and manpages Group: Productivity/Networking/System %description runtime This package contains the Infiniband verbs tools and their man pages. %package devel Summary: Development files for the libibverbs library Group: Development/Libraries/C and C++ Requires: %{name}-runtime = %{version} %description devel Static libraries and header files for the Infiniband verbs library. %package devel-static Summary: Static libibverbs library Group: Development/Libraries/C and C++ Requires: %{name}-devel = %{version} glibc-devel %description devel-static This package contains the static variant of libibverbs. %prep %setup -q -n %{name}-%{version} %patch1 %patch2 -p1 %patch10 %patch11 %patch12 -p1 cp %{S:3} src/ %build autoreconf -fi %configure --disable-silent-rules make %{?_smp_mflags} %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig %install make DESTDIR=%{buildroot} install mkdir -p %{buildroot}/%_sysconfdir/libibverbs.d install -m 755 %{S:1} %{buildroot}%{_bindir} %files runtime %defattr(-, root, root) %doc COPYING ChangeLog %_sysconfdir/libibverbs.d %_bindir/* %_mandir/man1/* %files -n %{lname} %defattr(-, root, root) %_libdir/libibverbs.so.* %files devel %defattr(-,root,root) %_includedir/infiniband %_libdir/libibverbs.so %_mandir/man3/* %files devel-static %defattr(-,root,root) %_libdir/libibverbs.a %_libdir/libibverbs.la %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor