Author: qboosh                       Date: Wed Sep  8 19:52:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, an example of packaging libibverbs driver

---- Files affected:
packages/libibverbs:
   libibverbs-driver-cxgb3.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libibverbs/libibverbs-driver-cxgb3.spec
diff -u /dev/null packages/libibverbs/libibverbs-driver-cxgb3.spec:1.1
--- /dev/null   Wed Sep  8 21:52:31 2010
+++ packages/libibverbs/libibverbs-driver-cxgb3.spec    Wed Sep  8 21:52:25 2010
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+Summary:       Userspace driver for the Chelsio T3 iWARP RNIC
+Summary(pl.UTF-8):     Sterownik przestrzeni użytkownika dla kart Chelsio T3 
iWARP RNIC
+Name:          libibverbs-driver-cxgb3
+Version:       1.2.5
+Release:       1
+License:       BSD or GPL v2
+Group:         Libraries
+Source0:       
http://www.openfabrics.org/downloads/cxgb3/libcxgb3-%{version}.tar.gz
+# Source0-md5: ed2eaf99bc7cce401dd0549505febdd1
+URL:           http://openib.org/
+BuildRequires: libibverbs-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libcxgb3 is a userspace driver for the Chelsio T3 iWARP RNIC. It works
+as a plug-in module for libibverbs that allows programs to use Chelsio
+RNICs directly from userspace.
+
+%description -l pl.UTF-8
+libcxgb3 to sterownik przestrzeni użytkownika dla kart Chelsio T3
+iWARP RNIC. Działa jako moduł ładowany przez libibverbs, pozwalający
+programom na dostęp z przestrzeni użytkownika do interfejsów RNIC
+Chelsio.
+
+%package static
+Summary:       Static version of cxgb3 driver
+Summary(pl.UTF-8):     Statyczna wersja sterownika cxgb3
+Group:         Development/Libraries
+Requires:      libibverbs-static
+
+%description static
+Static version of cxgb3 driver, which may be linked directly into
+application.
+
+%description static -l pl.UTF-8
+Statyczna wersja sterownika cxgb3, którą można wbudować bezpośrednio
+w aplikację.
+
+%prep
+%setup -q -n libcxgb3-%{version}
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+# dlopened by -rmav2.so name
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcxgb3.{so,la}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog README
+%attr(755,root,root) %{_libdir}/libcxgb3-rdmav2.so
+%{_sysconfdir}/libibverbs.d/cxgb3.driver
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libcxgb3.a
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/09/08 19:52:25  qboosh
+- new, an example of packaging libibverbs driver
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to