File libsdp.spec of Package libsdp

#
# spec file for package libsdp (Version 1.1.99)
#
# Copyright (c) 2009 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:           libsdp
Summary:        Infiniband Sockets Direct Protocol - user space library
Version:        1.1.99
Release:        85
License:        BSD 3-Clause; GPL v2 or later
Group:          System/Libraries
# bug437293
%ifarch ppc64
Obsoletes:      libsdp-64bit
%endif
#
Source0:        %{name}-%{version}.tar.bz2
# XXX: The package name should be fixed properly after 10.3
Source1:        libsdp.rpmlintrc
Url:            http://www.openfabrics.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExcludeArch:    s390 s390x

%description
libsdp can be LD_PRELOAD-ed to have a sockets application use
InfiniBand Sockets Direct Protocol (SDP) instead of TCP, transparently
and without recompiling the application.



%package devel
License:        BSD 3-Clause; GPL v2 or later
Group:          Development/Libraries/Other
Summary:        Infiniband Sockets Direct Protocol - user space library
Requires:       %{name} = %{version}
# bug437293
%ifarch ppc64
Obsoletes:      libsdp-devel-64bit
%endif
#

%description devel
libsdp can be LD_PRELOAD-ed to have a sockets application use
InfiniBand Sockets Direct Protocol (SDP) instead of TCP, transparently
and without recompiling the application.



%prep
%setup -q

%build
%configure
make

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf ${RPM_BUILD_ROOT}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%config %_sysconfdir/libsdp.conf
%_libdir/libsdp.so.*
%ifarch %ix86
%_libdir/libsdp_sys.so.*
%endif

%files devel
%defattr(-,root,root)
%_libdir/libsdp.la
%_libdir/libsdp.so
%ifarch %ix86
%_libdir/libsdp_sys.la
%_libdir/libsdp_sys.so
%endif

%changelog
* Wed Jan 07 2009 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Thu Dec 11 2008 jjolly@suse.de
- Updated to package from OFED 1.4 GA
  - conflict when running an application that use yacc. (bof#1405)
* Thu Nov 06 2008 ihno@suse.de
- Adding baselibs.conf
- Adding ExcludeArch s390 s390x
* Tue Oct 28 2008 jjolly@suse.de
- Updated to version from OFED 1.4 rc3
* Tue Aug 28 2007 aj@suse.de
- Ignore shared library policy for now.
* Tue Aug 21 2007 hvogel@suse.de
- Update to version from OFED 1.2.5
* Mon Jul 09 2007 hvogel@suse.de
- Use correct version
* Wed Jul 04 2007 hvogel@suse.de
- add local GPL COPYING file and remove remote reference [#288794]
* Mon Jul 02 2007 hvogel@suse.de
- Update to OFED 1.2 version
* Wed Jun 20 2007 hvogel@suse.de
- Initial Package, Version 1.1.99
openSUSE Build Service is sponsored by