]> git.pld-linux.org Git - packages/mstflint.git/blob - mstflint.spec
bdf2ee5feaeb682ebc73a72038bf230f080443f5
[packages/mstflint.git] / mstflint.spec
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
4 Version:        4.4.0
5 Release:        3
6 License:        BSD or GPL v2
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)
19
20 %description
21 Firmware burning and diagnostic tools for Mellanox HCA/NIC cards.
22
23 %description -l pl.UTF-8
24 Narzędzia modyfikujące firmware i diagnostyczne dla kart HCA/NIC
25 Mellanox.
26
27 %package devel
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
32
33 %description devel
34 Header files for Mellanox HCA/NIC cards access.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe do dostępu do kart HCA/NIC Mellanox.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42
43 %build
44 %configure \
45         --enable-cs
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc LICENSE README
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
69 %{_datadir}/mstflint
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*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %dir %{_libdir}/mstflint
82 %{_libdir}/mstflint/libmtcr_ul.a
83 %{_includedir}/mstflint
This page took 0.367086 seconds and 2 git commands to generate.