File kdepim4.spec of Package kdepim4

#
# spec file for package kdepim4 (Version 4.1.3)
#
# 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/
#



Name:           kdepim4
BuildRequires:  cyrus-sasl-devel libqca2-devel python-devel
BuildRequires:  boost-devel gnokii-devel gpgme-devel libkdepimlibs4-devel
BuildRequires:  kdebase4-workspace-devel libsoprano-devel soprano
BuildRequires:  libmysqlclient-devel oxygen-icon-theme
%define with_kitchensync 0
%define with_kpilot 0
%define with_kmobiletools 0
%define with_korn 0
%if %with_kitchensync
BuildRequires:  libopensync-devel
%endif
BuildRequires:  fdupes libassuan-devel libmal1-devel libpisock-devel
License:        LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        Base package of kdepim
Url:            http://www.kde.org
Version:        4.1.3
Release:        3
Source0:        kdepim-%version.tar.bz2
Patch:          4_1_BRANCH.diff
Patch1:         akregator-useragent.diff
Patch4:         desktop-files.diff
Patch5:         disable-nepomuk-agents.diff
Patch6:         disable-knut.diff
Patch7:         knode-kontact-default.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
Suggests:       kde4-ktnef
Suggests:       kde4-akregator
Suggests:       kde4-kaddressbook
Suggests:       kde4-kmail
Suggests:       kde4-knode
Suggests:       kde4-knotes
Suggests:       kde4-kontact
Suggests:       kde4-korganizer
%if %with_korn
Suggests:       kde4-korn
%endif
Suggests:       kde4-ktimetracker
Suggests:       kdepim4-wizards
Suggests:       kde4-kalarm
%if %with_kitchensync
Suggests:       kde4-kitchensync
%endif
Suggests:       libkdepim4
%if %with_kpilot
Suggests:       kde4-kpilot
%endif
%if %with_kmobiletools
Suggests:       kde4-kmobiletools
%endif

%description
This package contains the core files of the kdepim module.



Authors:
--------
    The KDE Team <kde@kde.org>

%prep
%setup -q -n kdepim-%version
%patch
#%patch1
%patch4
#%patch5
%patch6
%patch7

%build
%ifarch ppc64
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
%endif
%if ! %with_kitchensync
  rm -rf kitchensync
%endif
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps
  cp /usr/share/icons/oxygen/128x128/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/
  cp /usr/share/icons/oxygen/16x16/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/
  cp /usr/share/icons/oxygen/22x22/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps/
  cp /usr/share/icons/oxygen/32x32/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/
  cp /usr/share/icons/oxygen/48x48/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/
  cp /usr/share/icons/oxygen/64x64/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/
  cp /usr/share/icons/oxygen/128x128/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/
  cp /usr/share/icons/oxygen/16x16/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/
  cp /usr/share/icons/oxygen/22x22/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps/
  cp /usr/share/icons/oxygen/32x32/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/
  cp /usr/share/icons/oxygen/48x48/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/
  cp /usr/share/icons/oxygen/64x64/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/
  cp /usr/share/icons/oxygen/128x128/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/
  cp /usr/share/icons/oxygen/16x16/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/
  cp /usr/share/icons/oxygen/22x22/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps/
  cp /usr/share/icons/oxygen/32x32/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/
  cp /usr/share/icons/oxygen/48x48/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/
  cp /usr/share/icons/oxygen/64x64/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/
  %create_subdir_filelist -d ktimetracker
  %create_subdir_filelist -d korganizer -v devel
  %create_subdir_filelist -d kalarm -v devel
  %create_subdir_filelist -d kmail -v devel
  %create_subdir_filelist -d knode -v devel
  %create_subdir_filelist -d kjots -v devel
%if %with_kpilot
  %create_subdir_filelist -d kpilot -v devel
%endif
  %create_subdir_filelist -d kontact -v devel
  %create_subdir_filelist -d kontactinterfaces -f libkdepim -v libkdepim.devel
  %create_subdir_filelist -d wizards 
%if %with_kmobiletools
  %create_subdir_filelist -d kmobiletools -v devel
