File akonadi-runtime.spec of Package akonadi-runtime
#
# spec file for package akonadi-runtime (Version 1.0.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/
#
Name: akonadi-runtime
BuildRequires: cmake kde4-filesystem libmysqlclient-devel libqt4-devel
BuildRequires: automoc4 libxslt mysql shared-mime-info
%if %suse_version > 1020
BuildRequires: fdupes
%endif
Version: 1.0.0
Release: 31
%define rversion 1.0.0
License: LGPL v2.1 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://www.kde.org
Group: System/GUI/KDE
Summary: PIM Storage Service
Source0: akonadi-%rversion.tar.bz2
%if %suse_version > 1010
Requires: libqt4 >= %(echo `rpm -q --queryformat '%{VERSION}' libqt4-x11`)
%else
Requires: qt >= %(echo `rpm -q --queryformat '%{VERSION}' qt-x11`)
%endif
# rename from 10.3, which had 4.x version
Provides: akonadi = %version
Obsoletes: akonadi < 4.1
Requires: libakonadiprotocolinternals1 = %version
%if %suse_version > 1010
Requires: libqt4-sql-mysql
%else
Requires: qt-sql-mysql
%endif
Requires: mysql
%description
This package contains the data files of Akonadi, the KDE PIM storage
service.
Authors:
--------
The KDE Team <kde@kde.org>
%package -n libakonadiprotocolinternals-devel
License: LGPL v2.1 or later
Group: System/GUI/KDE
Summary: PIM Storage Service: Build Environment
%if %suse_version > 1010
Requires: libqt4-devel >= %( echo `rpm -q --queryformat '%{VERSION}' libqt4-devel`)
%else
Requires: qt-devel >= %( echo `rpm -q --queryformat '%{VERSION}' qt-x11`)
%endif
Requires: %name = %version
Requires: libakonadiprotocolinternals1 = %version
# rename from 10.3, which had 4.x version
Provides: akonadi-devel = %version
Obsoletes: akonadi-devel < 4.1
%description -n libakonadiprotocolinternals-devel
This package contains development files of Akonadi, the KDE PIM storage
service.
Authors:
--------
The KDE Team <kde@kde.org>
%package -n libakonadiprotocolinternals1
Summary: PIM Storage Service
License: LGPL v2.1 or later
Group: System/GUI/KDE
%description -n libakonadiprotocolinternals1
This package contains the data files of Akonadi, the KDE PIM storage
service.
Authors:
--------
The KDE Team <kde@kde.org>
%prep
%setup -q -n akonadi-%rversion
%build
%cmake_kde4 -d build -- -DCONFIG_INSTALL_DIR=/etc
%make_jobs
%install
cd build
%makeinstall
%if %suse_version > 1020
%fdupes -s $RPM_BUILD_ROOT/usr/include
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n libakonadiprotocolinternals1 -p /sbin/ldconfig
%postun -n libakonadiprotocolinternals1 -p /sbin/ldconfig
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
/usr/bin/akonadi_control
/usr/bin/akonadictl
/usr/bin/akonadiserver
%dir /etc/akonadi
%config /etc/akonadi/mysql-global.conf
%_libdir/libakonadiprivate.so.1*
/usr/share/mime/packages/akonadi-mime.xml
/usr/share/dbus-1/services/org.freedesktop.Akonadi.Control.service
%files -n libakonadiprotocolinternals-devel
%defattr(-,root,root)
%dir /usr/include/akonadi
/usr/include/akonadi/private
/usr/share/dbus-1/interfaces/org.freedesktop.Akonadi.*.xml
%_libdir/libakonadiprotocolinternals.so
%_libdir/libakonadiprivate.so
%_libdir/pkgconfig/akonadi.pc
%files -n libakonadiprotocolinternals1
%defattr(-,root,root)
%_libdir/libakonadiprotocolinternals.so.1*
%changelog
* Mon Sep 29 2008 dmueller@suse.de
- fix build for older distros
* Thu Aug 28 2008 dmueller@suse.de
- require mysql and mysql database adaptor
* Wed Jul 23 2008 dmueller@suse.de
- update to 1.0.0:
* Bugfix: Unquoted date time with a lenght of
* 26 characters was not parsed properly.
* Add serverside timestamp support for items.
* Build system fixes (windows & automoc)
* Wed Jun 18 2008 dmueller@suse.de
- update to 0.82.0:
* bugfixes
* Wed May 28 2008 wstephenson@suse.de
- update to 0.82.0pre
* Protocol change: introduce item part namespaces
* Tue May 20 2008 wstephenson@suse.de
- update to 0.81.0
* Parsing optimisations
* Procotol version checks added
* use external automoc4
* Tue May 06 2008 wstephenson@suse.de
- update to 807704, improve automoc4 location code and IMAP parsing
* Tue May 06 2008 dmueller@suse.de
- update to 804508, dbus interface is under org.freedesktop now
* Sat May 03 2008 dmueller@suse.de
- update to current SVN to adapt API addtions
* Mon Apr 28 2008 dmueller@suse.de
- rename akonadi -> akonadi-runtime
- fix -devel package splitting
- split off library package
* Fri Apr 25 2008 dmueller@suse.de
- Initial package (split out KDE independent parts)