diff --git a/.libnes.metadata b/.libnes.metadata new file mode 100644 index 0000000..ad540d2 --- /dev/null +++ b/.libnes.metadata @@ -0,0 +1 @@ +a4e34ec9beb8a83f852fef539397754525e2f592 SOURCES/libnes-1.1.3.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/libnes.spec b/SPECS/libnes.spec new file mode 100644 index 0000000..5ecb751 --- /dev/null +++ b/SPECS/libnes.spec @@ -0,0 +1,119 @@ +Name: libnes +Version: 1.1.3 +Release: 3%{?dist} +Summary: NetEffect RNIC Userspace Driver +Group: System Environment/Libraries +License: GPLv2 or BSD +Url: http://www.openfabrics.org/ +Source: http://www.openfabrics.org/downloads/nes/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libibverbs-devel > 1.1.4 +%ifnarch ia64 %{sparc} %{arm} +BuildRequires: valgrind-devel +%endif +Provides: libibverbs-driver.%{_arch} +ExcludeArch: s390 s390x +Obsoletes: %{name}-devel +%description +Userspace hardware driver for use with the libibverbs InfiniBand/iWARP verbs +library. This driver enables NetEffect iWARP capable ethernet devices. + +%package static +Summary: Static version of the libnes driver +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} +%description static +Static version of libnes that may be linked directly to an application. + +%prep +%setup -q + +%build +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +%ifnarch ia64 %{sparc} %{arm} +%configure --with-valgrind +%else +%configure +%endif +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall +# remove unpackaged files from the buildroot +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{_libdir}/*.so* +%{_sysconfdir}/libibverbs.d/*.driver +%doc AUTHORS COPYING + +%files static +%defattr(-,root,root,-) +%{_libdir}/*.a + +%changelog +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jan 03 2012 Doug Ledford - 1.1.3-1 +- Update to latest upstream release +- Remove now obsolete patch + +* Wed Jul 20 2011 Doug Ledford - 1.1.1-3 +- Improve usage of valgrind (don't attempt to use it where it doesn't exist) + +* Wed Jul 20 2011 Doug Ledford - 1.1.1-2 +- Initial import into Fedora +- Add valgrind support + +* Mon Jan 17 2011 Doug Ledford - 1.1.1-1.el6 +- Update to latest upstream release +- Related: bz664801 + +* Mon Jan 25 2010 Doug Ledford - 0.9.0-2.el6 +- Correct license tag +- Related: bz543948 + +* Mon Dec 21 2009 Doug Ledford - 0.9.0-1.el5 +- Update to latest upstream source +- Build against new libibverbs API +- Related: bz518218 + +* Mon Jun 22 2009 Doug Ledford - 0.6-2.el5 +- Rebuild against libibverbs that isn't missing the proper ppc wmb() macro +- Related: bz506258 + +* Sun Jun 21 2009 Doug Ledford - 0.6-1.el5 +- Build against non-XRC libibverbs +- Update to ofed 1.4.1 final bits +- Remove no longer needed memleak patch +- Related: bz506258, bz506097 + +* Fri Apr 17 2009 Doug Ledford - 0.5-5.el5 +- Fix a minor memleak (from upstream) +- Rebuild against libibverbs that has xrc support +- Related: bz459652 + +* Thu Sep 18 2008 Doug Ledford - 0.5-4 +- Add a build flag to silence some compile warnings + +* Tue Sep 16 2008 Doug Ledford - 0.5-3 +- Upstream has updated the libnes tarball without changing the version. Pick + up the libnes-0.5.tar.gz tarball that's dated 13-Jun-2008 +- Resolves: bz451470 + +* Thu Feb 14 2008 Doug Ledford - 0.5-2 +- Obsolete the old -devel package +- Related: bz432765 + +* Tue Jan 15 2008 Doug Ledford - 0.5-1 +- Initial driver import +- Related: bz428197