2015-08-07 09:43:56 +02:00
|
|
|
#
|
|
|
|
# spec file for package akonadi-server
|
|
|
|
#
|
2021-01-06 15:50:51 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2018-10-12 10:43:22 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-07 09:43:56 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-12-03 15:19:11 +01:00
|
|
|
%define rname akonadi
|
2021-04-19 15:30:45 +02:00
|
|
|
%define kf5_version 5.79.0
|
2017-08-12 00:52:12 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:19:45 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2022-01-06 13:44:22 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:43:51 +01:00
|
|
|
Name: akonadi-server
|
2022-04-10 12:41:16 +02:00
|
|
|
Version: 22.03.90
|
2018-11-25 00:43:51 +01:00
|
|
|
Release: 0
|
2015-08-07 09:43:56 +02:00
|
|
|
Summary: PIM Storage Service
|
2018-03-10 13:10:05 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2015-08-07 09:43:56 +02:00
|
|
|
Group: System/GUI/KDE
|
2019-08-15 16:00:07 +02:00
|
|
|
URL: https://akonadi-project.org
|
2022-03-29 08:44:12 +02:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 13:44:22 +01:00
|
|
|
%if %{with released}
|
2022-03-29 08:44:12 +02:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2021-04-19 15:30:45 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2015-08-07 11:20:18 +02:00
|
|
|
Source99: akonadi-server-rpmlintrc
|
Accepting request 897736 from home:cboltz:branches:KDE:Applications
- Install AppArmor profiles (as -apparmor subpackage)
- add akonadi-apparmor-opensuse.diff to adjust the profiles to
openSUSE paths, and to add 'abi' rules to the profiles
Thanks for the quick review in SR 897569. This SR should fix the issues you
noticed.
Another diff to SR 897569 is that I added 'abi' rules to the profiles to ensure
that all AppArmor features get enforced.
Original description (from SR 897569):
Note: The akonadi-server-apparmor package will _not_ be installed
automatically, so users will have to explicitely install it if they want
to use the AppArmor profiles for akonadi-server.
I tested the profiles with my setup (which is using the system-wide
mariadb with akonadi), other setups might need some adjustments.
My proposal is: As soon as this change reaches Tumbleweed, let's send
out a call for testing on the factory mailinglist (I can do that, unless
you want to do it yourself).
I'll update the profiles as needed (as bugreports come in) so that they
work with mariadb and postgresql, with the goal to have profiles that
"just work".
To get started, I added a patch with some profile additions (openSUSE
and Debian paths somewhat differ). When the dust/bugreports settles, we
should of course get the patch upstream. (I can probably do that, but
might need some help - it's been a long time since I last submitted a
patch to one of the KDE repos.)
If you want to test yourself, note that you'll need to restart akonadi
to actually enable the AppArmor confinement.
OBS-URL: https://build.opensuse.org/request/show/897736
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-server?expand=0&rev=279
2021-06-08 14:04:10 +02:00
|
|
|
BuildRequires: apparmor-abstractions
|
|
|
|
BuildRequires: apparmor-rpm-macros
|
2016-12-03 15:19:11 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2015-08-07 09:43:56 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
2016-10-31 16:01:21 +01:00
|
|
|
BuildRequires: libQt5Sql-private-headers-devel
|
2019-11-29 12:38:48 +01:00
|
|
|
BuildRequires: libboost_graph-devel
|
|
|
|
BuildRequires: libboost_headers-devel
|
2020-02-04 22:34:53 +01:00
|
|
|
BuildRequires: libxml2-tools
|
2016-04-27 23:42:05 +02:00
|
|
|
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
|
2019-11-29 12:38:48 +01:00
|
|
|
BuildRequires: cmake(KAccounts)
|
2016-04-27 23:42:05 +02:00
|
|
|
BuildRequires: cmake(KF5Completion)
|
2016-04-11 10:16:37 +02:00
|
|
|
BuildRequires: cmake(KF5Config)
|
2020-02-04 22:34:53 +01:00
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
2016-12-03 15:19:11 +01:00
|
|
|
BuildRequires: cmake(KF5Crash)
|
2016-04-11 10:16:37 +02:00
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
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)
|
2020-02-04 22:34:53 +01:00
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
2016-04-11 10:16:37 +02:00
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
2020-02-04 22:34:53 +01:00
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
2019-11-29 12:38:48 +01:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
2016-04-11 10:16:37 +02:00
|
|
|
BuildRequires: cmake(Qt5Designer)
|
2019-11-29 12:38:48 +01:00
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
BuildRequires: cmake(Qt5Sql)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
2015-08-07 09:43:56 +02:00
|
|
|
Requires: libqt5-sql-mysql
|
|
|
|
Requires: mysql
|
2020-03-28 14:56:40 +01:00
|
|
|
# FIXME: Check if it's worth it
|
|
|
|
Recommends: kaccounts-integration
|
|
|
|
Recommends: kaccounts-providers
|
2015-08-07 09:43:56 +02:00
|
|
|
Suggests: mariadb
|
2016-12-03 15:19:11 +01:00
|
|
|
Obsoletes: akonadi5 < %{version}
|
|
|
|
Provides: akonadi5 = %{version}
|
2020-03-06 11:10:09 +01:00
|
|
|
# Needed for users of unstable repositories
|
2016-12-03 15:19:11 +01:00
|
|
|
Obsoletes: akonadi < %{version}
|
2017-08-12 00:52:12 +02:00
|
|
|
Obsoletes: akonadi-runtime < %{version}
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the data files of Akonadi, the KDE PIM storage
|
|
|
|
service.
|
|
|
|
|
2016-05-19 23:11:22 +02:00
|
|
|
%package -n libKF5AkonadiCore5
|
|
|
|
Summary: Core Akonadi Server library
|
|
|
|
Group: System/Libraries
|
2016-10-31 16:01:21 +01:00
|
|
|
Recommends: %{name}
|
2016-05-19 23:11:22 +02:00
|
|
|
|
|
|
|
%description -n libKF5AkonadiCore5
|
|
|
|
This package includes the core Akonadi library, the KDE PIM storage service.
|
|
|
|
|
|
|
|
%package -n libKF5AkonadiAgentBase5
|
|
|
|
Summary: Akonadi Agent base library
|
|
|
|
Group: System/Libraries
|
2016-10-31 16:01:21 +01:00
|
|
|
Recommends: %{name}
|
2016-05-19 23:11:22 +02:00
|
|
|
|
|
|
|
%description -n libKF5AkonadiAgentBase5
|
|
|
|
This package includes the agent library for Akonadi, the KDE PIM storage service.
|
|
|
|
|
|
|
|
%package -n libKF5AkonadiWidgets5
|
|
|
|
Summary: Akonadi Agent base library
|
|
|
|
Group: System/Libraries
|
2016-10-31 16:01:21 +01:00
|
|
|
Recommends: %{name}
|
2016-05-19 23:11:22 +02:00
|
|
|
|
2016-05-19 23:16:09 +02:00
|
|
|
%description -n libKF5AkonadiWidgets5
|
2016-05-19 23:11:22 +02:00
|
|
|
This package provides the basic GUI widgets for Akonadi, the KDE PIM storage service.
|
2016-04-11 10:16:37 +02:00
|
|
|
|
2016-10-31 16:01:21 +01:00
|
|
|
%package -n libKF5AkonadiPrivate5
|
|
|
|
Summary: Akonadi Private Server library
|
|
|
|
Group: System/Libraries
|
|
|
|
Recommends: %{name}
|
|
|
|
|
|
|
|
%description -n libKF5AkonadiPrivate5
|
|
|
|
This package includes the Private Akonadi library for Akonadi, the KDE PIM storage service.
|
|
|
|
|
|
|
|
%package -n libKF5AkonadiXml5
|
|
|
|
Summary: Akonadi Xml library
|
|
|
|
Group: System/Libraries
|
|
|
|
Recommends: %{name}
|
|
|
|
|
|
|
|
%description -n libKF5AkonadiXml5
|
|
|
|
This package includes the Akonadi Xml library for Akonadi, the KDE PIM storage service.
|
|
|
|
|
2016-11-21 07:17:05 +01:00
|
|
|
%package sqlite
|
|
|
|
Summary: akonadi server's SQlite plugin
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Requires: %{name} = %{version}
|
2020-03-28 14:56:40 +01:00
|
|
|
Supplements: (%{name} and sqlite3)
|
2016-11-21 07:17:05 +01:00
|
|
|
|
|
|
|
%description sqlite
|
|
|
|
Akonadi server's SQlite plugin.
|
|
|
|
|
2016-04-11 10:16:37 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Akonadi Framework: Build Environment
|
2015-08-07 09:43:56 +02:00
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Requires: %{name} = %{version}
|
2016-05-19 23:50:33 +02:00
|
|
|
Requires: libKF5AkonadiAgentBase5 = %{version}
|
|
|
|
Requires: libKF5AkonadiCore5 = %{version}
|
|
|
|
Requires: libKF5AkonadiWidgets5 = %{version}
|
2019-11-29 12:38:48 +01:00
|
|
|
Requires: libboost_headers-devel
|
|
|
|
Requires: cmake(KF5Completion)
|
2020-03-30 18:12:54 +02:00
|
|
|
Requires: cmake(KF5Config)
|
2020-02-04 22:34:53 +01:00
|
|
|
Requires: cmake(KF5ConfigWidgets)
|
|
|
|
Requires: cmake(KF5CoreAddons)
|
2019-11-29 12:38:48 +01:00
|
|
|
Requires: cmake(KF5ItemModels)
|
|
|
|
Requires: cmake(KF5XmlGui)
|
2020-02-04 22:34:53 +01:00
|
|
|
Requires: cmake(Qt5Core)
|
|
|
|
Requires: cmake(Qt5DBus)
|
2019-11-29 12:38:48 +01:00
|
|
|
Requires: cmake(Qt5Network)
|
2020-02-04 22:34:53 +01:00
|
|
|
Requires: cmake(Qt5Widgets)
|
|
|
|
Requires: cmake(Qt5Xml)
|
2016-12-03 15:19:11 +01:00
|
|
|
Conflicts: libakonadiprotocolinternals-devel
|
2016-05-19 15:12:46 +02:00
|
|
|
Obsoletes: akonadi-devel < %{version}
|
2016-05-19 23:11:22 +02:00
|
|
|
Obsoletes: libKF5AkonadiPrivate-devel < %{version}
|
2016-04-11 10:16:37 +02:00
|
|
|
Provides: libKF5AkonadiPrivate-devel = %{version}
|
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.
|
|
|
|
|
Accepting request 897736 from home:cboltz:branches:KDE:Applications
- Install AppArmor profiles (as -apparmor subpackage)
- add akonadi-apparmor-opensuse.diff to adjust the profiles to
openSUSE paths, and to add 'abi' rules to the profiles
Thanks for the quick review in SR 897569. This SR should fix the issues you
noticed.
Another diff to SR 897569 is that I added 'abi' rules to the profiles to ensure
that all AppArmor features get enforced.
Original description (from SR 897569):
Note: The akonadi-server-apparmor package will _not_ be installed
automatically, so users will have to explicitely install it if they want
to use the AppArmor profiles for akonadi-server.
I tested the profiles with my setup (which is using the system-wide
mariadb with akonadi), other setups might need some adjustments.
My proposal is: As soon as this change reaches Tumbleweed, let's send
out a call for testing on the factory mailinglist (I can do that, unless
you want to do it yourself).
I'll update the profiles as needed (as bugreports come in) so that they
work with mariadb and postgresql, with the goal to have profiles that
"just work".
To get started, I added a patch with some profile additions (openSUSE
and Debian paths somewhat differ). When the dust/bugreports settles, we
should of course get the patch upstream. (I can probably do that, but
might need some help - it's been a long time since I last submitted a
patch to one of the KDE repos.)
If you want to test yourself, note that you'll need to restart akonadi
to actually enable the AppArmor confinement.
OBS-URL: https://build.opensuse.org/request/show/897736
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-server?expand=0&rev=279
2021-06-08 14:04:10 +02:00
|
|
|
%package apparmor
|
|
|
|
Summary: AppArmor profiles for Akonadi
|
|
|
|
Requires: apparmor-abstractions
|
|
|
|
|
|
|
|
%description apparmor
|
|
|
|
This package contains AppArmor profiles for Akonadi.
|
|
|
|
|
2017-04-15 15:27:44 +02:00
|
|
|
%lang_package
|
|
|
|
|
2015-08-07 09:43:56 +02:00
|
|
|
%prep
|
2020-11-23 13:55:46 +01:00
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%build
|
Accepting request 897736 from home:cboltz:branches:KDE:Applications
- Install AppArmor profiles (as -apparmor subpackage)
- add akonadi-apparmor-opensuse.diff to adjust the profiles to
openSUSE paths, and to add 'abi' rules to the profiles
Thanks for the quick review in SR 897569. This SR should fix the issues you
noticed.
Another diff to SR 897569 is that I added 'abi' rules to the profiles to ensure
that all AppArmor features get enforced.
Original description (from SR 897569):
Note: The akonadi-server-apparmor package will _not_ be installed
automatically, so users will have to explicitely install it if they want
to use the AppArmor profiles for akonadi-server.
I tested the profiles with my setup (which is using the system-wide
mariadb with akonadi), other setups might need some adjustments.
My proposal is: As soon as this change reaches Tumbleweed, let's send
out a call for testing on the factory mailinglist (I can do that, unless
you want to do it yourself).
I'll update the profiles as needed (as bugreports come in) so that they
work with mariadb and postgresql, with the goal to have profiles that
"just work".
To get started, I added a patch with some profile additions (openSUSE
and Debian paths somewhat differ). When the dust/bugreports settles, we
should of course get the patch upstream. (I can probably do that, but
might need some help - it's been a long time since I last submitted a
patch to one of the KDE repos.)
If you want to test yourself, note that you'll need to restart akonadi
to actually enable the AppArmor confinement.
OBS-URL: https://build.opensuse.org/request/show/897736
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-server?expand=0&rev=279
2021-06-08 14:04:10 +02:00
|
|
|
%cmake_kf5 -d build -- -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE -DQT_PLUGINS_DIR=%{_kf5_plugindir}
|
2020-02-07 09:38:09 +01:00
|
|
|
%cmake_build
|
2015-08-07 09:43:56 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2022-01-06 13:44:22 +01:00
|
|
|
%if %{with released}
|
2017-04-15 15:27:44 +02:00
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%endif
|
2015-08-07 09:43:56 +02:00
|
|
|
|
2020-08-13 15:51:20 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2015-08-07 09:43:56 +02:00
|
|
|
|
2016-05-19 23:11:22 +02:00
|
|
|
%post -n libKF5AkonadiWidgets5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKF5AkonadiWidgets5 -p /sbin/ldconfig
|
|
|
|
%post -n libKF5AkonadiCore5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKF5AkonadiCore5 -p /sbin/ldconfig
|
|
|
|
%post -n libKF5AkonadiAgentBase5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKF5AkonadiAgentBase5 -p /sbin/ldconfig
|
2016-10-31 16:01:21 +01:00
|
|
|
%post -n libKF5AkonadiPrivate5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKF5AkonadiPrivate5 -p /sbin/ldconfig
|
|
|
|
%post -n libKF5AkonadiXml5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKF5AkonadiXml5 -p /sbin/ldconfig
|
|
|
|
|
Accepting request 897736 from home:cboltz:branches:KDE:Applications
- Install AppArmor profiles (as -apparmor subpackage)
- add akonadi-apparmor-opensuse.diff to adjust the profiles to
openSUSE paths, and to add 'abi' rules to the profiles
Thanks for the quick review in SR 897569. This SR should fix the issues you
noticed.
Another diff to SR 897569 is that I added 'abi' rules to the profiles to ensure
that all AppArmor features get enforced.
Original description (from SR 897569):
Note: The akonadi-server-apparmor package will _not_ be installed
automatically, so users will have to explicitely install it if they want
to use the AppArmor profiles for akonadi-server.
I tested the profiles with my setup (which is using the system-wide
mariadb with akonadi), other setups might need some adjustments.
My proposal is: As soon as this change reaches Tumbleweed, let's send
out a call for testing on the factory mailinglist (I can do that, unless
you want to do it yourself).
I'll update the profiles as needed (as bugreports come in) so that they
work with mariadb and postgresql, with the goal to have profiles that
"just work".
To get started, I added a patch with some profile additions (openSUSE
and Debian paths somewhat differ). When the dust/bugreports settles, we
should of course get the patch upstream. (I can probably do that, but
might need some help - it's been a long time since I last submitted a
patch to one of the KDE repos.)
If you want to test yourself, note that you'll need to restart akonadi
to actually enable the AppArmor confinement.
OBS-URL: https://build.opensuse.org/request/show/897736
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-server?expand=0&rev=279
2021-06-08 14:04:10 +02:00
|
|
|
%post apparmor
|
|
|
|
%apparmor_reload %{_sysconfdir}/apparmor.d/mariadbd_akonadi %{_sysconfdir}/apparmor.d/mysqld_akonadi %{_sysconfdir}/apparmor.d/postgresql_akonadi %{_sysconfdir}/apparmor.d/usr.bin.akonadiserver
|
|
|
|
|
2015-08-07 09:43:56 +02:00
|
|
|
%files
|
2018-11-25 00:43:51 +01:00
|
|
|
%doc AUTHORS
|
2017-08-05 20:35:16 +02:00
|
|
|
%config %{_kf5_sysconfdir}/xdg/akonadi/mysql-global-mobile.conf
|
|
|
|
%config %{_kf5_sysconfdir}/xdg/akonadi/mysql-global.conf
|
2017-08-05 20:58:05 +02:00
|
|
|
%dir %{_kf5_iconsdir}/hicolor/256x256
|
2017-08-05 21:40:17 +02:00
|
|
|
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
|
2017-08-05 20:35:16 +02:00
|
|
|
%dir %{_kf5_sysconfdir}/xdg/akonadi
|
|
|
|
%{_datadir}/akonadi/
|
|
|
|
%{_datadir}/kf5/akonadi/
|
|
|
|
%{_datadir}/kf5/akonadi_knut_resource/
|
2016-04-28 07:36:48 +02:00
|
|
|
%{_kf5_bindir}/akonadi_*
|
|
|
|
%{_kf5_bindir}/akonadictl
|
|
|
|
%{_kf5_bindir}/akonadiselftest
|
|
|
|
%{_kf5_bindir}/akonadiserver
|
|
|
|
%{_kf5_bindir}/akonaditest
|
2017-08-05 20:35:16 +02:00
|
|
|
%{_kf5_bindir}/asapcat
|
2016-04-11 10:16:37 +02:00
|
|
|
%{_kf5_configkcfgdir}/resourcebase.kcfg
|
2021-04-19 15:30:45 +02:00
|
|
|
%{_kf5_debugdir}/akonadi.*categories
|
2017-08-12 00:52:12 +02:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/akonadi.png
|
|
|
|
%{_kf5_iconsdir}/hicolor/scalable/apps/akonadi.svgz
|
2016-04-11 10:16:37 +02:00
|
|
|
%{_kf5_plugindir}/akonadi/
|
2017-08-05 20:35:16 +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
|
|
|
|
2016-05-19 23:11:22 +02:00
|
|
|
%files -n libKF5AkonadiAgentBase5
|
2017-08-12 00:52:12 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiAgentBase.so.*
|
2016-05-19 23:11:22 +02:00
|
|
|
|
|
|
|
%files -n libKF5AkonadiCore5
|
2020-07-22 21:31:42 +02:00
|
|
|
%license LICENSES/*
|
2017-08-12 00:52:12 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiCore.so.*
|
2016-05-19 23:11:22 +02:00
|
|
|
|
|
|
|
%files -n libKF5AkonadiWidgets5
|
2017-08-12 00:52:12 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiWidgets.so.*
|
2016-05-19 23:11:22 +02:00
|
|
|
|
2016-10-31 16:01:21 +01:00
|
|
|
%files -n libKF5AkonadiPrivate5
|
2017-08-12 00:52:12 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiPrivate.so.*
|
2016-10-31 16:01:21 +01:00
|
|
|
|
|
|
|
%files -n libKF5AkonadiXml5
|
2017-08-12 00:52:12 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiXml.so.*
|
2016-10-31 16:01:21 +01:00
|
|
|
|
2016-11-21 07:17:05 +01:00
|
|
|
%files sqlite
|
|
|
|
%{_kf5_plugindir}/sqldrivers/
|
|
|
|
|
2016-04-11 10:16:37 +02:00
|
|
|
%files devel
|
2016-04-28 07:36:48 +02:00
|
|
|
%{_kf5_bindir}/akonadi2xml
|
2021-04-19 15:30:45 +02:00
|
|
|
%{_kf5_cmakedir}/KF5Akonadi
|
2017-08-12 00:52:12 +02:00
|
|
|
%{_kf5_dbusinterfacesdir}/org.freedesktop.Akonadi.*.xml
|
2022-03-29 08:44:12 +02:00
|
|
|
%{_kf5_includedir}/Akonadi/
|
2016-04-11 10:16:37 +02:00
|
|
|
%{_kf5_includedir}/AkonadiAgentBase/
|
2017-08-05 20:35:16 +02:00
|
|
|
%{_kf5_includedir}/AkonadiCore/
|
2016-04-11 10:16:37 +02:00
|
|
|
%{_kf5_includedir}/AkonadiWidgets/
|
|
|
|
%{_kf5_includedir}/AkonadiXml/
|
|
|
|
%{_kf5_includedir}/akonadi_version.h
|
2017-08-12 00:52:12 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiAgentBase.so
|
|
|
|
%{_kf5_libdir}/libKF5AkonadiCore.so
|
|
|
|
%{_kf5_libdir}/libKF5AkonadiPrivate.so
|
|
|
|
%{_kf5_libdir}/libKF5AkonadiWidgets.so
|
|
|
|
%{_kf5_libdir}/libKF5AkonadiXml.so
|
|
|
|
%{_kf5_mkspecsdir}/qt_AkonadiAgentBase.pri
|
|
|
|
%{_kf5_mkspecsdir}/qt_AkonadiCore.pri
|
|
|
|
%{_kf5_mkspecsdir}/qt_AkonadiWidgets.pri
|
|
|
|
%{_kf5_mkspecsdir}/qt_AkonadiXml.pri
|
2021-04-19 15:30:45 +02:00
|
|
|
%{_kf5_plugindir}/designer/
|
2015-08-07 09:43:56 +02:00
|
|
|
|
Accepting request 897736 from home:cboltz:branches:KDE:Applications
- Install AppArmor profiles (as -apparmor subpackage)
- add akonadi-apparmor-opensuse.diff to adjust the profiles to
openSUSE paths, and to add 'abi' rules to the profiles
Thanks for the quick review in SR 897569. This SR should fix the issues you
noticed.
Another diff to SR 897569 is that I added 'abi' rules to the profiles to ensure
that all AppArmor features get enforced.
Original description (from SR 897569):
Note: The akonadi-server-apparmor package will _not_ be installed
automatically, so users will have to explicitely install it if they want
to use the AppArmor profiles for akonadi-server.
I tested the profiles with my setup (which is using the system-wide
mariadb with akonadi), other setups might need some adjustments.
My proposal is: As soon as this change reaches Tumbleweed, let's send
out a call for testing on the factory mailinglist (I can do that, unless
you want to do it yourself).
I'll update the profiles as needed (as bugreports come in) so that they
work with mariadb and postgresql, with the goal to have profiles that
"just work".
To get started, I added a patch with some profile additions (openSUSE
and Debian paths somewhat differ). When the dust/bugreports settles, we
should of course get the patch upstream. (I can probably do that, but
might need some help - it's been a long time since I last submitted a
patch to one of the KDE repos.)
If you want to test yourself, note that you'll need to restart akonadi
to actually enable the AppArmor confinement.
OBS-URL: https://build.opensuse.org/request/show/897736
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-server?expand=0&rev=279
2021-06-08 14:04:10 +02:00
|
|
|
%files apparmor
|
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/mariadbd_akonadi
|
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/mysqld_akonadi
|
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/postgresql_akonadi
|
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/usr.bin.akonadiserver
|
|
|
|
|
2022-01-06 13:44:22 +01:00
|
|
|
%if %{with released}
|
2017-04-15 15:27:44 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
2015-08-07 09:43:56 +02:00
|
|
|
%changelog
|