File mstflint.spec of Package mstflint
#
# spec file for package mstflint (Version 1.4)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: mstflint
Summary: Burning Firmware Application
Version: 1.4
Release: 1
License: BSD 3-Clause; GPL v2 or later
Group: System/Console
Source0: %{name}-%{version}.tar.bz2
Patch: mstflint-includefix.patch
Url: http://www.openfabrics.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ zlib-devel
%description
This package contains a burning tool for Mellanox manufactured HCA
cards. It also provides access to the relevant source code.
%prep
%setup -q
%patch
%build
%{configure}
make CFLAGS="$RPM_OPT_FLAGS -I. -fno-exceptions"
%install
install -D mstflint $RPM_BUILD_ROOT/%_bindir/mstflint
install mstmread $RPM_BUILD_ROOT/%_bindir/
install mstmwrite $RPM_BUILD_ROOT/%_bindir/
install mstregdump $RPM_BUILD_ROOT/%_bindir/
install mstvpd $RPM_BUILD_ROOT/%_bindir/
install -D mtcr.h $RPM_BUILD_ROOT/%_includedir/mtcr.h
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
%doc README
%_bindir/*
%_includedir/*
%changelog
* Tue Oct 28 2008 jjolly@suse.de
- Updated to v1.4 from OFED 1.3 rc3
* Tue Oct 28 2008 ro@suse.de
- fix build
* Fri Sep 12 2008 jjolly@suse.de
- Updated to v1.3 from OFED 1.4 RC1
* Tue Aug 07 2007 hvogel@suse.de
- Update to version from OFED 1.2c
* Thu Jul 12 2007 hvogel@suse.de
- package include/mtcr.h
* Wed Jul 04 2007 hvogel@suse.de
- Add GPL COPYING file [#288876]
* Tue Jul 03 2007 hvogel@suse.de
- Use correct git checkout from OFED 1.2
* Wed Jun 20 2007 hvogel@suse.de
- Initial Package, Version 1.2