]> git.pld-linux.org Git - packages/mstflint.git/blame - mstflint.spec
- up to 4.10.0-3
[packages/mstflint.git] / mstflint.spec
CommitLineData
fe21cafc
JB
1Summary: Firmware burning and diagnostic tools for Mellanox HCA/NIC cards
2Summary(pl.UTF-8): Narzędzia modyfikujące firmware i diagnostyczne dla kart HCA/NIC Mellanox
3Name: mstflint
4cccf415
JR
4Version: 4.10.0
5%define upstream_ver %{version}-3
6Release: 1
fe21cafc
JB
7License: BSD or GPL v2
8Group: Networking/Utilities
4cccf415
JR
9Source0: https://github.com/Mellanox/mstflint/releases/download/v%{upstream_ver}/%{name}-%{upstream_ver}.tar.gz
10# Source0-md5: 0fd75b78de3fc46d2cf951eead225a5b
11Patch0: openssl-1.1.patch
12URL: https://github.com/Mellanox/mstflint
9823007e 13BuildRequires: libibmad-devel
fe21cafc 14BuildRequires: libstdc++-devel
9823007e 15BuildRequires: openssl-devel
fe21cafc 16BuildRequires: zlib-devel
2ee6f1c5
JB
17# see common/compatibility.h
18ExclusiveArch: %{ix86} %{x8664} x32 aarch64 ia64 ppc ppc64
fe21cafc
JB
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
9823007e 22Firmware burning and diagnostic tools for Mellanox HCA/NIC cards.
fe21cafc
JB
23
24%description -l pl.UTF-8
1b5ab1fb
JB
25Narzędzia modyfikujące firmware i diagnostyczne dla kart HCA/NIC
26Mellanox.
fe21cafc
JB
27
28%package devel
29Summary: Header files for Mellanox HCA/NIC cards access
30Summary(pl.UTF-8): Pliki nagłówkowe do dostępu do kart HCA/NIC Mellanox
31Group: Development/Libraries
32# doesn't require base
33
34%description devel
35Header files for Mellanox HCA/NIC cards access.
36
37%description devel -l pl.UTF-8
38Pliki 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
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -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
This page took 0.065021 seconds and 4 git commands to generate.