From ced3cbb8796dc4c551bc541143750c205b22f3fc Mon Sep 17 00:00:00 2001 From: Oren Kladnitsky Date: Sun, 23 Dec 2007 18:49:21 +0200 Subject: [PATCH] Added mtcr.h installation to spec file --- mstflint.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 mstflint.spec diff --git a/mstflint.spec b/mstflint.spec new file mode 100644 index 0000000..0acd8ae --- /dev/null +++ b/mstflint.spec @@ -0,0 +1,49 @@ +Summary: Mellanox firmware burning application +Name: mstflint +Version: 1.3 +Release: 1 +License: GPL/BSD +Url: http://openib.org/ +Group: System Environment/Base +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} +Source: mstflint-1.3.tar.gz +ExclusiveArch: i386 x86_64 ia64 ppc ppc64 +BuildRequires: zlib-devel + +%description +This package contains a tool for burning updated firmware on to +Mellanox manufactured InfiniBand adapters. + +%prep +%setup -q + +%build +%configure +make + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=${RPM_BUILD_ROOT} install +# remove unpackaged files from the buildroot +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%{_bindir}/mstmread +%{_bindir}/mstmwrite +%{_bindir}/mstflint +%{_bindir}/mstregdump +%{_bindir}/mstvpd +%{_bindir}/mstmcra +%{_includedir}/mtcr.h + +%changelog +* Fri Dec 23 2007 Oren Kladnitsky + Added mtcr.h installation + +* Fri Dec 07 2007 Ira Weiny 1.0.0 + initial creation + -- 2.41.0