2015-08-07 09:43:56 +02:00
|
|
|
#
|
|
|
|
# spec file for package akonadi-server
|
|
|
|
#
|
2016-02-13 12:27:06 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-08-07 09:43:56 +02:00
|
|
|
#
|
|
|
|
# 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-server
|
2016-04-17 07:48:55 +02:00
|
|
|
Version: 16.04.0
|
2015-08-07 09:43:56 +02:00
|
|
|
Release: 0
|
|
|
|
%define rname akonadi
|
|
|
|
Summary: PIM Storage Service
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://akonadi-project.org
|
|
|
|
Source: %{rname}-%{version}.tar.xz
|
2015-08-07 11:20:18 +02:00
|
|
|
Source99: akonadi-server-rpmlintrc
|
2015-08-07 09:43:56 +02:00
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: cmake >= 2.8.9
|
2016-04-27 23:42:05 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
2015-08-07 09:43:56 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: libxml2
|
|
|
|
BuildRequires: libxslt
|
2016-04-27 23:42:05 +02:00
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libxslt-tools
|
2015-08-07 09:43:56 +02:00
|
|
|
BuildRequires: mariadb
|
2016-04-27 23:42:05 +02:00
|
|
|
BuildRequires: postgresql-devel
|
2015-08-07 09:43:56 +02:00
|
|
|
BuildRequires: shared-mime-info
|
|
|
|
BuildRequires: sqlite3-devel
|
2016-04-27 23:42:05 +02:00
|
|
|
BuildRequires: cmake(KF5Completion)
|
2016-04-11 10:16:37 +02:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
2016-04-27 23:42:05 +02:00
|
|
|
BuildRequires: cmake(KF5DesignerPlugin)
|
2016-04-11 10:16:37 +02:00
|
|
|
BuildRequires: cmake(KF5GuiAddons)
|
2016-04-27 23:42:05 +02:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
2016-04-11 10:16:37 +02:00
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
2016-04-27 23:42:05 +02:00
|
|
|
BuildRequires: cmake(KF5ItemModels)
|
|
|
|
BuildRequires: cmake(KF5ItemViews)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
2016-04-11 10:16:37 +02:00
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(Qt5Designer)
|
2015-08-07 09:43:56 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Requires(post): shared-mime-info
|
|
|
|
Requires(postun): shared-mime-info
|
|
|
|
Requires: libqt5-sql-mysql
|
|
|
|
Requires: mysql
|
|
|
|
Suggests: mariadb
|
2016-01-26 17:02:40 +01:00
|
|
|
%if 0%{?suse_version} > 1320
|
2016-01-17 20:47:33 +01:00
|
|
|
Obsoletes: akonadi-runtime < %{version}
|
2016-01-26 17:02:40 +01:00
|
|
|
%else
|
|
|
|
Conflicts: akonadi-runtime
|
|
|
|
%endif
|
2016-04-11 10:16:37 +02:00
|
|
|
Obsoletes: akonadi5 < %{version}
|
|
|
|
Provides: akonadi5 = %{version}
|
|
|
|
Obsoletes: libKF5AkonadiPrivate5 < %{version}
|
|
|
|
Provides: libKF5AkonadiPrivate5 = %{version}
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the data files of Akonadi, the KDE PIM storage
|
|
|
|
service.
|
|
|
|
|
2016-04-11 10:16:37 +02:00
|
|
|
%description
|
|
|
|
This package contains the data files of Akonadi, the KDE PIM storage
|
|
|
|
service.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Akonadi Framework: Build Environment
|
2015-08-07 09:43:56 +02:00
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Requires: %{name} = %{version}
|
2016-04-11 10:16:37 +02:00
|
|
|
Obsoletes: libKF5AkonadiPrivate-devel < %{version}
|
|
|
|
Provides: libKF5AkonadiPrivate-devel = %{version}
|
2016-04-27 23:42:05 +02:00
|
|
|
Conflicts: libakonadiprotocolinternals-devel
|
2015-08-07 09:43:56 +02:00
|
|
|
|
2016-04-11 10:16:37 +02:00
|
|
|
%description devel
|
2015-08-07 09:43:56 +02:00
|
|
|
This package contains development files of Akonadi, the KDE PIM storage
|
|
|
|
service.
|
|
|
|
|
|
|
|
%prep
|
2016-04-11 10:27:57 +02:00
|
|
|
%setup -q -n %{rname}-%{version}
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build -- -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE -DQT_PLUGINS_DIR=%{_kf5_plugindir}
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%{_kf5_bindir}/update-mime-database %{_kf5_sharedir}/mime &> /dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
%{_kf5_bindir}/update-mime-database %{_kf5_sharedir}/mime &> /dev/null || :
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2016-04-11 10:16:37 +02:00
|
|
|
%{_kf5_bindir}/asapcat
|
|
|
|
%{_kf5_bindir}/akonadi*
|
2015-08-07 09:43:56 +02:00
|
|
|
%dir %{_kf5_sysconfdir}/xdg/akonadi
|
2016-04-11 10:16:37 +02:00
|
|
|
%{_kf5_sysconfdir}/xdg/akonadi.categories
|
2015-08-24 13:05:11 +02:00
|
|
|
%config %{_kf5_sysconfdir}/xdg/akonadi/mysql-global.conf
|
2016-04-11 10:16:37 +02:00
|
|
|
%config %{_kf5_sysconfdir}/xdg/akonadi/mysql-global-mobile.conf
|
2015-08-07 09:43:56 +02:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.freedesktop.Akonadi.Control.service
|
|
|
|
%{_kf5_sharedir}/mime/packages/akonadi-mime.xml
|
2016-04-11 10:16:37 +02:00
|
|
|
%{_kf5_plugindir}/sqldrivers/libqsqlite3.so
|
|
|
|
%{_datadir}/kf5/akonadi/
|
|
|
|
%dir %{_kf5_configkcfgdir}
|
|
|
|
%{_kf5_configkcfgdir}/resourcebase.kcfg
|
|
|
|
%{_kf5_plugindir}/designer/
|
|
|
|
%{_libdir}/libKF5AkonadiPrivate.so.*
|
|
|
|
%{_libdir}/libKF5AkonadiCore.so.*
|
|
|
|
%{_libdir}/libKF5AkonadiAgentBase.so.*
|
|
|
|
%{_libdir}/libKF5AkonadiWidgets.so.*
|
|
|
|
%{_libdir}/libKF5AkonadiXml.so.*
|
|
|
|
%{_kf5_plugindir}/akonadi/
|
|
|
|
%{_datadir}/akonadi/
|
|
|
|
%{_datadir}/kf5/akonadi_knut_resource/
|
|
|
|
|
|
|
|
%files devel
|
2015-08-07 09:43:56 +02:00
|
|
|
%defattr(-,root,root)
|
2015-08-24 13:05:11 +02:00
|
|
|
%{_kf5_includedir}/akonadi/
|
2016-04-11 10:16:37 +02:00
|
|
|
%{_kf5_includedir}/AkonadiCore/
|
|
|
|
%{_kf5_includedir}/AkonadiAgentBase/
|
|
|
|
%{_kf5_includedir}/AkonadiWidgets/
|
|
|
|
%{_kf5_includedir}/AkonadiXml/
|
|
|
|
%dir %{_kf5_libdir}/cmake
|
|
|
|
%{_kf5_libdir}/cmake/KF5Akonadi
|
|
|
|
%{_kf5_includedir}/akonadi_version.h
|
2016-04-27 23:42:05 +02:00
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/org.freedesktop.Akonadi.*.xml
|
2016-04-11 10:16:37 +02:00
|
|
|
%{_libdir}/libKF5AkonadiPrivate.so
|
|
|
|
%{_libdir}/libKF5AkonadiCore.so
|
|
|
|
%{_libdir}/qt5/mkspecs/modules/qt_AkonadiCore.pri
|
|
|
|
%{_libdir}/libKF5AkonadiAgentBase.so
|
|
|
|
%{_libdir}/qt5/mkspecs/modules/qt_AkonadiAgentBase.pri
|
|
|
|
%{_libdir}/libKF5AkonadiWidgets.so
|
|
|
|
%{_libdir}/qt5/mkspecs/modules/qt_AkonadiWidgets.pri
|
|
|
|
%{_libdir}/libKF5AkonadiXml.so
|
|
|
|
%{_libdir}/qt5/mkspecs/modules/qt_AkonadiXml.pri
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%changelog
|