File libibumad.spec of Package libibumad
#
# spec file for package libibumad (Version 1.2.2_20081020)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libibumad
Summary: User MAD library functions used by Infiniband diagnostic and management tools
Version: 1.2.2_20081020
Release: 3
License: BSD 3-Clause; GPL v2 or later
Group: System/Libraries
Source0: http://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.bz2
Url: http://www.openfabrics.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ libibcommon-devel libibverbs-devel
ExcludeArch: s390 s390x
%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
Authors:
--------
Shahar Frank <shahar@voltaire.com>
Hal Rosenstock <halr@voltaire.com>
Sasha Khapyorsky <sashak@voltaire.com>
%package -n libibumad1
License: BSD 3-Clause; GPL v2 or later
Summary: User MAD library functions on top of user MAD modules for Infiniband diagnostic and management tools
Group: System/Libraries
Provides: %{name} = %{version}
#opensuse 10.3
Obsoletes: %{name} <= 1.1.7
%description -n libibumad1
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
Authors:
--------
Shahar Frank <shahar@voltaire.com>
Hal Rosenstock <halr@voltaire.com>
Sasha Khapyorsky <sashak@voltaire.com>
%package devel
License: BSD 3-Clause; GPL v2 or later
Group: Development/Libraries/Other
Summary: Development files for the libibumad library.
Requires: libibumad1 = %{version} libibcommon-devel
%description devel
Development files for the libibumad library.
Authors:
--------
Shahar Frank <shahar@voltaire.com>
Hal Rosenstock <halr@voltaire.com>
Sasha Khapyorsky <sashak@voltaire.com>
%prep
%setup -q
%build
%configure --disable-static --with-pic
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf ${RPM_BUILD_ROOT}
%post -n libibumad1 -p /sbin/ldconfig
%postun -n libibumad1 -p /sbin/ldconfig
%files -n libibumad1
%defattr(-, root, root)
%_libdir/libibumad*.so.*
%files devel
%defattr(-,root,root)
%_includedir/infiniband/umad.h
%_libdir/libibumad.so
%_mandir/man3/*
%changelog
* Mon Dec 01 2008 ro@suse.de
- fix dependency for devel package in baselibs.conf
* Thu Nov 27 2008 ro@suse.de
- update baselibs.conf
* Thu Nov 20 2008 jjolly@suse.de
- Updated to version 1.2.2_20081117_b70e2d2 from OFED 1.4 RC5
- Minor copyright updates
- libibumad: check that node type has IB type
- libibumad/umad.c: Cosmetic change
* Fri Nov 07 2008 ihno@suse.de
- adding ExcludeArch for s390 s390x
* Thu Nov 06 2008 ihno@suse.de
- adding baselibs.conf
* Fri Oct 24 2008 jjolly@suse.de
- Updated to version from the OFED 1.3 RC3
* Wed Sep 10 2008 jjolly@suse.de
- Updated to version 1.2.1 from the OFED 1.4 RC1
* Tue Mar 04 2008 jjolly@suse.de
- Updated to version 1.1.7 from the OFED 1.3 GA release
* Sat Feb 09 2008 jjolly@suse.de
- Update to version 1.1.6 from OFED 1.3 rc4
* Wed Nov 28 2007 crrodriguez@suse.de
- version 1.1.5, fixes only a NULL pointer dereference
* Tue Aug 07 2007 hvogel@suse.de
- Update to version 1.0.6 from OFED 1.2c
* Mon Jul 02 2007 hvogel@suse.de
- use correct version 1.0.5 that comes with OFED 1.2
* Wed Jun 20 2007 hvogel@suse.de
- Initial Package, Version 1.0.0