1 Summary: Firmware burning and diagnostic tools for Mellanox HCA/NIC cards
2 Summary(pl.UTF-8): Narzędzia modyfikujące firmware i diagnostyczne dla kart HCA/NIC Mellanox
7 Group: Networking/Utilities
8 Source0: http://www.openfabrics.org/downloads/mstflint/%{name}-%{version}.tar.gz
9 # Source0-md5: 8846152be0581c76396e60e94e953c59
10 Patch0: %{name}-types.patch
11 URL: http://www.openfabrics.org/
12 BuildRequires: libibmad-devel
13 BuildRequires: libstdc++-devel
14 BuildRequires: openssl-devel
15 BuildRequires: zlib-devel
16 # see common/compatibility.h
17 ExclusiveArch: %{ix86} %{x8664} x32 aarch64 ia64 ppc ppc64
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Firmware burning and diagnostic tools for Mellanox HCA/NIC cards.
23 %description -l pl.UTF-8
24 Narzędzia modyfikujące firmware i diagnostyczne dla kart HCA/NIC
28 Summary: Header files for Mellanox HCA/NIC cards access
29 Summary(pl.UTF-8): Pliki nagłówkowe do dostępu do kart HCA/NIC Mellanox
30 Group: Development/Libraries
31 # doesn't require base
34 Header files for Mellanox HCA/NIC cards access.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe do dostępu do kart HCA/NIC Mellanox.
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/hca_self_test.ofed
61 %attr(755,root,root) %{_bindir}/mstconfig
62 %attr(755,root,root) %{_bindir}/mstflint
63 %attr(755,root,root) %{_bindir}/mstmcra
64 %attr(755,root,root) %{_bindir}/mstmread
65 %attr(755,root,root) %{_bindir}/mstmtserver
66 %attr(755,root,root) %{_bindir}/mstmwrite
67 %attr(755,root,root) %{_bindir}/mstregdump
68 %attr(755,root,root) %{_bindir}/mstvpd
70 %{_mandir}/man1/mstconfig.1*
71 %{_mandir}/man1/mstflint.1*
72 %{_mandir}/man1/mstmcra.1*
73 %{_mandir}/man1/mstmread.1*
74 %{_mandir}/man1/mstmtserver.1*
75 %{_mandir}/man1/mstmwrite.1*
76 %{_mandir}/man1/mstregdump.1*
77 %{_mandir}/man1/mstvpd.1*
80 %defattr(644,root,root,755)
81 %dir %{_libdir}/mstflint
82 %{_libdir}/mstflint/libmtcr_ul.a
83 %{_includedir}/mstflint