File libsyncml0.spec of Package libsyncml0

#
# spec file for package libsyncml0 (Version 0.4.4)
#
# Copyright (c) 2007 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/
#

# norootforbuild

Name:           libsyncml0
BuildRequires:  libsoup-devel libwbxml2-devel libxml2-devel openobex-devel
URL:            http://libsyncml.opensync.org/
Version:        0.4.4
Release:        29
Summary:        Library providing support for the SyncML protocol
License:        LGPL v2 or later
Group:          Productivity/Other
Provides:       libsyncml = %{version}-%{release}
Obsoletes:      libsyncml
Autoreqprov:    on
Source:         libsyncml-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       libwbxml2-0 glib2 libxml2 gnutls libgcrypt libgpg-error openobex libsoup >= 2.2.93

%description
Libsyncml is a implementation of the SyncML protocol. It allows
programs like OpenSync the synchronization of SyncML-enabled devices,
such as the SonyEricsson P800, as well as remote OpenSync to OpenSync
synchronization over the internet. You need to install the
libopensync-* packages and msynctool for that, too.



Authors:
--------
    Armin Bauer <armin.bauer@opensync.org>

%package -n libsyncml-devel
Summary:        Header files, libraries and development documentation for libsyncml
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version} libxml2-devel gnutls-devel libgcrypt-devel libgpg-error-devel openobex-devel libwbxml2-devel libsoup-devel

%description -n libsyncml-devel
This package contains the header files, static libraries and
development documentation for libsyncml. If you like to develop
programs using libsyncml, you will need to install this package.



Authors:
--------
    Armin Bauer <armin.bauer@opensync.org>

%package -n libsyncml-tools
Summary:        Library providing support for the SyncML protocol
Group:          Productivity/Other
Requires:       %{name} = %{version}

%description -n libsyncml-tools
Libsyncml is a implementation of the SyncML protocol. It allows
programs like OpenSync the synchronization of SyncML-enabled devices,
such as the SonyEricsson P800, as well as remote OpenSync to OpenSync
synchronization over the internet. You need to install the
libopensync-* packages and msynctool for that, too.



Authors:
--------
    Armin Bauer <armin.bauer@opensync.org>

%prep
%setup -q -n libsyncml-%{version}

%build
autoreconf -sif
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir --localstatedir=%_localstatedir --mandir=%_mandir
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/%{_libdir}/libsyncml.*a

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

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

%files -n libsyncml-devel
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README TODO
%{_libdir}/libsyncml.so
%{_libdir}/pkgconfig/libsyncml-1.0.pc
%dir %{_includedir}/libsyncml-1.0
%dir %{_includedir}/libsyncml-1.0/libsyncml/
%{_includedir}/libsyncml-1.0/libsyncml/*

%files -n libsyncml-tools
%defattr(-,root,root)
%{_bindir}/syncml-http-server
%{_bindir}/syncml-http-client
%{_bindir}/syncml-obex-client
%{_mandir}/man1/syncml-http-server.1*
%{_mandir}/man1/syncml-obex-client.1*

%changelog
* Mon May 07 2007 - dgollub@suse.de
- created subpackage tools
- renamed package. libsyncml -> libsyncml0
- updated BuildRequires. wbxml2 -> libwbxml2-devel
* Thu Mar 29 2007 - cstender@suse.de
- updated to version 0.4.4
  o added a simple syncml-http-client app
  o added Chal, EMI, Meta and DOCTYPE handling support
  o added initial support for ssl
  o fixed some memory leaks
  o fixed unit test build for check 0.9.5
  o fixed device dump output
  o fixed libsoup warning
* Sun Nov 26 2006 - dgollub@suse.de
- added DOCTYPE to XML header required by Nokia 6280 and N70 (#224063)
* Mon Nov 06 2006 - cstender@suse.de
- updated to version 0.4.2
  o fixed a bug with Nokia 6230 series
  o send missing disconnect OBEX signal
* Fri Sep 29 2006 - cstender@suse.de
- updated to version 0.4.1
  o added a function to assemble devinf
  o fixed the devinf parser
  o added additional functions
  o pulled in several upstream patches
  o added manpages for syncml-http-server and syncml-obex-client
  o implemented san alerts for the client
* Mon Aug 28 2006 - cstender@suse.de
- updated to version 0.4.0+svn183
* Thu Jul 06 2006 - dgollub@suse.de
- updated to version 0.0.4_SVN182:
  o added function to dump device information
  o improved support of Nokia 6230s series
  o added tool for testing syncml via obex - syncml-obex-client
- added patch for wbxml linking
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Dec 14 2005 - ro@suse.de
- fixed requires for devel package
* Wed Dec 14 2005 - dgollub@suse.de
- fixed gcc warning about ignored 'lockf' return value
* Mon Dec 12 2005 - dgollub@suse.de
- initial version of the package 0.0.4_SVN80
openSUSE Build Service is sponsored by