%endif
%if %with_kitchensync
  %create_subdir_filelist -d kitchensync -v devel
%endif
  %create_subdir_filelist -d akregator -v devel
  %create_subdir_filelist -d knotes -v devel
  %create_subdir_filelist -d ktnef 
%if %with_korn
  %create_subdir_filelist -d korn
%endif
  %create_subdir_filelist -d kaddressbook -v devel
  %create_subdir_filelist -d libkdepim -v libkdepim.devel
#assuan is too old on 10.3 so no kleopatra
%if %suse_version > 1030
  %create_subdir_filelist -d kleopatra/libkleopatraclient -f libkdepim -v libkdepim.devel
%endif
  %create_subdir_filelist -d akonadi -v akonadi.devel
  %create_subdir_filelist -d kresources/akonadi -v akonadi.devel
  cat filelists/akonadi.devel | while read line; do echo "%exclude $line";done >>filelists/devel
  cd ..
  #remove menu entries of development tools
  rm $RPM_BUILD_ROOT/usr/share/applications/kde4/akonadi*.desktop
  sed -ri s,/usr/share/applications/kde4/akonadiconsole.desktop,, filelists/akonadi
  sed -ri s,/usr/share/applications/kde4/akonaditray.desktop,, filelists/akonadi
  #remove kontact plugins' desktop files that are in subpackages from the kontact list
  akregatorplugins="/usr/%_lib/kde4/kontact_akregatorplugin.so /usr/share/kde4/services/kontact/akregatorplugin.desktop"
  korganizerplugins="/usr/%_lib/kde4/kontact_journalplugin.so /usr/%_lib/kde4/kontact_korganizerplugin.so /usr/%_lib/kde4/kontact_todoplugin.so /usr/share/kde4/services/kontact/korganizerplugin.desktop /usr/share/kde4/services/kontact/journalplugin.desktop /usr/share/kde4/services/kontact/todoplugin.desktop"
  kaddressbookplugin="/usr/%_lib/kde4/kontact_kaddressbookplugin.so /usr/share/kde4/services/kontact/kaddressbookplugin.desktop"
  kmailplugin="/usr/%_lib/kde4/kontact_kmailplugin.so /usr/share/kde4/services/kontact/kmailplugin.desktop"
%if %with_kmobiletools
  kmobiletoolsplugin="/usr/%_lib/kde4/kontact_kmobiletoolsplugin.so /usr/share/kde4/services/kontact/kmobiletools.desktop"
%endif
  knodeplugin="/usr/%_lib/kde4/kontact_knodeplugin.so /usr/share/kde4/services/kontact/knodeplugin.desktop"
  knotesplugin="/usr/%_lib/kde4/kontact_knotesplugin.so /usr/share/kde4/services/kontact/knotesplugin.desktop"
  kjotsplugin="/usr/%_lib/kde4/kontact_kjotsplugin.so /usr/share/kde4/services/kontact/kjots_plugin.desktop"
  ktimetrackerplugin="/usr/%_lib/kde4/kontact_karmplugin.so /usr/share/kde4/services/kontact/ktimetracker_plugin.desktop"
  for i in $akregatorplugins $korganizerplugins $kaddressbookplugin $kmailplugin $kmobiletoolsplugin $knodeplugin $knotesplugin $kjotsplugin $ktimetrackerplugin
  do
    sed -ri s,$i,, filelists/kontact 
  done
  for i in $akregatorplugins
  do
    echo $i >> filelists/akregator
  done
  for i in $korganizerplugins
  do 
    echo $i >> filelists/korganizer
  done
  for i in $kaddressbookplugin
  do
    echo $i >> filelists/kaddressbook
  done
  for i in $kmailplugin
  do
    echo $i >> filelists/kmail
  done
  for i in $kmobiletoolsplugin
  do
    echo $i >> filelists/kmobiletools
  done
  for i in $knodeplugin
  do
    echo $i >> filelists/knode
  done
  for i in $knotesplugin
  do
    echo $i >> filelists/knotes
  done
  for i in $kjotsplugin
  do
    echo $i >> filelists/kjots
  done
  for i in $ktimetrackerplugin
  do
    echo $i >> filelists/ktimetracker
  done
  cat filelists/libkdepim.devel | while read line; do echo "%exclude $line";done >>filelists/devel
  grep "/usr/lib" filelists/libkdepim | grep -v "/kde4/" >filelists/libkdepim.libs
  cat filelists/libkdepim.libs | while read line; do echo "%exclude $line";done >>filelists/libkdepim
  echo "/usr/share/kde4/servicetypes/kontactplugin.desktop" >> filelists/kontact
  %create_exclude_filelist
  %suse_update_desktop_file korganizer      Office   Calendar
  %suse_update_desktop_file kalarm          Utility  TimeUtility
  #%x_suse_update_desktop_file kalarmd         Utility  TimeUtility
  %suse_update_desktop_file karm            Utility  TimeUtility
  %suse_update_desktop_file kaddressbook    Office   ContactManagement
  %suse_update_desktop_file knotes          Utility  DesktopUtility
  %suse_update_desktop_file KMail           Network  Email
