teknoraver / rpms / mstflint

Forked from rpms/mstflint a month ago
Clone

Blame mstflint.spec

Doug Ledford 8df8b7
Name:		mstflint
Doug Ledford 8df8b7
Summary:	Mellanox firmware burning tool
Doug Ledford 8df8b7
Version:	1.4
e6543a
Release:	9%{?dist}
Doug Ledford 8df8b7
License:	GPLv2+ or BSD
Doug Ledford 8df8b7
Group:		Applications/System
Doug Ledford 36106b
Source:		http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-1.19.redhat.tar.gz
Doug Ledford 8df8b7
Url:		http://www.openfabrics.org
Doug Ledford 8df8b7
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Doug Ledford 8df8b7
BuildRequires:	libstdc++-devel, zlib-devel
Doug Ledford 8df8b7
Obsoletes:	openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0
Doug Ledford 8df8b7
ExcludeArch:	s390 s390x
Doug Ledford 8df8b7
Doug Ledford 8df8b7
%description
Doug Ledford 8df8b7
This package contains a burning tool for Mellanox manufactured HCA cards.
Doug Ledford 8df8b7
It also provides access to the relevant source code.
Doug Ledford 8df8b7
Doug Ledford 8df8b7
%prep
Doug Ledford 8df8b7
%setup -q
Doug Ledford 8df8b7
Doug Ledford 8df8b7
%build
Doug Ledford 8df8b7
export CFLAGS="$RPM_OPT_FLAGS"
Doug Ledford 8df8b7
%configure
Doug Ledford 8df8b7
make
Doug Ledford 8df8b7
Doug Ledford 8df8b7
%install
Doug Ledford 8df8b7
rm -rf ${RPM_BUILD_ROOT}
Doug Ledford 8df8b7
install -D -m 0755 mstmread $RPM_BUILD_ROOT%{_bindir}/mstmread
Doug Ledford 8df8b7
install -D -m 0755 mstmwrite $RPM_BUILD_ROOT%{_bindir}/mstmwrite
Doug Ledford 8df8b7
install -D -m 0755 mstflint $RPM_BUILD_ROOT%{_bindir}/mstflint
Doug Ledford 8df8b7
install -D -m 0755 mstregdump $RPM_BUILD_ROOT%{_bindir}/mstregdump
Doug Ledford 8df8b7
install -D -m 0755 mstvpd $RPM_BUILD_ROOT%{_bindir}/mstvpd
Doug Ledford 8df8b7
Doug Ledford 8df8b7
%clean
Doug Ledford 8df8b7
rm -rf ${RPM_BUILD_ROOT}
Doug Ledford 8df8b7
Doug Ledford 8df8b7
%files
Doug Ledford 8df8b7
%defattr(-, root, root)
Doug Ledford 8df8b7
%doc README
Doug Ledford 8df8b7
%_bindir/*
Doug Ledford 8df8b7
Doug Ledford 8df8b7
%changelog
e6543a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-9
e6543a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e6543a
82d4c8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
82d4c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
82d4c8
Doug Ledford 36106b
* Fri Jan 13 2012 Doug Ledford <dledford@redhat.com> - 1.4-7
Doug Ledford 36106b
- The upstream tarball as provided is broken.  Clean up the tarball so
Doug Ledford 36106b
  the package builds properly
Doug Ledford 36106b
Doug Ledford 8df8b7
* Fri Jan 06 2012 Doug Ledford <dledford@redhat.com> - 1.4-6
Doug Ledford 8df8b7
- Initial import into Fedora
Doug Ledford 8df8b7
Doug Ledford 8df8b7
* Wed Oct 26 2011 Doug Ledford <dledford@redhat.com> - 1.4-5.el6
Doug Ledford 8df8b7
- Update to a version that will support the latest Mellanox CX3 hardware
Doug Ledford 8df8b7
- Resolves: bz748244
Doug Ledford 8df8b7
Doug Ledford 8df8b7
* Mon Aug 08 2011 Doug Ledford <dledford@redhat.com> - 1.4-4.el6
Doug Ledford 8df8b7
- Fix a bug in mmio space unmapping
Doug Ledford 8df8b7
- Resolves: bz729061
Doug Ledford 8df8b7
- Related: bz725016
Doug Ledford 8df8b7
Doug Ledford 8df8b7
* Fri Feb 19 2010 Doug Ledford <dledford@redhat.com> - 1.4-3.el6
Doug Ledford 8df8b7
- Don't include mtcr.h as we don't really expect anything to need Mellanox
Doug Ledford 8df8b7
  card register definitions except this program, and we already have the
Doug Ledford 8df8b7
  file.
Doug Ledford 8df8b7
- Change to ExcludeArch instead of ExclusiveArch so we build in all the right
Doug Ledford 8df8b7
  places.
Doug Ledford 8df8b7
- Related: bz543948
Doug Ledford 8df8b7
Doug Ledford 8df8b7
* Mon Jan 25 2010 Doug Ledford <dledford@redhat.com> - 1.4-2.el6
Doug Ledford 8df8b7
- Update to tarball from URL instead of from OFED
Doug Ledford 8df8b7
- Minor tweaks for pkgwrangler import
Doug Ledford 8df8b7
- Related: bz543948
Doug Ledford 8df8b7
Doug Ledford 8df8b7
* Sat Apr 18 2009 Doug Ledford <dledford@redhat.com> - 1.4-1.el5
Doug Ledford 8df8b7
- Update to ofed 1.4.1-rc3 version
Doug Ledford 8df8b7
- Related: bz459652
Doug Ledford 8df8b7
Doug Ledford 8df8b7
* Tue Apr 01 2008 Doug Ledford <dledford@redhat.com> - 1.3-1
Doug Ledford 8df8b7
- Update to OFED 1.3 final bits
Doug Ledford 8df8b7
- Related: bz428197
Doug Ledford 8df8b7
Doug Ledford 8df8b7
* Sun Jan 27 2008 Doug Ledford <dledford@redhat.com> - 1.2-2
Doug Ledford 8df8b7
- Obsolete the old openib-mstflint package
Doug Ledford 8df8b7
Doug Ledford 8df8b7
* Fri Jan 25 2008 Doug Ledford <dledford@redhat.com> - 1.2-1
Doug Ledford 8df8b7
- Initial import into CVS
Doug Ledford 8df8b7
- Related: bz428197
Doug Ledford 8df8b7
Doug Ledford 8df8b7
* Thu Jul 19 2007 - Vladimir Sokolovsky vlad@mellanox.co.il
Doug Ledford 8df8b7
- Initial Package, Version 1.2