]>
Commit | Line | Data |
---|---|---|
f0472db5 JB |
1 | Summary: Userspace driver for the Chelsio T4 iWARP RNIC |
2 | Summary(pl.UTF-8): Sterownik przestrzeni użytkownika dla kart Chelsio T4 iWARP RNIC | |
3 | Name: libibverbs-driver-cxgb4 | |
d15081b2 | 4 | Version: 1.2.1 |
f0472db5 JB |
5 | Release: 1 |
6 | License: BSD or GPL v2 | |
7 | Group: Libraries | |
8 | Source0: http://www.openfabrics.org/downloads/cxgb4/libcxgb4-%{version}.tar.gz | |
d15081b2 | 9 | # Source0-md5: f2f43e203a63007e091c6a0b1b57b041 |
f0472db5 JB |
10 | URL: http://openib.org/ |
11 | BuildRequires: libibverbs-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
f0332199 | 14 | %undefine __cxx |
15 | ||
f0472db5 JB |
16 | %description |
17 | libcxgb4 is a userspace driver for the Chelsio T4 iWARP RNIC. It works | |
18 | as a plug-in module for libibverbs that allows programs to use Chelsio | |
19 | RNICs directly from userspace. | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | libcxgb4 to sterownik przestrzeni użytkownika dla kart Chelsio T4 | |
23 | iWARP RNIC. Działa jako moduł ładowany przez libibverbs, pozwalający | |
24 | programom na dostęp z przestrzeni użytkownika do interfejsów RNIC | |
25 | Chelsio. | |
26 | ||
27 | %package static | |
28 | Summary: Static version of cxgb4 driver | |
29 | Summary(pl.UTF-8): Statyczna wersja sterownika cxgb4 | |
30 | Group: Development/Libraries | |
31 | Requires: libibverbs-static | |
32 | ||
33 | %description static | |
34 | Static version of cxgb4 driver, which may be linked directly into | |
35 | application. | |
36 | ||
37 | %description static -l pl.UTF-8 | |
f0332199 | 38 | Statyczna wersja sterownika cxgb4, którą można wbudować bezpośrednio w |
39 | aplikację. | |
f0472db5 JB |
40 | |
41 | %prep | |
42 | %setup -q -n libcxgb4-%{version} | |
43 | ||
44 | %build | |
45 | %configure | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | # dlopened by -rmav2.so name | |
55 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcxgb4.{so,la} | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post -p /sbin/ldconfig | |
61 | %postun -p /sbin/ldconfig | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc AUTHORS COPYING ChangeLog README | |
66 | %attr(755,root,root) %{_libdir}/libcxgb4-rdmav2.so | |
67 | %{_sysconfdir}/libibverbs.d/cxgb4.driver | |
68 | ||
69 | %files static | |
70 | %defattr(644,root,root,755) | |
71 | %{_libdir}/libcxgb4.a |