%if 0
  %suse_update_desktop_file -u akonadiconsole Network  Email
  %suse_update_desktop_file -u akonaditray Network  Email
%endif
%if %with_korn
  %suse_update_desktop_file -r KOrn         Utility  Applet
%endif
  %suse_update_desktop_file KNode           Network  News
  %suse_update_desktop_file Kontact         Office   Core-Office
  %suse_update_desktop_file -u ktnef        Network  Email
  %suse_update_desktop_file groupwarewizard Utility  DesktopSettings
  %suse_update_desktop_file akregator       Network  RSS-News
  %suse_update_desktop_file Kjots           Utility TimeUtility
%if %with_kpilot
  %suse_update_desktop_file kpilot          Utility  PDA SyncUtility
%endif
%if 0
  %suse_update_desktop_file kcontactmanager Office   ContactManagement
%endif
%if %with_kmobiletools
  %suse_update_desktop_file -G "Mobile Phone Tool" -C "" kmobiletools Utility Telephony
%endif
%if %with_kitchensync
  %suse_update_desktop_file kitchensync     Utility  X-SuSE-SyncUtility
%endif
  %kde_post_install
  %fdupes -s $RPM_BUILD_ROOT
  %kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
  rm -rf $RPM_BUILD_ROOT
  rm -rf filelists

%package -n kde4-akonadi
License:        GPL v2 or later; LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        KDE Resources for PIM Storage Service
Requires:       soprano
%kde4_runtime_requires
%kde4_pimlibs_requires
%kde4_akonadi_requires

%description -n kde4-akonadi
This package contains the KDE resources for Akonadi, the KDE PIM
storage service.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-akonadi -p /sbin/ldconfig

%postun -n kde4-akonadi -p /sbin/ldconfig

%files -n kde4-akonadi -f filelists/akonadi
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%dir /usr/share/akonadi
%dir /usr/share/akonadi/agents

%package -n kde4-akonadi-devel
License:        GPL v2 or later; LGPL v2.1 or later
Group:          Development/Libraries/KDE
Summary:        KDE Resources for PIM Storage Service
Requires:       kde4-akonadi = %version

%description -n kde4-akonadi-devel
This package contains the KDE resources for Akonadi, the KDE PIM
storage service.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-akonadi-devel -p /sbin/ldconfig

%postun -n kde4-akonadi-devel -p /sbin/ldconfig

%files -n kde4-akonadi-devel -f filelists/akonadi.devel
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package -n kde4-ktnef
License:        LGPL v2.1 or later
Group:          Productivity/Networking/Email/Utilities
Summary:        TNEF Format Viewer
%kde4_runtime_requires
%kde4_pimlibs_requires

%description -n kde4-ktnef
Viewer for mail attachments using TNEF format



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-ktnef -p /sbin/ldconfig

%postun -n kde4-ktnef -p /sbin/ldconfig

%files -n kde4-ktnef -f filelists/ktnef
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package -n kde4-akregator
License:        LGPL v2.1 or later
Group:          Productivity/Networking/News/Utilities
Summary:        RSS Feed Reader
Requires:       libkdepim4 = %version
%kde4_runtime_requires
%kde4_pimlibs_requires
Provides:       kdepim3:/opt/kde3/bin/akregator = 3.5.1

