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-11 08:29:57 +02:00
|
|
|
Version: 16.03.90
|
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-02-13 12:27:06 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2015-08-07 09:43:56 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: libxml2
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: mariadb
|
2016-02-13 12:27:06 +01:00
|
|
|
BuildRequires: postgresql-devel
|
2015-08-07 09:43:56 +02:00
|
|
|
BuildRequires: shared-mime-info
|
|
|
|
BuildRequires: sqlite3-devel
|
|
|
|
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: libKF5AkonadiPrivate5 = %{version}
|
|
|
|
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
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the data files of Akonadi, the KDE PIM storage
|
|
|
|
service.
|
|
|
|
|
|
|
|
%package -n libKF5AkonadiPrivate-devel
|
|
|
|
Summary: PIM Storage Service: Build Environment
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Requires: %{name} = %{version}
|
2016-02-13 12:27:06 +01:00
|
|
|
Requires: libKF5AkonadiPrivate5 = %{version}
|
2016-01-26 17:02:40 +01:00
|
|
|
%if 0%{?suse_version} > 1320
|
|
|
|
Obsoletes: libakonadiprotocolinternals-devel < %{version}
|
|
|
|
%else
|
2015-08-24 13:05:11 +02:00
|
|
|
Conflicts: libakonadiprotocolinternals-devel
|
2016-01-26 17:02:40 +01:00
|
|
|
%endif
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%description -n libKF5AkonadiPrivate-devel
|
|
|
|
This package contains development files of Akonadi, the KDE PIM storage
|
|
|
|
service.
|
|
|
|
|
|
|
|
%package -n libKF5AkonadiPrivate5
|
|
|
|
Summary: PIM Storage Service
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description -n libKF5AkonadiPrivate5
|
|
|
|
This package contains the data files of Akonadi, the KDE PIM storage
|
|
|
|
service.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{rname}-%{version}
|
|
|
|
|
|
|
|
%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 || :
|
|
|
|
|
|
|
|
%post -n libKF5AkonadiPrivate5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libKF5AkonadiPrivate5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-08-24 13:05:11 +02:00
|
|
|
%doc lgpl-license AUTHORS README*
|
2015-08-07 09:43:56 +02:00
|
|
|
%dir %{_kf5_sysconfdir}/xdg/akonadi
|
|
|
|
%config %{_kf5_sysconfdir}/xdg/akonadi/mysql-global-mobile.conf
|
2015-08-24 13:05:11 +02:00
|
|
|
%config %{_kf5_sysconfdir}/xdg/akonadi/mysql-global.conf
|
|
|
|
%{_kf5_bindir}/akonadi*
|
|
|
|
%{_kf5_bindir}/asapcat
|
|
|
|
%{_kf5_plugindir}/sqldrivers/libqsqlite3.so
|
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
|
2015-08-24 13:05:11 +02:00
|
|
|
%{_kf5_sysconfdir}/xdg/akonadi.categories
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%files -n libKF5AkonadiPrivate-devel
|
|
|
|
%defattr(-,root,root)
|
2015-08-24 13:05:11 +02:00
|
|
|
%doc lgpl-license
|
2015-08-07 09:43:56 +02:00
|
|
|
%dir %{_kf5_libdir}/cmake
|
2015-08-24 13:05:11 +02:00
|
|
|
%{_kf5_includedir}/akonadi/
|
|
|
|
%{_kf5_libdir}/cmake/KF5AkonadiServer/
|
2015-08-07 09:43:56 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiPrivate.so
|
2015-08-24 13:05:11 +02:00
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/org.freedesktop.Akonadi.*.xml
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%files -n libKF5AkonadiPrivate5
|
|
|
|
%defattr(-,root,root)
|
2015-08-24 13:05:11 +02:00
|
|
|
%doc lgpl-license
|
2015-08-07 09:43:56 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiPrivate.so.*
|
|
|
|
|
|
|
|
%changelog
|