File libibcommon.spec of Package libibcommon

#
# spec file for package libibcommon (Version 1.1.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:           libibcommon
Summary:        Common Utility functions for IB diagnostic and management tools
Version:        1.1.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++ libibverbs-devel
ExcludeArch:    s390 s390x

%description
libibcommon provides common utility functions for the IB diagnostic and
management tools



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

%package -n libibcommon1
License:        BSD 3-Clause; GPL v2 or later
Summary:        Common Utility functions for IB diagnostic and management tools
Group:          System/Libraries
Provides:       %{name} = %{version}
#opensuse 10.3
Obsoletes:      %{name} <= 1.0.8

%description -n libibcommon1
libibcommon provides common utility functions for the IB diagnostic and
management tools



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/C and C++
Summary:        Development files for the libibcommon library
Requires:       libibcommon1 = %{version} glibc-devel

%description devel
Development files for the libibcommon 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 libibcommon1 -p /sbin/ldconfig

%postun -n libibcommon1 -p /sbin/ldconfig

%files -n libibcommon1
%defattr(-, root, root)
%{_libdir}/libibcommon*.so.*
%doc AUTHORS COPYING ChangeLog

%files devel
%defattr(-,root,root)
%_includedir/infiniband/common.h
%_libdir/libibcommon.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.1.2_20081020 from OFED 1.4 RC5
  - Copyright information updates
* 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 release
* Wed Sep 10 2008 jjolly@suse.de
- Updated to 1.1.1 from the OFED 1.4 RC1
* Tue Mar 04 2008 jjolly@suse.de
- Updated to 1.0.8 from OFED 1.3 GA release
* Sat Feb 09 2008 jjolly@suse.de
- Update to 1.0.7 from OFED 1.3 rc4
* Wed Nov 28 2007 crrodriguez@suse.de
- Update to 1.0.6 from OFED 1.3
  * libibcommon,infiniband-diags: move get_build_version() to diags
  * libibcommon: remove static _build_version var from common.h
  * management/Makefile: remove obsolete .orig Makefile stuff
* Tue Aug 07 2007 hvogel@suse.de
- Update to 1.0.4 from OFED 1.2c
* Mon Jul 02 2007 hvogel@suse.de
- Update to OFED 1.2 release
* Wed Jun 20 2007 hvogel@suse.de
- Initial Package, Version 1.0.3
openSUSE Build Service is sponsored by