File libibmad.spec of Package libibmad

#
# spec file for package libibmad (Version 1.2.2_20081117_b70e2d2)
#
# 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:           libibmad
Summary:        Low layer Infiniband functions for use by diagnostic and management programs
Version:        1.2.2_20081117_b70e2d2
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:  libibcommon-devel libibumad-devel libibverbs-devel
ExcludeArch:    s390 s390x 

%description
libibmad provides low layer IB functions for use by the IB diagnostic
and management programs. These include MAD, SA, SMP, and other basic IB
functions



Authors:
--------
    Shahar Frank <shahar@voltaire.com>
    Hal Rosenstock <halr@voltaire.com>
    Sasha Khapyorsky <sashak@voltaire.com>

%package -n libibmad1
License:        BSD 3-Clause; GPL v2 or later
Summary:        Low layer Infiniband diagnostic and management programs
Group:          System/Libraries
Provides:       %{name} = %{version}
Obsoletes:      %{name} <= 1.1.6

%description -n libibmad1
libibmad provides low layer IB functions for use by the IB diagnostic
and management programs. These include MAD, SA, SMP, and other basic IB
functions



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 libibmad library.
Requires:       libibmad1 = %{version} glibc-devel

%description devel
Development files for the libibmad 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 -rf %{buildroot}%{_libdir}/*.la

%clean
rm -rf ${RPM_BUILD_ROOT}

%post -n libibmad1 -p /sbin/ldconfig

%postun -n libibmad1 -p /sbin/ldconfig

%files -n libibmad1
%defattr(-, root, root)
%{_libdir}/libibmad*.so.*

%files devel
%defattr(-,root,root)
%_includedir/infiniband/mad.h
%_libdir/libibmad.so

%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 1.2.2_20081117_b70e2d2 from OFED 1.4 RC5
  - Updated copyright information
  - libibmad/dump: print more PortInfo:CapabilityMask bits
  - libibmad/src/mad.c: indentation fix
  - libibmad: eliminate compiler warnings on x86_64
* 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.4 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.6 from the OFED 1.3 GA release
* Sat Feb 09 2008 jjolly@suse.de
- Update to version 1.1.5 from OFED 1.3 rc4
* Wed Nov 28 2007 crrodriguez@suse.de
- update to version 1.1.4
- disable static libraries
- more than 40 bufxies since 1.0.6, read Changelog for details
* 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 3.2.0
openSUSE Build Service is sponsored by