Package libibmad: Specfile

Summary: OpenIB InfiniBand Management and Diagnostic Tools

Name: libibmad
Version: 1.2.3_20090314
Release: alt0.M41.1

License: GPL/BSD

Packager: Stanislav Ievlev <inger@altlinux.org>

Group: System/Libraries

Source: http://openib.org/downloads/%name-%version.tar
Url: http://openib.org/

BuildRequires(pre): rpm-build-compat
BuildPreReq: libibumad-devel-static >= 1.2.3-alt0.M41.2
Requires: libibumad >= 1.2.3-alt0.M41.2

# Automatically added by buildreq on Thu Aug 23 2007
BuildRequires: gcc-c++ glibc-devel-static libibumad-devel

%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. 

%package devel
Summary: Development files for the libibmad library
Group: Development/C
Requires: %name = %version-%release libibumad-devel

%description devel
Development files for the libibmad library.

%package devel-static
Summary: Static development files for the libibmad library
Group: Development/C
Requires: %name-devel = %version-%release libibumad-devel-static

%description devel-static
Static development files for the libibmad library.

%prep
%setup -q -n %name-%version

%build
%configure
sed -i -e '1a\echo=echo' libtool
%make_build

%install
%make_install_std

%files
%doc AUTHORS COPYING ChangeLog
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_includedir/infiniband/*

%files devel-static
%_libdir/*.a

%changelog
* Wed Oct 14 2009 Stanislav Ievlev <inger@altlinux.org> 1.2.3_20090314-alt0.M41.1
- update to 1.2.3_20090314 (ofed-1.4)

* Wed Oct 14 2009 Stanislav Ievlev <inger@altlinux.org> 1.2.3_20081118-alt0.M41.1
- build for 4.1

* Wed Apr 29 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3_20081118-alt1
- Version 1.2.3_20081118

* Fri Sep 19 2008 Stanislav Ievlev <inger@altlinux.org> 1.1.6-alt0.M41.1
- build for 4.1

* Thu Sep 18 2008 Stanislav Ievlev <inger@altlinux.org> 1.1.6-alt1
- OFED 1.3.1

* Thu Aug 23 2007 Stanislav Ievlev <inger@altlinux.org> 1.0.6-alt1
- Initial build