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