]>
Commit | Line | Data |
---|---|---|
c63759de JB |
1 | Summary: InfiniBand diagnostic tools |
2 | Summary(pl.UTF-8): Narzędzia diagnostyczne InfiniBand | |
3 | Name: infiniband-diags | |
e135a2d6 | 4 | Version: 1.5.13 |
c63759de JB |
5 | Release: 1 |
6 | License: BSD or GPL v2 | |
7 | Group: Networking/Utilities | |
8 | Source0: http://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz | |
e135a2d6 | 9 | # Source0-md5: 367affa587f346f9ddc064bcce4206cf |
c63759de JB |
10 | URL: http://www.openfabrics.org/ |
11 | BuildRequires: libibmad-devel | |
12 | BuildRequires: libibumad-devel | |
13 | BuildRequires: opensm-devel | |
14 | Requires: %{name}-libs = %{version}-%{release} | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | This package provides InfiniBand diagnostic programs and scripts | |
19 | needed to diagnose an IB subnet. | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | Ten pakiet zawiera programy i skrypty diagnostyczne InfiniBand | |
23 | potrzebne do diagnostyki podsieci IB. | |
24 | ||
25 | %package libs | |
26 | Summary: InfiniBand diagnostic library | |
27 | Summary(pl.UTF-8): Biblioteka diagnostyczna InfiniBand | |
28 | Group: Libraries | |
29 | ||
30 | %description libs | |
31 | InfiniBand diagnostic library. | |
32 | ||
33 | %description libs -l pl.UTF-8 | |
34 | Biblioteka diagnostyczna InfiniBand. | |
35 | ||
36 | %package devel | |
37 | Summary: Header files for libibnetdisc library | |
38 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libibnetdisc | |
39 | Group: Development/Libraries | |
40 | Requires: %{name}-libs = %{version}-%{release} | |
41 | Requires: libibmad-devel | |
42 | Requires: libibumad-devel | |
43 | Requires: opensm-devel | |
44 | ||
45 | %description devel | |
46 | Header files for libibnetdisc library. | |
47 | ||
48 | %description devel -l pl.UTF-8 | |
49 | Pliki nagłówkowe biblioteki libibnetdisc. | |
50 | ||
51 | %package static | |
52 | Summary: Static libibnetdisc library | |
53 | Summary(pl.UTF-8): Statyczna biblioteka libibnetdisc | |
54 | Group: Development/Libraries | |
55 | Requires: %{name}-devel = %{version}-%{release} | |
56 | ||
57 | %description static | |
58 | Static libibnetdisc library. | |
59 | ||
60 | %description static -l pl.UTF-8 | |
61 | Statyczna biblioteka libibnetdisc. | |
62 | ||
63 | %prep | |
64 | %setup -q | |
65 | ||
66 | %build | |
67 | %configure \ | |
68 | --with-perl-installdir=%{perl_vendorlib} | |
69 | %{__make} | |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
4a847c6b | 73 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/infiniband-diags |
c63759de JB |
74 | |
75 | %{__make} install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %post libs -p /sbin/ldconfig | |
82 | %postun libs -p /sbin/ldconfig | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc COPYING ChangeLog README | |
87 | %attr(755,root,root) %{_sbindir}/check_lft_balance.pl | |
88 | %attr(755,root,root) %{_sbindir}/dump_lfts.sh | |
89 | %attr(755,root,root) %{_sbindir}/dump_mfts.sh | |
90 | %attr(755,root,root) %{_sbindir}/ibaddr | |
91 | %attr(755,root,root) %{_sbindir}/ibcacheedit | |
92 | %attr(755,root,root) %{_sbindir}/ibcheck* | |
93 | %attr(755,root,root) %{_sbindir}/ibclear* | |
94 | %attr(755,root,root) %{_sbindir}/ibdata* | |
95 | %attr(755,root,root) %{_sbindir}/ibdiscover.pl | |
96 | %attr(755,root,root) %{_sbindir}/ibfindnodesusing.pl | |
97 | %attr(755,root,root) %{_sbindir}/ibhosts | |
98 | %attr(755,root,root) %{_sbindir}/ibidsverify.pl | |
99 | %attr(755,root,root) %{_sbindir}/iblinkinfo | |
100 | %attr(755,root,root) %{_sbindir}/iblinkinfo.pl | |
101 | %attr(755,root,root) %{_sbindir}/ibnetdiscover | |
102 | %attr(755,root,root) %{_sbindir}/ibnodes | |
103 | %attr(755,root,root) %{_sbindir}/ibping | |
104 | %attr(755,root,root) %{_sbindir}/ibportstate | |
105 | %attr(755,root,root) %{_sbindir}/ibprint*.pl | |
106 | %attr(755,root,root) %{_sbindir}/ibqueryerrors | |
107 | %attr(755,root,root) %{_sbindir}/ibqueryerrors.pl | |
108 | %attr(755,root,root) %{_sbindir}/ibroute | |
109 | %attr(755,root,root) %{_sbindir}/ibrouters | |
110 | %attr(755,root,root) %{_sbindir}/ibstat | |
111 | %attr(755,root,root) %{_sbindir}/ibstatus | |
112 | %attr(755,root,root) %{_sbindir}/ibswitches | |
113 | %attr(755,root,root) %{_sbindir}/ibswportwatch.pl | |
114 | %attr(755,root,root) %{_sbindir}/ibsysstat | |
115 | %attr(755,root,root) %{_sbindir}/ibtracert | |
116 | %attr(755,root,root) %{_sbindir}/perfquery | |
117 | %attr(755,root,root) %{_sbindir}/saquery | |
118 | %attr(755,root,root) %{_sbindir}/set_nodedesc.sh | |
119 | %attr(755,root,root) %{_sbindir}/sminfo | |
120 | %attr(755,root,root) %{_sbindir}/smpdump | |
121 | %attr(755,root,root) %{_sbindir}/smpquery | |
122 | %attr(755,root,root) %{_sbindir}/vendstat | |
4a847c6b JB |
123 | %dir %{_sysconfdir}/infiniband-diags |
124 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/infiniband-diags/error_thresholds | |
e135a2d6 | 125 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/infiniband-diags/ibdiag.conf |
c63759de JB |
126 | %{perl_vendorlib}/IBswcountlimits.pm |
127 | %{_mandir}/man8/check_lft_balance.8* | |
128 | %{_mandir}/man8/dump_lfts.8* | |
129 | %{_mandir}/man8/dump_mfts.8* | |
130 | %{_mandir}/man8/ibaddr.8* | |
131 | %{_mandir}/man8/ibcacheedit.8* | |
132 | %{_mandir}/man8/ibcheck*.8* | |
133 | %{_mandir}/man8/ibclear*.8* | |
134 | %{_mandir}/man8/ibdata*.8* | |
135 | %{_mandir}/man8/ibdiscover.8* | |
136 | %{_mandir}/man8/ibfindnodesusing.8* | |
137 | %{_mandir}/man8/ibhosts.8* | |
138 | %{_mandir}/man8/ibidsverify.8* | |
139 | %{_mandir}/man8/iblinkinfo.8* | |
140 | %{_mandir}/man8/ibnetdiscover.8* | |
141 | %{_mandir}/man8/ibnodes.8* | |
142 | %{_mandir}/man8/ibping.8* | |
143 | %{_mandir}/man8/ibportstate.8* | |
144 | %{_mandir}/man8/ibprint*.8* | |
145 | %{_mandir}/man8/ibqueryerrors.8* | |
146 | %{_mandir}/man8/ibroute.8* | |
147 | %{_mandir}/man8/ibrouters.8* | |
148 | %{_mandir}/man8/ibstat.8* | |
149 | %{_mandir}/man8/ibstatus.8* | |
150 | %{_mandir}/man8/ibswitches.8* | |
151 | %{_mandir}/man8/ibswportwatch.8* | |
152 | %{_mandir}/man8/ibsysstat.8* | |
153 | %{_mandir}/man8/ibtracert.8* | |
4a847c6b | 154 | %{_mandir}/man8/infiniband-diags.8* |
c63759de JB |
155 | %{_mandir}/man8/perfquery.8* |
156 | %{_mandir}/man8/saquery.8* | |
157 | %{_mandir}/man8/sminfo.8* | |
158 | %{_mandir}/man8/smpdump.8* | |
159 | %{_mandir}/man8/smpquery.8* | |
160 | %{_mandir}/man8/vendstat.8* | |
161 | ||
162 | %files libs | |
163 | %defattr(644,root,root,755) | |
164 | %attr(755,root,root) %{_libdir}/libibnetdisc.so.*.*.* | |
165 | %attr(755,root,root) %ghost %{_libdir}/libibnetdisc.so.5 | |
166 | ||
167 | %files devel | |
168 | %defattr(644,root,root,755) | |
169 | %attr(755,root,root) %{_libdir}/libibnetdisc.so | |
170 | %{_libdir}/libibnetdisc.la | |
171 | %{_includedir}/infiniband/ibnetdisc.h | |
4a847c6b | 172 | %{_includedir}/infiniband/ibnetdisc_osd.h |
c63759de JB |
173 | %{_mandir}/man3/ibnd_*.3* |
174 | ||
175 | %files static | |
176 | %defattr(644,root,root,755) | |
177 | %{_libdir}/libibnetdisc.a |