From 8df8b7afb5cf97920e284d3ce9fe43cfb8b5bf17 Mon Sep 17 00:00:00 2001 From: Doug Ledford Date: Jan 11 2012 18:27:30 +0000 Subject: Initial import into git Signed-off-by: Doug Ledford --- diff --git a/.gitignore b/.gitignore index e69de29..a95c491 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,14 @@ +i386/ +i686/ +x86_64/ +ppc/ +ppc64/ +ia64/ +mips/ +arm*/ +noarch/ +.project +*.src.rpm +.build*.log +/mstflint-1.4/ +/mstflint-1.4-1.18.g1adcfbf.tar.gz diff --git a/mstflint.spec b/mstflint.spec new file mode 100644 index 0000000..d3d7be0 --- /dev/null +++ b/mstflint.spec @@ -0,0 +1,84 @@ +Name: mstflint +Summary: Mellanox firmware burning tool +Version: 1.4 +Release: 6%{?dist} +License: GPLv2+ or BSD +Group: Applications/System +Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-1.18.g1adcfbf.tar.gz +Url: http://www.openfabrics.org +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libstdc++-devel, zlib-devel +Obsoletes: openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0 +ExcludeArch: s390 s390x + +%description +This package contains a burning tool for Mellanox manufactured HCA cards. +It also provides access to the relevant source code. + +%prep +%setup -q + +%build +export CFLAGS="$RPM_OPT_FLAGS" +%configure +make + +%install +rm -rf ${RPM_BUILD_ROOT} +install -D -m 0755 mstmread $RPM_BUILD_ROOT%{_bindir}/mstmread +install -D -m 0755 mstmwrite $RPM_BUILD_ROOT%{_bindir}/mstmwrite +install -D -m 0755 mstflint $RPM_BUILD_ROOT%{_bindir}/mstflint +install -D -m 0755 mstregdump $RPM_BUILD_ROOT%{_bindir}/mstregdump +install -D -m 0755 mstvpd $RPM_BUILD_ROOT%{_bindir}/mstvpd + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-, root, root) +%doc README +%_bindir/* + +%changelog +* Fri Jan 06 2012 Doug Ledford - 1.4-6 +- Initial import into Fedora + +* Wed Oct 26 2011 Doug Ledford - 1.4-5.el6 +- Update to a version that will support the latest Mellanox CX3 hardware +- Resolves: bz748244 + +* Mon Aug 08 2011 Doug Ledford - 1.4-4.el6 +- Fix a bug in mmio space unmapping +- Resolves: bz729061 +- Related: bz725016 + +* Fri Feb 19 2010 Doug Ledford - 1.4-3.el6 +- Don't include mtcr.h as we don't really expect anything to need Mellanox + card register definitions except this program, and we already have the + file. +- Change to ExcludeArch instead of ExclusiveArch so we build in all the right + places. +- Related: bz543948 + +* Mon Jan 25 2010 Doug Ledford - 1.4-2.el6 +- Update to tarball from URL instead of from OFED +- Minor tweaks for pkgwrangler import +- Related: bz543948 + +* Sat Apr 18 2009 Doug Ledford - 1.4-1.el5 +- Update to ofed 1.4.1-rc3 version +- Related: bz459652 + +* Tue Apr 01 2008 Doug Ledford - 1.3-1 +- Update to OFED 1.3 final bits +- Related: bz428197 + +* Sun Jan 27 2008 Doug Ledford - 1.2-2 +- Obsolete the old openib-mstflint package + +* Fri Jan 25 2008 Doug Ledford - 1.2-1 +- Initial import into CVS +- Related: bz428197 + +* Thu Jul 19 2007 - Vladimir Sokolovsky vlad@mellanox.co.il +- Initial Package, Version 1.2 diff --git a/sources b/sources index e69de29..0e7fb6f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +228bc2edccf04d9dbebf853631352f52 mstflint-1.4-1.18.g1adcfbf.tar.gz