File sblim-cmpi-devel.spec of Package sblim-cmpi-devel
#
# spec file for package sblim-cmpi-devel (Version 1.0.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: SBLIM CMPI Provider Development Support
Name: sblim-cmpi-devel
Version: 1.0.4
Release: 2
Group: Development/Libraries/C and C++
Url: http://sblim.sf.net/
License: Other uncritical OpenSource License; EPL 1.0
BuildRequires: gcc-c++
Provides: cmpi-devel
Source0: http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
Patch0: sblim-cmpi-devel-cmpift.patch
Patch1: sblim-cmpi-devel-cmpimacs.patch
%description
This packages provides the C and C++ CMPI header files needed by
provider developers and can be used standalone. If used for C++
provider development it is also necessary to have tog-pegasus-devel
installed.
%prep
%setup -T -b 0 -n %{name}-%{version}
%patch0 -b .sblim-cmpi-devel-cmpift.patch
%patch1 -b .sblim-cmpi-devel-cmpimacs.patch
%build
%configure --disable-library
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_datadir}/doc/%{name}-%{version}
%{_includedir}/cmpi
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Sun May 18 2008 aj@suse.de
- Do not clean build root in install section.
* Sat May 03 2008 bwhiteley@suse.de
- First checkin