]>
Commit | Line | Data |
---|---|---|
fe1dee32 JB |
1 | # TODO: PLDize init script |
2 | Summary: InfiniBand SSA service | |
3 | Summary(pl.UTF-8): Usługa InfiniBand SSA | |
4 | Name: ibssa | |
5 | Version: 0.0.8 | |
6 | Release: 1 | |
7 | License: BSD or GPL v2 | |
8 | Group: Networking/Utilities | |
9 | Source0: https://www.openfabrics.org/downloads/management/ssa/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: d287b22ee37dee7ba385fade87b0b422 | |
11 | URL: https://www.openfabrics.org/ | |
12 | BuildRequires: glib2-devel >= 1:2.2 | |
13 | BuildRequires: libibumad-devel >= 1.3.10 | |
14 | BuildRequires: libibverbs-devel >= 1.1.8 | |
3e9d0541 | 15 | BuildRequires: librdmacm-devel >= 1.0.21 |
fe1dee32 JB |
16 | BuildRequires: pkgconfig |
17 | Requires: glib2 >= 1:2.2 | |
18 | Requires: libibumad >= 1.3.10 | |
19 | Requires: libibverbs >= 1.1.8 | |
3e9d0541 | 20 | Requires: librdmacm >= 1.0.21 |
fe1dee32 JB |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | The InfiniBand SSA service provides a user space implementation of a | |
25 | distributed SA currently resolving path record lookups. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Usługa InfiniBand SSA dostarcza implementację przestrzeni użytkownika | |
29 | rozproszonego SA, obecnie odpowiadającego na zapytania o rekordy | |
30 | ścieżek. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
36 | %configure \ | |
37 | rdmascript=rdma \ | |
38 | --disable-silent-rules | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | install -d $RPM_BUILD_ROOT/etc/rc.d | |
48 | %{__mv} $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc AUTHORS COPYING README ibssa_opts.cfg ssa_release_notes.txt | |
56 | %attr(755,root,root) %{_sbindir}/ibssa | |
57 | #%attr(754,root,root) /etc/rc.d/init.d/ibssa |