262cb3
Name:		mstflint
262cb3
Summary:	Mellanox firmware burning tool
f3757d
Version:	3.7.1
42f2a2
Release:	1%{?dist}
262cb3
License:	GPLv2+ or BSD
262cb3
Group:		Applications/System
f3757d
Source:		http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-1.22.g4354a45.tar.gz
262cb3
Url:		http://www.openfabrics.org
262cb3
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
42f2a2
BuildRequires:	libstdc++-devel, zlib-devel, libibmad-devel
262cb3
Obsoletes:	openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0
262cb3
ExcludeArch:	s390 s390x
262cb3
262cb3
%description
262cb3
This package contains a burning tool for Mellanox manufactured HCA cards.
262cb3
It also provides access to the relevant source code.
262cb3
262cb3
%prep
262cb3
%setup -q
262cb3
262cb3
%build
42f2a2
%configure CFLAGS="$CFLAGS -fno-strict-aliasing"
262cb3
make
262cb3
262cb3
%install
262cb3
rm -rf %{buildroot}
262cb3
make DESTDIR=%{buildroot} install
262cb3
# Remove the devel files that we don't ship
262cb3
rm -fr %{buildroot}%{_includedir}
262cb3
rm -fr %{buildroot}%{_datadir}
42f2a2
rm -fr %{buildroot}%{_libdir}/*.a
262cb3
262cb3
%clean
262cb3
rm -rf %{buildroot}
262cb3
262cb3
%files
262cb3
%defattr(-, root, root)
262cb3
%doc README
262cb3
%_bindir/*
262cb3
262cb3
%changelog
f3757d
* Fri Oct 17 2014 Doug Ledford <dledford@redhat.com> - 3.7.1-1
f3757d
- Update to latest upstream release for added arch support
f3757d
- Related: bz1055716
f3757d
42f2a2
* Sat Mar 01 2014 Doug Ledford <dledford@redhat.com> - 3.5.0-1
42f2a2
- Update to latest release for ConnectIB fixes
42f2a2
- Resolves: bz1060514
42f2a2
42f2a2
* Thu Jan 23 2014 Doug Ledford <dledford@redhat.com> - 3.0-0.7.g6961daa.2
42f2a2
- Fix for build on arm arches
42f2a2
- Resolves: bz1055716
42f2a2
42f2a2
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.0-0.7.g6961daa.1
42f2a2
- Mass rebuild 2013-12-27
42f2a2
262cb3
* Fri Aug 16 2013 Doug Ledford <dledford@redhat.com> - 3.0-0.6.g6961daa.1
262cb3
- Update to latest upstream version, which resovles some licensing issues
262cb3
  on some of the source files
262cb3
262cb3
* Fri Aug 09 2013 Doug Ledford <dledford@redhat.com> - 3.0-0.5.gff93670.1
262cb3
- Update to latest upstream version, which include ConnectIB support
262cb3
262cb3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-10
262cb3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
262cb3
262cb3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-9
262cb3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
262cb3
262cb3
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
262cb3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
262cb3
262cb3
* Fri Jan 13 2012 Doug Ledford <dledford@redhat.com> - 1.4-7
262cb3
- The upstream tarball as provided is broken.  Clean up the tarball so
262cb3
  the package builds properly
262cb3
262cb3
* Fri Jan 06 2012 Doug Ledford <dledford@redhat.com> - 1.4-6
262cb3
- Initial import into Fedora
262cb3
262cb3
* Wed Oct 26 2011 Doug Ledford <dledford@redhat.com> - 1.4-5.el6
262cb3
- Update to a version that will support the latest Mellanox CX3 hardware
262cb3
- Resolves: bz748244
262cb3
262cb3
* Mon Aug 08 2011 Doug Ledford <dledford@redhat.com> - 1.4-4.el6
262cb3
- Fix a bug in mmio space unmapping
262cb3
- Resolves: bz729061
262cb3
- Related: bz725016
262cb3
262cb3
* Fri Feb 19 2010 Doug Ledford <dledford@redhat.com> - 1.4-3.el6
262cb3
- Don't include mtcr.h as we don't really expect anything to need Mellanox
262cb3
  card register definitions except this program, and we already have the
262cb3
  file.
262cb3
- Change to ExcludeArch instead of ExclusiveArch so we build in all the right
262cb3
  places.
262cb3
- Related: bz543948
262cb3
262cb3
* Mon Jan 25 2010 Doug Ledford <dledford@redhat.com> - 1.4-2.el6
262cb3
- Update to tarball from URL instead of from OFED
262cb3
- Minor tweaks for pkgwrangler import
262cb3
- Related: bz543948
262cb3
262cb3
* Sat Apr 18 2009 Doug Ledford <dledford@redhat.com> - 1.4-1.el5
262cb3
- Update to ofed 1.4.1-rc3 version
262cb3
- Related: bz459652
262cb3
262cb3
* Tue Apr 01 2008 Doug Ledford <dledford@redhat.com> - 1.3-1
262cb3
- Update to OFED 1.3 final bits
262cb3
- Related: bz428197
262cb3
262cb3
* Sun Jan 27 2008 Doug Ledford <dledford@redhat.com> - 1.2-2
262cb3
- Obsolete the old openib-mstflint package
262cb3
262cb3
* Fri Jan 25 2008 Doug Ledford <dledford@redhat.com> - 1.2-1
262cb3
- Initial import into CVS
262cb3
- Related: bz428197
262cb3
262cb3
* Thu Jul 19 2007 - Vladimir Sokolovsky vlad@mellanox.co.il
262cb3
- Initial Package, Version 1.2