File sblim-tools-libra.spec of Package sblim-tools-libra

#
# spec file for package sblim-tools-libra (Version 0.5.5)
#
# 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/
#



Name:           sblim-tools-libra
Version:        0.5.5
Release:        5
Group:          System/Libraries
Url:            http://sblim.sourceforge.net/wbemsmt.html
License:        IBM Public License; Common Public License 1.0, Eclipse Public License
Source:         http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
Patch1:         sblim-tools-libra-0.5.5-docdir.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        SBLIM Common Resource Access Library for WBEM-SMT tasks
%define debug_package_requires libRaTools0 = %{version}-%{release}

%description
The tools-libra package provides common functionality required by the
task-specific resource access layers of wbem-smt tasks such as cmpi-dns
and cmpi-samba.



%package -n libRaTools0
License:        IBM Public License; Common Public License 1.0, Eclipse Public License
%define libname libRaTools0
Group:          System/Libraries
Summary:        SBLIM Common Resource Access Library for WBEM-SMT tasks

%description -n %libname
The tools-libra package provides common functionality required by 
the task-specific resource access layers of wbem-smt tasks such as 
cmpi-dns and cmpi-samba.


%package devel
License:        IBM Public License; Common Public License 1.0, Eclipse Public License
Group:          System/Libraries
Summary:        Development files for libRaTools
Provides:       libRaTools-devel = %version
Requires:       %libname = %{version}

%description devel
The tools-libra package provides common functionality required by the
task-specific resource access layers of the wbem-smt tasks such as
cmpi-dns and cmpi-samba. This package includes the header files and
link libraries for dependent provider packages.



%prep
%setup -q
%patch1

%build
autoreconf -fi
%configure \
	--disable-static \
make

%clean
rm -rf %buildroot

%install
make DESTDIR=%buildroot install
rm %buildroot/%{_libdir}/*.la

%post -n %libname -p /sbin/ldconfig

%postun -n %libname -p /sbin/ldconfig

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

%files devel
%defattr(-,root,root)
%{_includedir}/sblim
%{_libdir}/libRaTools.so
%_docdir/%name

%changelog
* Wed Oct 22 2008 mrueckert@suse.de
- fix debug_packages_requires define
* Mon Aug 25 2008 ro@suse.de
- fix debug package requires
* Fri Aug 08 2008 mmarek@suse.cz
- don't use ./configure --docdir, needs too new autoconf
* Fri Aug 08 2008 mmarek@suse.cz
- packaged sblim-tools-libra-0.5.5 (fate#304337)
openSUSE Build Service is sponsored by