]>
Commit | Line | Data |
---|---|---|
fe21cafc JB |
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 | |
3 | Name: mstflint | |
4cccf415 JR |
4 | Version: 4.10.0 |
5 | %define upstream_ver %{version}-3 | |
6 | Release: 1 | |
fe21cafc JB |
7 | License: BSD or GPL v2 |
8 | Group: Networking/Utilities | |
4cccf415 JR |
9 | Source0: https://github.com/Mellanox/mstflint/releases/download/v%{upstream_ver}/%{name}-%{upstream_ver}.tar.gz |
10 | # Source0-md5: 0fd75b78de3fc46d2cf951eead225a5b | |
11 | Patch0: openssl-1.1.patch | |
12 | URL: https://github.com/Mellanox/mstflint | |
9823007e | 13 | BuildRequires: libibmad-devel |
fe21cafc | 14 | BuildRequires: libstdc++-devel |
9823007e | 15 | BuildRequires: openssl-devel |
fe21cafc | 16 | BuildRequires: zlib-devel |
2ee6f1c5 JB |
17 | # see common/compatibility.h |
18 | ExclusiveArch: %{ix86} %{x8664} x32 aarch64 ia64 ppc ppc64 | |
fe21cafc JB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
9823007e | 22 | Firmware burning and diagnostic tools for Mellanox HCA/NIC cards. |
fe21cafc JB |
23 | |
24 | %description -l pl.UTF-8 | |
1b5ab1fb JB |
25 | Narzędzia modyfikujące firmware i diagnostyczne dla kart HCA/NIC |
26 | Mellanox. | |
fe21cafc JB |
27 | |
28 | %package devel | |
29 | Summary: Header files for Mellanox HCA/NIC cards access | |
30 | Summary(pl.UTF-8): Pliki nagłówkowe do dostępu do kart HCA/NIC Mellanox | |
31 | Group: Development/Libraries | |
32 | # doesn't require base | |
33 | ||
34 | %description devel | |
35 | Header files for Mellanox HCA/NIC cards access. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe do dostępu do kart HCA/NIC Mellanox. | |
39 | ||
40 | %prep | |
41 | %setup -q | |
2ee6f1c5 | 42 | %patch0 -p1 |
fe21cafc JB |
43 | |
44 | %build | |
9823007e | 45 | %configure \ |
4cccf415 JR |
46 | --enable-cs \ |
47 | --enable-fw-mgr \ | |
48 | --enable-xml2 \ | |
49 | --enable-openssl | |
fe21cafc JB |
50 | %{__make} |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
1b5ab1fb | 63 | %doc LICENSE README |
4cccf415 | 64 | %{_sysconfdir}/mstflint/ca-bundle.crt |
9823007e | 65 | %attr(755,root,root) %{_bindir}/mstconfig |
fe21cafc JB |
66 | %attr(755,root,root) %{_bindir}/mstflint |
67 | %attr(755,root,root) %{_bindir}/mstmcra | |
68 | %attr(755,root,root) %{_bindir}/mstmread | |
1b5ab1fb | 69 | %attr(755,root,root) %{_bindir}/mstmtserver |
fe21cafc JB |
70 | %attr(755,root,root) %{_bindir}/mstmwrite |
71 | %attr(755,root,root) %{_bindir}/mstregdump | |
72 | %attr(755,root,root) %{_bindir}/mstvpd | |
4cccf415 JR |
73 | %attr(755,root,root) %{_bindir}/mstcongestion |
74 | %attr(755,root,root) %{_bindir}/mstfwmanager | |
75 | %attr(755,root,root) %{_bindir}/mstfwreset | |
76 | %dir %{_libdir}/mstflint | |
77 | %dir %{_libdir}/mstflint/python_tools | |
78 | %attr(755,root,root) %{_libdir}/mstflint/python_tools/c_dev_mgt.so | |
79 | %attr(755,root,root) %{_libdir}/mstflint/python_tools/ccmdif.so | |
80 | %{_libdir}/mstflint/python_tools/cmdif.py | |
81 | %attr(755,root,root) %{_libdir}/mstflint/python_tools/cmtcr.so | |
82 | %{_libdir}/mstflint/python_tools/dev_mgt.py | |
83 | %dir %{_libdir}/mstflint/python_tools/mstfwreset | |
84 | %dir %{_libdir}/mstflint/python_tools/mstfwreset/mlxfwresetlib | |
85 | %{_libdir}/mstflint/python_tools/mstfwreset/mlxfwresetlib/__init__.py | |
86 | %{_libdir}/mstflint/python_tools/mstfwreset/mlxfwresetlib/logger.py | |
87 | %{_libdir}/mstflint/python_tools/mstfwreset/mlxfwresetlib/mcra.py | |
88 | %{_libdir}/mstflint/python_tools/mstfwreset/mlxfwresetlib/mlnx_peripheral_components.py | |
89 | %{_libdir}/mstflint/python_tools/mstfwreset/mlxfwresetlib/mlxfwreset_mlnxdriver.py | |
90 | %{_libdir}/mstflint/python_tools/mstfwreset/mlxfwresetlib/mlxfwreset_status_checker.py | |
91 | %{_libdir}/mstflint/python_tools/mstfwreset/mlxfwresetlib/mlxfwreset_utils.py | |
92 | %{_libdir}/mstflint/python_tools/mstfwreset/mlxfwresetlib/pci_device.py | |
93 | %{_libdir}/mstflint/python_tools/mstfwreset/mstfwreset.py | |
94 | %{_libdir}/mstflint/python_tools/mtcr.py | |
95 | %{_libdir}/mstflint/python_tools/regaccess.py | |
96 | %attr(755,root,root) %{_libdir}/mstflint/python_tools/rreg_access.so | |
97 | %{_libdir}/mstflint/python_tools/tools_version.py | |
1b5ab1fb | 98 | %{_datadir}/mstflint |
9823007e | 99 | %{_mandir}/man1/mstconfig.1* |
1b5ab1fb | 100 | %{_mandir}/man1/mstflint.1* |
9823007e JB |
101 | %{_mandir}/man1/mstmcra.1* |
102 | %{_mandir}/man1/mstmread.1* | |
103 | %{_mandir}/man1/mstmtserver.1* | |
104 | %{_mandir}/man1/mstmwrite.1* | |
105 | %{_mandir}/man1/mstregdump.1* | |
106 | %{_mandir}/man1/mstvpd.1* | |
fe21cafc JB |
107 | |
108 | %files devel | |
109 | %defattr(644,root,root,755) | |
9823007e JB |
110 | %{_libdir}/mstflint/libmtcr_ul.a |
111 | %{_includedir}/mstflint |