%description -n kde4-akregator
A KDE Feed Aggregator



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-akregator -p /sbin/ldconfig

%postun -n kde4-akregator -p /sbin/ldconfig

%files -n kde4-akregator -f filelists/akregator
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package -n kde4-kaddressbook
License:        LGPL v2.1 or later
Group:          Productivity/Networking/Email/Utilities
Summary:        Address Manager
Requires:       libkdepim4 = %version
%kde4_runtime_requires
%kde4_pimlibs_requires
Provides:       kdepim3:/opt/kde3/bin/kaddressbook = 3.5.1

%description -n kde4-kaddressbook
The KDE Address Book



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kaddressbook -p /sbin/ldconfig

%postun -n kde4-kaddressbook -p /sbin/ldconfig

%files -n kde4-kaddressbook -f filelists/kaddressbook
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package -n kde4-kmail
License:        LGPL v2.1 or later
Group:          Productivity/Networking/Email/Clients
Summary:        Mail Client
Requires:       libkdepim4 = %version
%kde4_runtime_requires
%kde4_pimlibs_requires
Provides:       kdepim3:/opt/kde3/bin/kmail = 3.5.1

%description -n kde4-kmail
KMail is the mail client of KDE.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kmail -p /sbin/ldconfig

%postun -n kde4-kmail -p /sbin/ldconfig

%files -n kde4-kmail -f filelists/kmail
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%config %_kde_config_dir/kmail.antispamrc
%config %_kde_config_dir/kmail.antivirusrc
/usr/share/icons/hicolor/*/apps/internet-mail.*

%package -n kde4-knode
License:        LGPL v2.1 or later
Group:          Productivity/Networking/News/Clients
Summary:        News Reader
Requires:       libkdepim4 = %version
%kde4_runtime_requires
%kde4_pimlibs_requires
Provides:       kdepim3:/opt/kde3/bin/knode = 3.5.1

%description -n kde4-knode
KNode is a usenet news reader for KDE.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-knode -p /sbin/ldconfig

%postun -n kde4-knode -p /sbin/ldconfig

%files -n kde4-knode -f filelists/knode
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package -n kde4-knotes
License:        LGPL v2.1 or later
Group:          Productivity/Other
Summary:        Popup Notes
Requires:       libkdepim4 = %version
%kde4_runtime_requires
%kde4_pimlibs_requires
Provides:       kdepim3:/opt/kde3/bin/knotes = 3.5.1

%description -n kde4-knotes
KNotes is a note taking application for KDE.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-knotes -p /sbin/ldconfig

%postun -n kde4-knotes -p /sbin/ldconfig

%files -n kde4-knotes -f filelists/knotes
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%exclude /usr/share/kde4/apps/knotes/knotes_part.rc

%package -n kde4-kontact
License:        LGPL v2.1 or later
Group:          Productivity/Other
Summary:        Personal Information Manager
Requires:       libkdepim4 = %version
%kde4_runtime_requires
Provides:       kdepim3 = 3.5.1
Obsoletes:      kdepim3 <= 3.5.1

%description -n kde4-kontact
Kontact combines the individual applications KMail, KAddressBook and
KOrganizer under one GUI.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kontact -p /sbin/ldconfig

%postun -n kde4-kontact -p /sbin/ldconfig

%files -n kde4-kontact -f filelists/kontact
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%if %with_kitchensync

%package -n kde4-kitchensync

Group:          Productivity/Telephony/Utilities
Summary:        Syncing Application
%kde4_runtime_requires
Provides:       kdepim3-sync = 3.5.1
Obsoletes:      kdepim3-sync <= 3.5.1

%description -n kde4-kitchensync
The KDE Syncing Application



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kitchensync -p /sbin/ldconfig

%postun -n kde4-kitchensync -p /sbin/ldconfig

%files -n kde4-kitchensync -f filelists/kitchensync
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%endif

%package -n kde4-korganizer
License:        LGPL v2.1 or later
Group:          Productivity/Office/Organizers
Summary:        Personal Organizer
Requires:       libkdepim4 = %version
%kde4_runtime_requires
%kde4_pimlibs_requires
Provides:       kdepim3:/opt/kde3/bin/korganizer = 3.5.1

%description -n kde4-korganizer
KOrganizer is a calendar application for KDE.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-korganizer -p /sbin/ldconfig

%postun -n kde4-korganizer -p /sbin/ldconfig

%files -n kde4-korganizer -f filelists/korganizer
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%config %_kde_config_dir/korganizer.knsrc
/usr/share/icons/hicolor/*/apps/office-calendar.*
%if %with_korn

%package -n kde4-korn
License:        LGPL v2.1 or later
Group:          Productivity/Networking/Email/Utilities
Summary:        Mail Alert
%kde4_runtime_requires
%kde4_pimlibs_requires
Provides:       kdepim3:/opt/kde3/bin/korn = 3.5.1

%description -n kde4-korn
Korn is a mail checker for KDE.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-korn -p /sbin/ldconfig

%postun -n kde4-korn -p /sbin/ldconfig

%files -n kde4-korn -f filelists/korn
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%endif

%package -n kde4-ktimetracker
License:        LGPL v2.1 or later
Group:          Productivity/Other
Summary:        Personal Time Tracker
Requires:       libkdepim4 = %version
%kde4_runtime_requires
%kde4_pimlibs_requires

%description -n kde4-ktimetracker
KTimeTracker tracks time spent on various tasks.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-ktimetracker -p /sbin/ldconfig

%postun -n kde4-ktimetracker -p /sbin/ldconfig

%files -n kde4-ktimetracker -f filelists/ktimetracker
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package -n kde4-kjots
License:        GPL v2 or later
Group:          Productivity/Other
Summary:        Note Taker
Requires:       libkdepim4 = %version
%kde4_runtime_requires
%kde4_pimlibs_requires

%description -n kde4-kjots
KDE Note Taking Utility



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kjots -p /sbin/ldconfig

%postun -n kde4-kjots -p /sbin/ldconfig

%files -n kde4-kjots -f filelists/kjots
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package wizards
License:        LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        KDE Personal Information Management Wizards
%kde4_runtime_requires
Provides:       kdepim3:/opt/kde3/bin/egroupwarewizard = 3.5.1

%description wizards
This package contains wizards to setup groupware accounts in Kontact.



Authors:
--------
    The KDE Team <kde@kde.org>

%post wizards -p /sbin/ldconfig

%postun wizards -p /sbin/ldconfig

%files wizards -f filelists/wizards
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package -n kde4-kalarm
License:        LGPL v2.1 or later
Group:          Productivity/Other
Summary:        Personal Alarm Scheduler
Requires:       libkdepim4 = %version
%kde4_runtime_requires
%kde4_pimlibs_requires

%description -n kde4-kalarm
Personal alarm message, command and email scheduler for KDE



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kalarm -p /sbin/ldconfig

%postun -n kde4-kalarm -p /sbin/ldconfig

%files -n kde4-kalarm -f filelists/kalarm
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package -n libkdepim4
License:        LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        KDE PIM Libraries
%requires_eq akonadi

%description -n libkdepim4 
This package contains the basic packages for KDE PIM applications.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n libkdepim4 -p /sbin/ldconfig

%postun -n libkdepim4 -p /sbin/ldconfig

%files -n libkdepim4 -f filelists/libkdepim.libs
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README

%package -n libkdepim4-devel
License:        LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        KDE PIM Libraries
Requires:       libkdepim4 = %version
Requires:       libkdepimlibs4-devel

%description -n libkdepim4-devel
This package contains the basic packages for KDE PIM applications.



Authors:
--------
    The KDE Team <kde@kde.org>

%files -n libkdepim4-devel -f filelists/libkdepim.devel
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%if %with_kpilot

%package -n kde4-kpilot
License:        LGPL v2.1 or later
Group:          Hardware/Palm
Summary:        HotSync Software
%kde4_runtime_requires
%kde4_pimlibs_requires
Provides:       kdepim3-kpilot = 3.5.1
Obsoletes:      kdepim3-kpilot <= 3.5.1

%description -n kde4-kpilot
HotSync software for KDE



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kpilot -p /sbin/ldconfig

%postun -n kde4-kpilot -p /sbin/ldconfig

%files -n kde4-kpilot -f filelists/kpilot
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%endif

%package devel
License:        LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        KDE Personal Information Management Base Package: Build Environment
Requires:       libkdepim4-devel kde4-korganizer kde4-kontact kde4-knode kde4-kmail
Requires:       kdepim4 = %version kde4-kalarm = %version
Requires:       kde4-kaddressbook = %version 
Requires:       kde4-akregator = %version 
#Requires:       kde4-kmobiletools = %version kde4-kpilot = %version 

%description devel
This packages contains development files of the kdepim module.



Authors:
--------
    The KDE Team <kde@kde.org>

%post devel -p /sbin/ldconfig

%postun devel -p /sbin/ldconfig

%files devel -f filelists/devel
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
/usr/%_lib/*.so
/usr/include/*
%_kde_share_dir/apps/cmake/modules/*
%doc %lang(en) /usr/share/doc/kde/HTML/en/kwsdl_compiler
%if %with_kmobiletools

%package -n kde4-kmobiletools
License:        GPL v2 or later
Group:          Productivity/Telephony/Utilities
Summary:        Mobile Phone Tools
%kde4_runtime_requires
%kde4_pimlibs_requires

%description -n kde4-kmobiletools
KMobileTools is a KDE application that allows you to control your
mobile phone from your GNU/Linux workstation.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kmobiletools -p /sbin/ldconfig

%postun -n kde4-kmobiletools -p /sbin/ldconfig

%files -n kde4-kmobiletools -f filelists/kmobiletools
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%endif

%files -f filelists/exclude
%defattr(-,root,root)
%doc COPYING COPYING.LIB COPYING.DOC README
%exclude /usr/include
%exclude %_kde_share_dir/apps/cmake/modules
%if 0
%exclude /usr/share/applications/kde4/kcontactmanager.desktop
%endif
/usr/bin/*
/usr/%_lib/*.so.*
/usr/%_lib/kde4/*
/usr/%_lib/strigi/strigiea_*.so
/usr/share/applications/kde4/*
/usr/share/dbus-1/interfaces/*
/usr/share/icons/oxygen
/usr/share/kde4/apps
/usr/share/kde4/config.kcfg
/usr/share/kde4/services
%doc %lang(en) /usr/share/doc/kde/HTML/en/konsolekalendar
%doc %lang(en) /usr/share/doc/kde/HTML/en/kleopatra
%config %_kde_config_dir/libkleopatrarc
/usr/share/icons/hicolor/*/apps/office-address-book.*

%changelog
* Thu Nov 20 2008 stbinner@suse.de
- add SLE provides/obsoletes
* Tue Nov 11 2008 dmueller@suse.de
- move akonadi kcal/kabc support into kde4-akonadi subpackage
* Sat Nov 01 2008 dmueller@suse.de
- modularize akonadi deps (bnc#439095)
* Fri Oct 31 2008 dmueller@suse.de
- update to 4.1.3
  * see http://kde.org/announcements/changelogs/changelog4_1_2to4_1_3.php
* Thu Oct 23 2008 stbinner@suse.de
- remove akonadiconsole and akonaditray menu entries
* Tue Oct 21 2008 stbinner@suse.de
- update branch diff: akregator and kmail bug fix backports
* Fri Oct 17 2008 stbinner@suse.de
- enable KNode Kontact plugin by default (bnc#432332)
* Thu Sep 25 2008 dmueller@suse.de
- update to 4.1.2
  * see http://kde.org/announcements/changelogs/changelog4_1_1to4_1_2.php
* Mon Sep 08 2008 stbinner@suse.de
- update branch diff
* Tue Sep 02 2008 dmueller@suse.de
- update to final 4.1.1 tarball
* Thu Aug 28 2008 dmueller@suse.de
- update to 4.1.1
  * see http://kde.org/announcements/changelogs/changelog4_1to4_1_1.php
* Wed Aug 20 2008 stbinner@suse.de
- fix splitting fix
* Mon Aug 18 2008 stbinner@suse.de
- fix split of kjots and ktimetracker Kontact plugins (bnc#412480)
* Sat Aug 16 2008 stbinner@suse.de
- branch diff update
* Thu Jul 31 2008 dmueller@suse.de
- branch diff update
* Thu Jul 24 2008 wstephenson@suse.de
- Fix IMAP groupware functionality (bnc#398286)
* Wed Jul 23 2008 dmueller@suse.de
- update to 4.1.0
  * korn removed (disabled upstream)
* Wed Jul 23 2008 stbinner@suse.de
- fix build
* Sat Jul 19 2008 wstephenson@suse.de
- Fix quoted mail text missing in replies/forwards (kde#166728)
* Fri Jul 18 2008 wstephenson@suse.de
- Fix POP3 mail not retained on server by KMail
  (bnc#408686,kde#151308)
* Fri Jul 18 2008 dmueller@suse.de
- update to 4.0.99
  Thu Jul 17 22::08 CEST 2008 - wstephenson@suse.de
- Change module-internal dependencies of split packages to
  'version-equals' instead of 'equals or greater than'
* Fri Jul 11 2008 dmueller@suse.de
- update to 4.0.98
* Thu Jul 03 2008 dmueller@suse.de
- update to 4.0.85
* Thu Jun 26 2008 dmueller@suse.de
- update to 4.0.84
* Thu Jun 26 2008 wstephenson@suse.de
- Fix missing Kontact plugins (bnc#398807)
* Tue Jun 24 2008 dmueller@suse.de
- update to 4.1 beta2
* Sat Jun 14 2008 schwab@suse.de
- Use -mminimal-toc on ppc64.
* Wed Jun 11 2008 dmueller@suse.de
- remove kpilot/kmobiletools packages
* Fri Jun 06 2008 wstephenson@suse.de
- Remove kpilot and kmobiletools dependency as these are not part
  of KDE 4.1
- Disable Kontact planner plugin, not part of KDE 4.1
* Tue Jun 03 2008 stbinner@suse.de
- don't install /usr/share/applications/kde4/kcontactmanager.desktop
* Thu May 29 2008 wstephenson@suse.de
- Move Kontact plugins' desktop files to subpackages (bnc#389141)
* Mon May 26 2008 wstephenson@suse.de
- Add versioning to libkleopatra libraries (bnc#391350)
* Thu May 22 2008 wstephenson@suse.de
- Update to kdepim 4.1beta1
  * Fix kontact view switch sidepane fills entire window (bnc#389141)
* Sat May 17 2008 wstephenson@suse.de
- Exclude akonadi resources, not yet production ready
* Fri May 16 2008 wstephenson@suse.de
- weather plugin is disabled upstream now, remove our patch
* Thu May 15 2008 dmueller@suse.de
- update to 4.0.74
* Fri May 09 2008 llunak@suse.cz
- use the backported kdelibs4.1 functionality for spellchecking
* Fri May 09 2008 wstephenson@suse.de
- update branch diff for mbox fix
* Fri May 09 2008 dmueller@suse.de
- add missing devel package requires
* Thu May 08 2008 wstephenson@suse.de
- Fix invalid return type in KTimeTracker
* Wed May 07 2008 dmueller@suse.de
- update to 4.0.73
* Wed Apr 30 2008 dmueller@suse.de
- update to 4.0.72
* Thu Apr 24 2008 wstephenson@suse.de
- Adapt to new Akonadi location, update to 4.0.71
* Tue Apr 22 2008 wstephenson@suse.de
- remove weather kontact plugin - kweather is broken
* Mon Apr 21 2008 dmueller@suse.de
- remove plasmabiff (doesn't build against KDE 4.0 anymore)
* Fri Apr 18 2008 dmueller@suse.de
- update to 4.0.70
* Tue Apr 15 2008 coolo@suse.de
- give akonadi %%post a ldconfig
* Tue Apr 15 2008 coolo@suse.de
- work around build problem
* Mon Apr 14 2008 wstephenson@suse.de
- Remove private libraries' link-edit .so files, nobody builds
  vs them and they break kdepim3 apps as ld.so tries to link them
* Mon Apr 14 2008 dmueller@suse.de
- fix build once again, fix packaging errors
- fix build once again, fix packaging errors
* Sat Apr 12 2008 dmueller@suse.de
- update to 4.0.69:
  * fixes almost build (finally)
  * no changelog available
* Fri Apr 11 2008 stbinner@suse.de
- fix file globbing
* Wed Apr 02 2008 dmueller@suse.de
- update to 4.0.68
* Tue Mar 25 2008 dmueller@suse.de
- update to 4.0.67
* Thu Mar 13 2008 dmueller@suse.de
- update to 4.0.66
* Thu Mar 13 2008 stbinner@suse.de
- fix file conflict
* Tue Mar 11 2008 dmueller@suse.de
- disable nepomuk stuff for 4.0
* Mon Mar 10 2008 dmueller@suse.de
- update to 4.0.65
* Thu Feb 21 2008 dmueller@suse.de
- update to 4.0.63
* Thu Feb 14 2008 dmueller@suse.de
- update to 4.0.62
* Thu Feb 07 2008 dmueller@suse.de
- update to 4.0.61
* Wed Jan 02 2008 stbinner@suse.de
- update to 3.97.2
* Sun Dec 16 2007 dmueller@suse.de
- update to 3.97.1
* Wed Dec 05 2007 dmueller@suse.de
- update to 3.97.0
* Tue Dec 04 2007 dmueller@suse.de
- update to 3.96.3
* Wed Nov 28 2007 dmueller@suse.de
- update to 3.96.2
* Thu Nov 22 2007 stbinner@suse.de
- fix file conflicts
* Wed Nov 21 2007 dmueller@suse.de
- update to 3.96.1
* Wed Nov 14 2007 dmueller@suse.de
- update to 3.96.0
* Wed Nov 07 2007 dmueller@suse.de
- update to 3.95.2
* Thu Nov 01 2007 dmueller@suse.de
- update to 3.95.1
* Fri Oct 26 2007 dmueller@suse.de
- update to KDE 4.0 Beta4
* Sat Oct 20 2007 dmueller@suse.de
- update to 3.94.1
* Thu Oct 18 2007 ro@suse.de
- fix build
  - add category for kcontactmanager.desktop
  - add directory to filelist
* Mon Oct 08 2007 dmueller@suse.de
- update to KDE 4.0 Beta 3
* Tue Oct 02 2007 stbinner@suse.de
- update to 3.93.0.svn720115
* Wed Sep 26 2007 stbinner@suse.de
- update to 3.93.0.svn717255
* Thu Sep 13 2007 stbinner@suse.de
- update to 3.93.0.svn712059
* Thu Aug 30 2007 dmueller@suse.de
- update to KDE 4.0 Beta 2
* Thu Aug 23 2007 stbinner@suse.de
- update to 3.92.0.svn703914
* Thu Aug 16 2007 stbinner@suse.de
- update to 3.92.0.svn700937
* Thu Aug 09 2007 stbinner@suse.de
- update to 3.92.0.svn697324
* Tue Aug 07 2007 wstephenson@suse.de
- Resolve file conflict between kdepim4 and kdepim4-knotes
* Mon Aug 06 2007 wstephenson@suse.de
- remove kitchensync temporarily, not compatible with our
  libopensync
* Sun Jul 29 2007 stbinner@suse.de
- update to KDE 4.0 Beta 1
* Thu Jul 12 2007 stbinner@suse.de
- update to 3.91.0.svn672299
* Sat Jun 23 2007 stbinner@suse.de
- update to 3.90.1.svn679144, run fdupes
* Fri Jun 08 2007 stbinner@suse.de
- update to 3.90.1.svn670093
* Mon Jun 04 2007 stbinner@suse.de
- fix build
* Fri Jun 01 2007 coolo@suse.de
- simplify spec file by using macros from kde4-filesystem
* Mon May 28 2007 dmueller@suse.de
- update to 3.90.1.svn668119
* Thu May 24 2007 stbinner@suse.de
- initial package in abuild
openSUSE Build Service is sponsored by