File libopensync-plugin-kdepim.spec of Package libopensync-plugin-kdepim

#
# spec file for package libopensync-plugin-kdepim (Version 0.22)
#
# 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/
#

# norootforbuild


Name:           libopensync-plugin-kdepim
BuildRequires:  kdelibs3-devel kdepim3-devel libkcal-devel libopensync-devel xorg-x11-devel
Url:            http://www.opensync.org
Version:        0.22
Release:        152
Summary:        KDE PIM Synchronization Plug-In for OpenSync
License:        GPL v2 or later
Group:          Productivity/Other
AutoReqProv:    on
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       kdepim3
%define prefix   /usr

%description
This plug-in allows applications using OpenSync to synchronize to and
from KDE Addressbook.

Additionally install the libopensync package.



Authors:
--------
    Stewart Heitmann <sheitmann@users.sourceforge.net>
    Eduardo Pereira Habkost <ehabkost@conectiva.com.br>

%prep
%setup -q

%build
. /etc/opt/kde3/common_options
autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --libdir=%{_libdir} \
%if "%_lib" != "lib" 
	--enable-libsuffix=64 \
%endif
	--localstatedir=%{_localstatedir}
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
# only needed for development, and currently there's no package needing it.
rm $RPM_BUILD_ROOT/%{_libdir}/opensync/plugins/kdepim_lib.la
rm $RPM_BUILD_ROOT/%{_libdir}/opensync/plugins/kdepim_sync.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%{_libdir}/opensync/plugins/kdepim_lib.so
%{_libdir}/opensync/plugins/kdepim_sync.so
%{_datadir}/opensync/defaults/kdepim-sync
%doc AUTHORS COPYING INSTALL README

%changelog
* Fri Apr 11 2008 cstender@suse.de
- added libkcal-devel to buildrequires
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Thu Mar 29 2007 cstender@suse.de
- updated to version 0.22
  o fixed make distcheck and out of tree builds
  o ignore entries from birthday resource
  o cleaned up build system and use config.h
  o hide all symbols that should be not external used
  o added unit tests
  o create hash of notes instead of storing full text in
  hashtable by using a base64 representation md5 sum
  o avoid leaking of sensitive information in trace files
- added XMPM-kdepim patches:
  o 0030-leak_fixes
  o 0040-cosmethics
  o 0060-indentation_whitespace_cleanup
  o 0080-indentation_cleanup
  o 0140-check_objtype_before_get_changeinfo
  o 0170-split_get_changeinfo
  o 0160-single_instance_converter
  o 0150-beginnings_units_tests
  o 0200-test_addressee_conversion
  o 0210-utests_try_light_kde_start
  o 0240-anchor_unit_test
  o 0250-big_whitespace_cleanup
  o 0260-hash_function_test
  o 0440-error_app_running
  o 0560-dont_report_empty_notes
  o 0570-fix_anchors_usage
* Thu Nov 23 2006 dgollub@suse.de
- fixed problem when syncing KABC (read-only) ressources
* Mon Nov 06 2006 cstender@suse.de
- bumped version to 0.20
* Fri Sep 29 2006 cstender@suse.de
- updated to version 0.19
  o fixed bug that led to adding empty elements to xmlDoc
* Mon Aug 28 2006 cstender@suse.de
- updated to version 0.18+svn1233
  o changed vcard request from version 2.1 to 3.0
* Thu Jul 06 2006 dgollub@suse.de
- update to version 0.18_SVN1095:
  o internal plugin name change from kdepim to kdepim-sync
  o added internal description of plugin
  o fixed kdepim-sync crash
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005 dgollub@suse.de
- updated to 0.18_SVN770
- patch is upstream - removed.
* Tue Nov 15 2005 ro@suse.de
- require exact version of libopensync
* Fri Nov 11 2005 dgollub@suse.de
- updated to version 0.18
* Fri Oct 21 2005 behlert@suse.de
- updated svn-version (svn20051021)
* Wed Oct 05 2005 behlert@suse.de
- updated svn-version (svn20051005)
* Wed Jun 29 2005 behlert@suse.de
- fixed specfile for 64bit
* Mon Jun 27 2005 behlert@suse.de
- initial version (v0.17)
openSUSE Build Service is sponsored by