Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
mstflint
mstflint.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mstflint.spec of Package mstflint
# # spec file for package mstflint # # Copyright (c) 2015 SUSE LINUX Products 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 extra_version -1.30.g00eb005 Name: mstflint Summary: Mellanox Firmware Burning and Diagnostics Tools License: GPL-2.0 or BSD-2-Clause Group: System/Console Version: 4.0.0 Release: 0 Source0: https://www.openfabrics.org/downloads/mstflint/%{name}-%{version}%{extra_version}.tar.gz # PATCH-FIX-UPSTREAM Declare package as foreign and other autotools stuff pth@suse.de Patch0: mstflint-autotools.patch # PATCH-FIX-UPSTREAM Add all needed defines to get it built on s390x Patch4: mstflint-s390_arch.patch # PATCH-FIX-UPSTREAM Don't use -Werror as there are format warnings Patch5: mstflint-no_Werror.patch # PATCH-FIX-UPSTREAM Build libmtcr as shared library Source1: mstfint-mtcr_ul_no_static_lib.patch Url: http://www.openfabrics.org BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libibmad-devel BuildRequires: libtool BuildRequires: zlib-devel #%%define DT_FLAGS %%{?__commit_date:-D__DATE__=%%__commit_date}' '%%{?__commit_time:-D__TIME__=%%__commit_time}' %description This package contains a burning tool and diagnostic tools for Mellanox manufactured HCA/NIC cards. It also provides access to the relevant source code. Please see the file LICENSE for licensing details. This package is based on a subset of the Mellanox Firmware Tools (MFT) package. For a full documentation of the MFT package, please refer to the downloads page at the Mellanox web site. %prep %setup -q %patch0 %patch4 %patch5 rm -f configure.in rm -f mtcr_ul/Makefile.in %build autoreconf -fi %{configure} make CFLAGS="%{optflags} -I. -fno-exceptions" %install make DESTDIR=%{buildroot} install rm -f %{buildroot}%{_includedir}/mtcr_ul/mtcr.h rm -f %{buildroot}%{_libdir}/libmtcr_ul.a #%%post -p /sbin/ldconfig #%%postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc README COPYING LICENSE %{_mandir}/man1/*.1.gz %_bindir/* %{_datadir}/%{name} %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