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