]> git.pld-linux.org Git - SPECS.git/blob - ibsim.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ibsim.spec
1 Summary:        Voltaire Infiniband Fabric Simulator
2 Summary(pl.UTF-8):      Symulator materiału Infiniband Voltaire
3 Name:           ibsim
4 Version:        0.7
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
9 # Source0-md5:  7ff8756f222799d042f7309777cc711d
10 URL:            http://www.openfabrics.org/
11 BuildRequires:  libibmad-devel
12 BuildRequires:  libibumad-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 ibsim emulates the fabric behavior by using MAD communication with the
17 SM/SA and the PerfMgr. This simple tool is ideally suitable for
18 various research, development, debug and testing tasks where IB subnet
19 management is involved.
20
21 %description -l pl.UTF-8
22 ibsim emuluje zachowanie materiału poprzez wykorzystanie komunikacji
23 MAD wraz z SM/SA oraz PerfMgr. To proste narzędzie nadaje się idealnie
24 do różnych badań, rozwijania oprogramowania, zadań diagnostycznych i
25 testowych związanych z zarządzaniem podsieciami IB.
26
27 %prep
28 %setup -q
29
30 %build
31 CFLAGS="%{rpmcflags}" \
32 LDFLAGS="%{rpmldflags}" \
33 %{__make} \
34         CC="%{__cc}" \
35         prefix=%{_prefix} \
36         libpath=%{_libdir} \
37         binpath=%{_bindir}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 # NOTE: flags are needed here to avoid recompilation
43 CFLAGS="%{rpmcflags}" \
44 LDFLAGS="%{rpmldflags}" \
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT \
47         prefix=%{_prefix} \
48         libpath=%{_libdir} \
49         binpath=%{_bindir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README TODO
57 %attr(755,root,root) %{_bindir}/ibsim
58 %dir %{_libdir}/umad2sim
59 %attr(755,root,root) %{_libdir}/umad2sim/libumad2sim.so
This page took 0.437672 seconds and 3 git commands to generate.