packages: libibverbs-driver-nes/libibverbs-driver-nes.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Fri Sep 10 07:10:05 CEST 2010
Author: qboosh Date: Fri Sep 10 05:10:05 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/libibverbs-driver-nes:
libibverbs-driver-nes.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libibverbs-driver-nes/libibverbs-driver-nes.spec
diff -u /dev/null packages/libibverbs-driver-nes/libibverbs-driver-nes.spec:1.1
--- /dev/null Fri Sep 10 07:10:05 2010
+++ packages/libibverbs-driver-nes/libibverbs-driver-nes.spec Fri Sep 10 07:10:00 2010
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+Summary: Userspace driver for the NetEffect Ethernet Server Cluster adapters
+Summary(pl.UTF-8): Sterownik przestrzeni użytkownika dla kart NetEffect Ethernet Server Cluster
+Name: libibverbs-driver-nes
+Version: 1.1.0
+Release: 0.1
+License: BSD or GPL v2
+Group: Libraries
+Source0: http://www.openfabrics.org/downloads/nes/libnes-%{version}.tar.gz
+# Source0-md5: cc7c8a8a3ee711baab5c11dfd942b7ae
+URL: http://openib.org/
+BuildRequires: libibverbs-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libnes is a userspace driver for NetEffect Ethernet Server Cluster
+adapters. It works as a plug-in module for libibverbs that allows
+programs to use NetEffect hardware directly from userspace.
+
+%description -l pl.UTF-8
+libnes to sterownik przestrzeni użytkownika dla kart NetEffect
+Ethernet Server Cluster. Działa jako moduł ładowany przez libibverbs,
+pozwalający programom na dostęp z przestrzeni użytkownika do sprzętu
+NetEffect.
+
+%package static
+Summary: Static version of nes driver
+Summary(pl.UTF-8): Statyczna wersja sterownika nes
+Group: Development/Libraries
+Requires: libibverbs-static
+
+%description static
+Static version of nes driver, which may be linked directly into
+application.
+
+%description static -l pl.UTF-8
+Statyczna wersja sterownika nes, którą można wbudować bezpośrednio
+w aplikację.
+
+%prep
+%setup -q -n libnes-%{version}
+
+%build
+# define IBV_QPT_RAW_ETH until it's in libibverbs
+%configure \
+ CPPFLAGS="%{rpmcppflags} -DIBV_QPT_RAW_ETH=7"
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# dlopened by -rmav2.so name
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libnes.{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
+%attr(755,root,root) %{_libdir}/libnes-rdmav2.so
+%{_sysconfdir}/libibverbs.d/nes.driver
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libnes.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2010/09/10 05:10:00 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list