File sblim-tools-libra.spec of Package sblim-tools-libra
#
# spec file for package sblim-tools-libra (Version 1.0)
#
# Copyright (c) 2010 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: 1.0
Release: 1
Group: System/Libraries
Url: http://www.sblim.org
License: IBM Public License .. ; Common Public License 1.0, Eclipse Public License
Source: http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
Patch1: %{name}-%{version}-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: Development/Libraries/C and C++
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