2016-03-05 20:12:12 +01:00
|
|
|
#
|
2016-04-19 22:48:21 +02:00
|
|
|
# spec file for package kactivitymanagerd
|
2016-03-05 20:12:12 +01:00
|
|
|
#
|
2023-01-23 14:54:47 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2016-03-05 20:12:12 +01: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.
|
|
|
|
|
2023-01-23 14:54:47 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-03-05 20:12:12 +01:00
|
|
|
#
|
|
|
|
|
2023-01-23 14:54:47 +01:00
|
|
|
|
2022-09-17 12:40:19 +02:00
|
|
|
%global kf5_version 5.98.0
|
|
|
|
%global qt5_version 5.15.0
|
2016-03-05 20:12:12 +01:00
|
|
|
|
2022-01-19 21:18:38 +01:00
|
|
|
%bcond_without released
|
2016-03-05 20:12:12 +01:00
|
|
|
Name: kactivitymanagerd
|
2023-02-12 10:28:50 +01:00
|
|
|
Version: 5.27.0
|
2016-03-05 20:12:12 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: KDE Plasma Activities support
|
2019-10-11 14:27:55 +02:00
|
|
|
License: GPL-2.0-or-later
|
2016-03-05 20:12:12 +01:00
|
|
|
Group: System/GUI/KDE
|
2023-01-23 14:54:47 +01:00
|
|
|
URL: https://projects.kde.org/kactivitymanagerd
|
2023-02-12 10:28:50 +01:00
|
|
|
Source: kactivitymanagerd-%{version}.tar.xz
|
2022-01-19 21:18:38 +01:00
|
|
|
%if %{with released}
|
2023-02-12 10:28:50 +01:00
|
|
|
Source1: kactivitymanagerd-%{version}.tar.xz.sig
|
2018-09-19 06:47:23 +02:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2021-05-15 18:17:00 +02:00
|
|
|
BuildRequires: cmake >= 3.16
|
2018-05-21 11:07:07 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2016-03-05 20:12:12 +01:00
|
|
|
BuildRequires: fdupes
|
2023-01-23 14:54:47 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: libboost_headers-devel
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
BuildRequires: xz
|
2019-09-20 13:01:12 +02:00
|
|
|
BuildRequires: cmake(KF5Config) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
|
2023-01-23 14:54:47 +01:00
|
|
|
BuildRequires: cmake(KF5Crash) >= %{kf5_version}
|
2019-09-20 13:01:12 +02:00
|
|
|
BuildRequires: cmake(KF5DBusAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Declarative) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5GlobalAccel) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
2023-01-23 14:54:47 +01:00
|
|
|
BuildRequires: cmake(KF5KCMUtils) >= %{kf5_version}
|
2019-09-20 13:01:12 +02:00
|
|
|
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Service) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5WindowSystem) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5XmlGui) >= %{kf5_version}
|
2018-05-21 11:07:07 +02:00
|
|
|
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Qml) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Quick) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Sql) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Test) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= %{qt5_version}
|
2016-03-05 20:12:12 +01:00
|
|
|
# for kactivitymanagerd_plugin_sqlite.so
|
2018-01-30 10:05:53 +01:00
|
|
|
Requires: libQt5Sql5-sqlite
|
2016-03-05 20:12:12 +01:00
|
|
|
Provides: kactivities4 = %{version}
|
|
|
|
Obsoletes: kactivities4 < %{version}
|
2020-10-28 13:04:59 +01:00
|
|
|
Provides: kactivities5 = 5.20.0
|
|
|
|
Obsoletes: kactivities5 < 5.20.0
|
2016-03-05 20:12:12 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
|
|
|
|
2016-03-06 11:09:20 +01:00
|
|
|
%package lang
|
|
|
|
Summary: KDE Plasma Activities support
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Requires: %{name} = %{version}
|
2020-10-28 13:04:59 +01:00
|
|
|
Provides: libKF5Activities5-lang = 5.20.0
|
|
|
|
Obsoletes: libKF5Activities5-lang < 5.20.0
|
2016-03-06 11:09:20 +01:00
|
|
|
|
|
|
|
%description lang
|
|
|
|
Provides translations to the package %{name}.
|
|
|
|
|
2016-03-05 20:12:12 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n kactivitymanagerd-%{version}
|
|
|
|
|
|
|
|
%build
|
2023-01-23 14:54:47 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2016-03-05 20:12:12 +01:00
|
|
|
|
|
|
|
%install
|
2023-01-23 14:54:47 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%fdupes %{buildroot}
|
2016-03-05 20:12:12 +01:00
|
|
|
|
2016-03-06 11:09:20 +01:00
|
|
|
%find_lang kactivities5
|
2016-03-05 20:12:12 +01:00
|
|
|
|
2021-01-24 22:11:02 +01:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%{systemd_user_post plasma-kactivitymanagerd.service}
|
2016-03-05 20:12:12 +01:00
|
|
|
|
2021-01-24 22:11:02 +01:00
|
|
|
%preun
|
|
|
|
%{systemd_user_preun plasma-kactivitymanagerd.service}
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
%{systemd_user_postun plasma-kactivitymanagerd.service}
|
2016-03-05 20:12:12 +01:00
|
|
|
|
2016-03-06 11:09:20 +01:00
|
|
|
%files -n %name-lang -f kactivities5.lang
|
|
|
|
|
2016-03-05 20:12:12 +01:00
|
|
|
%files
|
2021-01-24 22:11:02 +01:00
|
|
|
%license LICENSES/*
|
2016-03-05 20:12:12 +01:00
|
|
|
%{_kf5_libdir}/libkactivitymanagerd_plugin.so
|
2022-03-07 22:43:56 +01:00
|
|
|
%{_kf5_plugindir}/kactivitymanagerd/
|
|
|
|
%{_kf5_servicesdir}/kactivitymanagerd.desktop
|
2021-05-15 18:17:00 +02:00
|
|
|
%dir %{_kf5_sharedir}/krunner/
|
|
|
|
%dir %{_kf5_sharedir}/krunner/dbusplugins/
|
|
|
|
%{_kf5_sharedir}/krunner/dbusplugins/plasma-runnners-activities.desktop
|
2021-01-24 22:11:02 +01:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.ActivityManager.service
|
2019-01-19 10:06:57 +01:00
|
|
|
%{_kf5_debugdir}/kactivitymanagerd.categories
|
2022-03-10 16:52:17 +01:00
|
|
|
%{_libexecdir}/kactivitymanagerd
|
2022-05-25 07:38:06 +02:00
|
|
|
%{_userunitdir}/plasma-kactivitymanagerd.service
|
2016-03-05 20:12:12 +01:00
|
|
|
|
|
|
|
%changelog
|