Репозитории ALT
Последнее обновление в Пт, 24 июля 2020, 14:09:54 +0000 | Пакетов: 24149
en ru
Исходные пакеты в ветвях
свернуть окно
  • 1.4-alt2.qa1
  • 1.4-alt2.qa1
  • 1.4-alt2.qa1
  • 1.4-alt2.qa1
  • 1.4-alt2.qa1
Группа :: Система/Основа
Исходный пакет: mstflint
Необработанный spec-файл

%global commit cac81bf5bb128b6242da83e4110c9a209f2e3e20
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%def_enable dc
%def_disable fw_mgr
%def_enable xml2
%def_enable cs
%def_enable inband
%def_enable openssl

Name: mstflint
Version: 4.16.0
Release: alt1

Summary: Mellanox firmware burning application
License: GPL/BSD
Url: http://openib.org/

Group: System/Base
# VCS-git: https://github.com/Mellanox/mstflint.git

Source: %name-%version.tar
Patch: %name-%version.patch
BuildRequires(pre):
rpm-build-python3
BuildRequires: autoconf-archive
BuildRequires: gcc-c++
%{?_enable_dc:BuildRequires: zlib-devel}
%{?_enable_fw_mgr:BuildRequires: libcurl-devel liblzma-devel zlib-devel boost-devel}
%{?_enable_xml2:BuildRequires: libxml2-devel}
%{?_enable_inband:BuildRequires: rdma-core-devel}
%{?_enable_cs:BuildRequires: libssl-devel}
%{?_enable_openssl:BuildRequires: libssl-devel}
BuildRequires: libiniparser-devel jsoncpp-devel libmuparser-devel libsqlite3-devel
AutoReq: yes, nopython
%add_python_compile_exclude %_libdir/%name/python_tools
%add_python3_compile_exclude %_libdir/%name/python_tools
%add_python3_path %_libdir/%name/python_tools


%description
This package contains a tool for burning updated firmware on to
Mellanox manufactured InfiniBand adapters.

%prep
%setup -q
%patch -p1

%build
mkdir config
echo "#define TOOLS_GIT_SHA \"%shortcommit\"" > common/gitversion.h

%autoreconf
%configure \
%{subst_enable dc} \
%{?_enable_fw_mgr:--enable-fw-mgr} \
%{subst_enable xml2} \
%{subst_enable inband} \
%{subst_enable cs} \
%{subst_enable openssl} \
MSTFLINT_VERSION_STR="%name %version-%release"

%make_build

%install
%makeinstall_std
rm -rf %buildroot%_includedir

%files
%_bindir/*
%_datadir/%name
%dir %_libdir/%name
%_libdir/%name/python_tools
%_man1dir/*

%changelog
* Sun Mar 14 2021 Alexey Shabalin <shaba at altlinux.org> 4.16.0-alt1
- v4.16.0-1

* Sun Apr 12 2020 Alexey Shabalin <shaba at altlinux.org> 4.14.0-alt1
- v4.14.0-1

* Fri Oct 18 2019 Alexey Shabalin <shaba at altlinux.org> 4.13.1-alt1
- v4.13.1-1

* Mon Feb 11 2019 Alexey Shabalin <shaba at altlinux.org> 4.11.0-alt1
- v4.11.0-2

* Wed Oct 31 2018 Alexey Shabalin <shaba at altlinux.org> 4.10.0-alt1
- v4.10.0-3

* Wed Apr 17 2013 Dmitry V. Levin (QA) <qa_ldv at altlinux.org> 1.4-alt2.qa1
- NMU: rebuilt for debuginfo.

* Tue Aug 17 2010 Andriy Stepanov <stanv at altlinux.ru> 1.4-alt2
- New version (OFED 1.5.1)

* Tue Dec 08 2009 Stanislav Ievlev <inger at altlinux.org> 1.4-alt1
- Initial build

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT