File kdepim4-runtime.spec of Package kdepim4-runtime
#
# spec file for package kdepim4-runtime (Version 4.3.5)
#
# Copyright (c) 2010 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-runtime
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
BuildRequires: libknotificationitem-devel
%define with_kitchensync 0
%define with_kpilot 1
%define with_kmobiletools 0
%define with_korn 0
%define with_kcontactmanager 0
%if %with_kitchensync
BuildRequires: libopensync-devel
%endif
BuildRequires: fdupes libassuan-devel libmal1-devel libpisock-devel
License: LGPLv2.1+
Group: System/GUI/KDE
Summary: Base package of kdepim
Url: http://www.kde.org
Version: 4.3.5
Release: 0.<RELEASE1>
Source0: kdepim-runtime-%version.tar.bz2
Patch: 4_3_BRANCH.diff
Patch5: disable-nepomuk-agents.diff
Patch6: disable-knut.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
Suggests: libkdepim4
Provides: kde4-akonadi = 4.2.90
Obsoletes: kde4-akonadi <= 4.2.90
%description
This package contains the Akonadi files of the kdepim module.
Authors:
--------
The KDE Team <kde@kde.org>
%prep
%setup -q -n kdepim-runtime-%version
%patch
#%patch5
%patch6
%build
%ifarch ppc64
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
%endif
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
cd ..
#remove menu entries of development tools
rm $RPM_BUILD_ROOT/usr/share/applications/kde4/akonadi*.desktop
%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 devel
License: LGPLv2.1+
Group: System/GUI/KDE
Summary: KDE Personal Information Management Base Package: Build Environment
Requires: libkdepim4-devel
Requires: kdepim4-runtime = %version
Provides: kde4-akonadi-devel = 4.2.90
Obsoletes: kde4-akonadi-devel <= 4.2.90
%description devel
This packages contains development files of the kdepim-runtime module.
Authors:
--------
The KDE Team <kde@kde.org>
%files devel
%defattr(-,root,root)
%dir /usr/include/akonadi
%_kde4_libdir/*.so
/usr/include/akonadi/*
%files
%defattr(-,root,root)
%_kde4_bindir/*
%_kde4_libdir/*.so.*
%_kde4_modulesdir/*
/usr/share/akonadi
/usr/share/dbus-1/interfaces/*
%_kde4_appsdir/akonadi
%_kde4_sharedir/services
%_kde4_configdir/*
%_kde4_iconsdir/hicolor/64x64/apps/kolab.png
%_kde4_appsdir/akonadiconsole
/usr/share/mime/packages/kdepim-mime.xml
%changelog