Search
j0ke.net Open Build Service
>
Projects
>
parastation
:
V5
>
libibverbs
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
libibverbs.spec
@@ -0,0 +1,126 @@ +Name: libibverbs +Version: 1.1.1 +Release: 1%{?dist} +Summary: A library for direct userspace use of InfiniBand hardware + +Group: System Environment/Libraries +License: GPL/BSD +Url: http://openfabrics.org/ +Source: http://openfabrics.org/downloads/libibverbs-1.1.1.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +libibverbs is a library that allows userspace processes to use +InfiniBand "verbs" as described in the InfiniBand Architecture +Specification. This includes direct hardware access for fast path +operations. + +For this library to be useful, a device-specific plug-in module should +also be installed. + +%package devel +Summary: Development files for the libibverbs library +Group: System Environment/Libraries + +%description devel +Header files for the libibverbs library. + +%package devel-static +Summary: Static development files for the libibverbs library +Group: System Environment/Libraries + +%description devel-static +Static libraries for the libibverbs library. + +%package utils +Summary: Examples for the libibverbs library +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description utils +Useful libibverbs1 example programs such as ibv_devinfo, which +displays information about InfiniBand devices. + +%prep +%setup -q -n %{name}-1.1.1 + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=%{buildroot} install +# remove unpackaged files from the buildroot +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/libibverbs*.so.* +%doc AUTHORS COPYING ChangeLog README + +%files devel +%defattr(-,root,root,-) +%{_libdir}/lib*.so +%{_includedir}/* +%{_mandir}/man3/* + +%files devel-static +%defattr(-,root,root,-) +%{_libdir}/*.a + +%files utils +%defattr(-,root,root,-) +%{_bindir}/* +%{_mandir}/man1/* + +%changelog +* Fri Jun 15 2007 Roland Dreier <rdreier@cisco.com> - 1.1.1-1 +- New upstream release + +* Wed Apr 11 2007 Roland Dreier <rdreier@cisco.com> - 1.1-1 +- New upstream release + +* Mon May 22 2006 Roland Dreier <rdreier@cisco.com> - 1.1-0.1.rc2 +- New upstream release +- Remove dependency on libsysfs, since it is no longer used +- Put section 3 manpages in devel package. +- Spec file cleanups: remove unused ver macro, improve BuildRoot, add + Requires for /sbin/ldconfig, split static libraries into + devel-static package, and don't use makeinstall any more (all + suggested by Doug Ledford <dledford@redhat.com>). + +* Thu May 4 2006 Roland Dreier <rdreier@cisco.com> - 1.0.4-1 +- New upstream release + +* Mon Mar 14 2006 Roland Dreier <rdreier@cisco.com> - 1.0.3-1 +- New upstream release + +* Mon Mar 13 2006 Roland Dreier <rdreier@cisco.com> - 1.0.1-1 +- New upstream release + +* Thu Feb 16 2006 Roland Dreier <rdreier@cisco.com> - 1.0-1 +- New upstream release + +* Wed Feb 15 2006 Roland Dreier <rolandd@cisco.com> - 1.0-0.5.rc7 +- New upstream release + +* Sun Jan 22 2006 Roland Dreier <rolandd@cisco.com> - 1.0-0.4.rc6 +- New upstream release + +* Tue Oct 25 2005 Roland Dreier <rolandd@cisco.com> - 1.0-0.3.rc5 +- New upstream release + +* Wed Oct 5 2005 Roland Dreier <rolandd@cisco.com> - 1.0-0.2.rc4 +- Update to upstream 1.0-rc4 release + +* Mon Sep 26 2005 Roland Dreier <rolandd@cisco.com> - 1.0-0.1.rc3 +- Initial attempt at Fedora Extras-compliant spec file