Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 46aba2c4c1838cfb517cdc00b5dc7e2b > files > 2

libibumad-1.2.3-1.el5.src.rpm

Summary: OpenFabrics Alliance InfiniBand umad (user MAD) library
Name: libibumad
Version: 1.2.3
Release: 1%{?dist}
License: GPL/BSD
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: http://www.openfabrics.org/downloads/management/%{name}-%{version}-ofed-1.4.1-rc3.tar.gz
Url: http://openfabrics.org
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: libibcommon-devel >= 1.1.2, libtool
ExclusiveArch: i386 x86_64 ia64 ppc ppc64

%description
libibumad provides the user MAD library functions which sit on top of 
the user MAD modules in the kernel. These are used by the IB diagnostic
and management tools, including OpenSM. 

%package devel
Summary: Development files for the libibumad library
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}, libibcommon-devel
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig

%description devel
Development files for the libibumad library.

%package static
Summary: Static version of the libibumad library
Group: System Environment/Libraries
Requires: %{name}-devel = %{version}-%{release}

%description static
Static version of the libibumad library.

%prep
%setup -q -n %{name}-%{version}_20090314

%build
%configure
make %{?_smp_mflags}

%install
make DESTDIR=${RPM_BUILD_ROOT} 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
%post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_libdir}/libibumad*.so.*
%{_mandir}/man3/*
%doc AUTHORS COPYING ChangeLog 

%files devel
%defattr(-,root,root)
%{_libdir}/libibumad.so
%{_includedir}/infiniband/*.h

%files static
%defattr(-,root,root)
%{_libdir}/libibumad.a

%changelog
* Thu Apr 16 2009 Doug Ledford <dledford@redhat.com> - 1.2.3-1.el5
- Update to ofed 1.4.1-rc3 version
- Related: bz459652

* Tue Sep 16 2008 Doug Ledford <dledford@redhat.com> - 1.2.1-1
- Update to latest upstream version
- Resolves: bz451462

* Tue Apr 01 2008 Doug Ledford <dledford@redhat.com> - 1.1.7-1
- Update to OFED 1.3 final bits
- Related: bz428197

* Thu Jan 24 2008 Doug Ledford <dledford@redhat.com> - 1.1.6-1
- Build against latest libibcommon
- Related: bz428197

* Fri Jan 18 2008 Doug Ledford <dledford@redhat.com> - 1.1.6-0.1
- Initial import from upstream