File sblim-sfcc.spec of Package sblim-sfcc

#
# spec file for package sblim-sfcc (Version 2.1.0)
#
# Copyright (c) 2008 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:           sblim-sfcc
Version:        2.1.0
Release:        6
Url:            http://sblim.wiki.sourceforge.net/
License:        Other uncritical OpenSource License
Group:          System/Management
Summary:        Small Footprint CIM Client Library
Source:         %{name}-%{version}.tar.bz2
Patch0:         %{name}-%{version}-includes.patch
Patch1:         %{name}-%{version}-retval.patch
Patch2:         %{name}-%{version}-cimhostport.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++
BuildRequires:  libcurl-devel

%description
Small Footprint CIM Client Library (sfcc) Runtime Libraries



Authors:
--------
    SBLIM Project

%package devel
License:        Other uncritical OpenSource License
Group:          System/Management
Summary:        Small Footprint CIM Client Library
Requires:       %{name} = %{version} glibc-devel

%description devel
Small Footprint CIM Client Library (sfcc) Header Files and Link
Libraries



Authors:
--------
    SBLIM Project

%prep
%setup -q
%patch0
%patch1
%patch2

%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --disable-static --with-pic
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install docdir=%{_docdir}/%{name}
rm %{buildroot}%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%doc %{_mandir}/man3/*
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so

%changelog
* Wed Nov 12 2008 prusnak@suse.cz
- added 5 more fixes to retval.patch
- merged implicit-fortify-decl.patch and stdlib.patch into includes.patch
* Thu Oct 09 2008 crrodriguez@suse.de
- fix build, implicit-fortify-decl backend/cimxml/indicationlistener.c:85
- disable static libraries
- correct -devel package requires
* Tue Sep 09 2008 prusnak@suse.cz
- updated to 2.1.0
  * New features:
    - 1820015 sfcc: prepare for indication support
    - 1854813 sfcc: new parser
    - 1867649 sfcc: embedded instance support (receiving side)
    - 1828588 sfcc: Indication support (CIMXML)
    - 1828584 sfcc: large volume data support (CIMXML)
  * Bugs:
    - 1887125 sfcc: cleanup due to new parser
    - 1940546: Memory corruption in AsciiToXmlStr()
- fixed undefined variable (cimhostport.patch)
* Tue May 20 2008 ro@suse.de
- add some missing return values for non-void functions
* Wed Mar 19 2008 prusnak@suse.cz
- updated to 2.0.3
  * fixed sfcc generates incorrect XML for complex properties
  * sfcc reports incorrect namespace for associators operation
* Wed Nov 21 2007 prusnak@suse.cz
- updated to 2.0.2
  * fixed handling of complex array IN arguments
  * fixed issue with the SFCC xml parsing code
  * invokeMethod test now works correctly
* Tue Jul 17 2007 prusnak@suse.cz
- fixed missing include <stdlib.h> for sources in TEST directory
  (stdlib.patch)
* Tue Jul 17 2007 prusnak@suse.cz
- fixed documentation files handling
* Fri Jul 13 2007 prusnak@suse.cz
- created package (version 2.0.1)
- based on BuildService package sblim-sfcc in home:mihajlov
openSUSE Build Service is sponsored by