2014-05-10 22:12:05 +00:00
|
|
|
#
|
|
|
|
# spec file for package kde-cli-tools5
|
|
|
|
#
|
2023-01-04 20:25:17 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-05-10 22:12:05 +00: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-16 19:53:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-05-10 22:12:05 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-09-17 10:40:20 +00:00
|
|
|
%define kf5_version 5.98.0
|
2022-01-19 20:18:39 +00:00
|
|
|
%bcond_without released
|
2014-05-10 22:12:05 +00:00
|
|
|
Name: kde-cli-tools5
|
2023-01-04 20:25:17 +00:00
|
|
|
Version: 5.26.5
|
2014-05-10 22:12:05 +00:00
|
|
|
Release: 0
|
2014-05-10 22:16:16 +00:00
|
|
|
Summary: Additional CLI tools for KDE applications
|
2018-06-19 21:42:08 +00:00
|
|
|
License: GPL-2.0-or-later
|
2014-05-10 22:12:05 +00:00
|
|
|
Group: System/GUI/KDE
|
2020-02-25 18:29:59 +00:00
|
|
|
URL: http://www.kde.org
|
2022-10-18 19:02:52 +00:00
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/kde-cli-tools-%{version}.tar.xz
|
2022-01-19 20:18:39 +00:00
|
|
|
%if %{with released}
|
2022-10-18 19:02:52 +00:00
|
|
|
Source1: https://download.kde.org/stable/plasma/%{version}/kde-cli-tools-%{version}.tar.xz.sig
|
2018-09-19 04:47:24 +00:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2014-11-21 18:46:43 +00:00
|
|
|
# PATCH-FIX-OPENSUSE kdesu-add-some-i18n-love.patch -- boo#852256
|
|
|
|
Patch0: kdesu-add-some-i18n-love.patch
|
2022-01-20 20:07:24 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2014-05-10 22:12:05 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: xz
|
2019-02-07 20:23:34 +00:00
|
|
|
BuildRequires: cmake(KF5Activities) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Config) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Declarative) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5DocTools) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5IconThemes) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Init) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KCMUtils) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KDELibs4Support) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Su) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5WindowSystem) >= %{kf5_version}
|
2018-05-21 09:07:08 +00:00
|
|
|
# Needs KWorkSpace::detectPlatform
|
|
|
|
BuildRequires: cmake(LibKWorkspace) >= 5.12.4
|
2022-01-20 20:07:24 +00:00
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
2014-05-10 22:12:05 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2015-11-25 23:12:55 +00:00
|
|
|
BuildRequires: pkgconfig(xcb)
|
2022-02-24 12:31:32 +00:00
|
|
|
# Unversioned kde-open, kdesu, etc.
|
|
|
|
Conflicts: kdebase4-runtime
|
2014-08-14 21:05:01 +00:00
|
|
|
# for kquitapp5
|
|
|
|
Requires: kdbusaddons-tools
|
2014-05-10 22:12:05 +00:00
|
|
|
|
|
|
|
%description
|
2014-05-10 22:16:16 +00:00
|
|
|
Additional CLI tools for KDE applications and workspaces.
|
2014-05-10 22:12:05 +00:00
|
|
|
|
2014-09-26 00:39:32 +00:00
|
|
|
%lang_package
|
2021-07-28 05:42:05 +00:00
|
|
|
|
2014-05-10 22:12:05 +00:00
|
|
|
%prep
|
2022-01-20 20:07:24 +00:00
|
|
|
%autosetup -p1 -n kde-cli-tools-%{version}
|
2014-05-10 22:12:05 +00:00
|
|
|
|
|
|
|
%build
|
2017-09-15 03:22:13 +00:00
|
|
|
%cmake_kf5 -d build
|
2020-02-08 00:13:11 +00:00
|
|
|
%cmake_build
|
2014-05-10 22:12:05 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2022-01-19 20:18:39 +00:00
|
|
|
%if %{with released}
|
2017-09-15 03:22:13 +00:00
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%kf5_find_htmldocs
|
2016-07-06 16:37:27 +00:00
|
|
|
%endif
|
2022-01-20 20:07:24 +00:00
|
|
|
ln -s %{_kf5_libexecdir}/kdesu %{buildroot}%{_kf5_bindir}/kdesu
|
2014-05-10 22:12:05 +00:00
|
|
|
|
2022-01-20 20:07:24 +00:00
|
|
|
%pre
|
|
|
|
# Remove old update-alternatives entry
|
|
|
|
if [ -x "%{_sbindir}/update-alternatives" ]; then
|
|
|
|
%{_sbindir}/update-alternatives --remove kdesu %{_kf5_libexecdir}/kdesu
|
2014-08-08 21:20:39 +00:00
|
|
|
fi
|
2014-05-10 22:12:05 +00:00
|
|
|
|
|
|
|
%files
|
2021-05-15 16:17:00 +00:00
|
|
|
%license LICENSES/*
|
2022-05-25 05:38:07 +00:00
|
|
|
%{_kf5_applicationsdir}/kcm_filetypes.desktop
|
2014-08-08 21:20:39 +00:00
|
|
|
%{_kf5_bindir}/kdesu
|
2014-05-10 22:12:05 +00:00
|
|
|
%{_kf5_bindir}/kcmshell5
|
2022-01-19 20:18:39 +00:00
|
|
|
%{_kf5_bindir}/kdecp{5,}
|
2020-09-21 06:29:48 +00:00
|
|
|
%{_kf5_bindir}/kde-inhibit
|
2022-01-19 20:18:39 +00:00
|
|
|
%{_kf5_bindir}/kdemv{5,}
|
|
|
|
%{_kf5_bindir}/kde-open{5,}
|
|
|
|
%{_kf5_bindir}/keditfiletype{5,}
|
|
|
|
%{_kf5_bindir}/kioclient{5,}
|
|
|
|
%{_kf5_bindir}/kmimetypefinder{5,}
|
|
|
|
%{_kf5_bindir}/ksvgtopng{5,}
|
|
|
|
%{_kf5_bindir}/kstart{5,}
|
2014-05-10 22:12:05 +00:00
|
|
|
%{_kf5_bindir}/ktraderclient5
|
2017-01-13 16:37:09 +00:00
|
|
|
%{_kf5_bindir}/kbroadcastnotification
|
2021-09-20 06:13:42 +00:00
|
|
|
%{_kf5_bindir}/plasma-open-settings
|
2022-01-20 20:07:24 +00:00
|
|
|
%{_kf5_libexecdir}/kdeeject
|
|
|
|
%{_kf5_libexecdir}/kdesu
|
2020-01-17 13:03:34 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.keditfiletype.desktop
|
2021-09-20 06:13:42 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.plasma.settings.open.desktop
|
2022-01-20 20:07:24 +00:00
|
|
|
%dir %{_kf5_plugindir}/
|
|
|
|
%dir %{_kf5_plugindir}/plasma/
|
|
|
|
%dir %{_kf5_plugindir}/plasma/kcms/
|
|
|
|
%dir %{_kf5_plugindir}/plasma/kcms/systemsettings_qwidgets/
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_filetypes.so
|
2017-09-15 03:22:13 +00:00
|
|
|
%doc %{_kf5_htmldir}/en
|
2022-01-20 20:07:24 +00:00
|
|
|
%{_kf5_mandir}/man1/kdesu*
|
2014-05-10 22:12:05 +00:00
|
|
|
|
2022-01-19 20:18:39 +00:00
|
|
|
%if %{with released}
|
2016-07-06 16:37:27 +00:00
|
|
|
%files lang -f %{name}.lang
|
2015-04-10 18:19:14 +00:00
|
|
|
%endif
|
2014-09-26 00:39:32 +00:00
|
|
|
|
2014-05-10 22:12:05 +00:00
|
|
|
%changelog
|