2014-06-12 19:49:07 +02:00
|
|
|
#
|
|
|
|
# spec file for package kinfocenter5
|
|
|
|
#
|
2023-01-04 21:25:19 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-06-12 19:49:07 +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-16 21:53:09 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-06-12 19:49:07 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-01-21 09:53:02 +01:00
|
|
|
# Internal QML imports
|
|
|
|
%global __requires_exclude qmlimport\\(org\\.kde\\.kinfocenter.*
|
|
|
|
|
2022-09-17 12:40:21 +02:00
|
|
|
%global kf5_version 5.98.0
|
2017-03-01 15:45:15 +01:00
|
|
|
|
2022-01-19 21:18:39 +01:00
|
|
|
%bcond_without released
|
2014-06-12 19:49:07 +02:00
|
|
|
Name: kinfocenter5
|
2023-12-06 17:21:44 +01:00
|
|
|
Version: 5.27.10
|
2014-06-12 19:49:07 +02:00
|
|
|
Release: 0
|
2017-05-16 13:56:17 +02:00
|
|
|
# Full Plasma 5 version (e.g. 5.8.95)
|
2021-07-07 09:52:58 +02:00
|
|
|
%{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}}
|
2018-09-15 14:29:40 +02:00
|
|
|
# Latest ABI-stable Plasma (e.g. 5.8 in KF5, but 5.8.95 in KUF)
|
|
|
|
%{!?_plasma5_version: %define _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')}
|
2014-06-12 19:49:07 +02:00
|
|
|
Summary: Utility that provides information about a computer system
|
2018-06-19 23:42:09 +02:00
|
|
|
License: GPL-2.0-or-later
|
2014-06-12 19:49:07 +02:00
|
|
|
Group: System/GUI/KDE
|
2020-02-25 19:30:01 +01:00
|
|
|
URL: http://www.kde.org/
|
2023-02-22 21:25:20 +01:00
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/kinfocenter-%{version}.tar.xz
|
2022-01-19 21:18:39 +01:00
|
|
|
%if %{with released}
|
2023-02-22 21:25:20 +01:00
|
|
|
Source1: https://download.kde.org/stable/plasma/%{version}/kinfocenter-%{version}.tar.xz.sig
|
2018-09-19 06:47:26 +02:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2022-02-08 20:35:40 +01:00
|
|
|
# PATCH-FIX-OPENSUSE
|
|
|
|
Patch100: 0002-Look-for-binaries-in-Mesa-demos-path-as-well.patch
|
2022-01-19 21:18:39 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2020-05-19 15:35:10 +02:00
|
|
|
BuildRequires: systemsettings5
|
2014-06-12 19:49:07 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: xz
|
2017-03-01 15:45:15 +01:00
|
|
|
BuildRequires: cmake(KF5Config) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Declarative) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5DocTools) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
2022-09-17 12:40:21 +02:00
|
|
|
BuildRequires: cmake(KF5IconThemes) >= %{kf5_version}
|
2017-03-01 15:45:15 +01:00
|
|
|
BuildRequires: cmake(KF5KCMUtils) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Package) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Service) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Solid) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5XmlGui) >= %{kf5_version}
|
2022-01-19 21:18:39 +01:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.15.0
|
2019-05-17 20:24:23 +02:00
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2021-06-14 22:44:24 +02:00
|
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
2015-05-22 18:01:51 +02:00
|
|
|
Conflicts: kdebase4-workspace < 5.3.0
|
2014-10-25 19:30:24 +02:00
|
|
|
Recommends: %{name}-lang
|
2016-01-23 11:02:58 +01:00
|
|
|
# needed for the fileindexermonitor
|
|
|
|
Requires: baloo5-imports
|
2020-05-19 15:35:10 +02:00
|
|
|
# The executable is now a link to systemsettings5
|
|
|
|
Requires: systemsettings5
|
2022-01-19 21:18:39 +01:00
|
|
|
# lspci is called by the PCI KCM
|
|
|
|
Requires: pciutils
|
|
|
|
# GLX is always present
|
|
|
|
Requires: /usr/bin/glxinfo
|
|
|
|
# Vulkan might not be needed
|
|
|
|
Requires: (/usr/bin/vulkaninfo if libvulkan1)
|
|
|
|
# Plasma Wayland and X11 sessions are always installed
|
|
|
|
Requires: /usr/bin/wayland-info
|
|
|
|
Requires: /usr/bin/xdpyinfo
|
2022-02-08 20:35:40 +01:00
|
|
|
# Note: Not available as /usr/bin/eglinfo yet (boo#1195695)
|
2022-01-19 21:18:39 +01:00
|
|
|
Recommends: /usr/bin/eglinfo
|
2022-05-25 07:38:08 +02:00
|
|
|
# The "Firmware Security" page does fwupdmgr ... | aha | ...
|
|
|
|
Recommends: (aha if fwupd)
|
2022-02-08 20:35:40 +01:00
|
|
|
# Mesa-demos includes it, but as a whole it's too fat,
|
|
|
|
# so don't pull it in by default.
|
|
|
|
Suggests: Mesa-demo
|
2014-06-12 19:49:07 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
KDE Utility that provides information about a computer system.
|
|
|
|
|
2014-09-26 15:51:44 +02:00
|
|
|
%lang_package
|
2021-06-18 11:32:19 +02:00
|
|
|
|
2014-06-12 19:49:07 +02:00
|
|
|
%prep
|
2021-06-18 11:32:19 +02:00
|
|
|
%autosetup -p1 -n kinfocenter-%{version}
|
2014-06-12 19:49:07 +02:00
|
|
|
|
|
|
|
%build
|
2023-01-23 14:54:52 +01:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
|
|
|
%cmake_build
|
2014-06-12 19:49:07 +02:00
|
|
|
|
|
|
|
%install
|
2023-01-23 14:54:52 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%kf5_find_lang
|
|
|
|
%kf5_find_htmldocs
|
2014-06-12 19:49:07 +02:00
|
|
|
|
|
|
|
%files
|
2020-02-19 11:14:39 +01:00
|
|
|
%license LICENSES/*.txt
|
2022-05-25 07:38:08 +02:00
|
|
|
%{_kf5_applicationsdir}/kcm_about-distro.desktop
|
2014-06-12 19:49:07 +02:00
|
|
|
%{_kf5_bindir}/kinfocenter
|
2022-01-19 21:18:39 +01:00
|
|
|
%{_kf5_libdir}/libKInfoCenterInternal.so
|
2021-06-14 22:44:24 +02:00
|
|
|
%dir %{_kf5_plugindir}/
|
2022-01-19 21:18:39 +01:00
|
|
|
%dir %{_kf5_plugindir}/plasma/
|
|
|
|
%dir %{_kf5_plugindir}/plasma/kcms/
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kcm_about-distro.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kcm_energyinfo.so
|
|
|
|
%dir %{_kf5_plugindir}/plasma/kcms/kinfocenter/
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_cpu.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_devinfo.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_egl.so
|
2022-05-25 07:38:08 +02:00
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_firmware_security.so
|
2022-01-19 21:18:39 +01:00
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_glx.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_interrupts.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_nic.so
|
2023-01-23 14:54:52 +01:00
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_opencl.so
|
2022-01-19 21:18:39 +01:00
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_pci.so
|
2022-09-17 12:40:21 +02:00
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_kwinsupportinfo.so
|
2022-01-19 21:18:39 +01:00
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_samba.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_usb.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_vulkan.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_wayland.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/kinfocenter/kcm_xserver.so
|
2015-01-08 22:10:23 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kinfocenter.desktop
|
2014-06-12 19:49:07 +02:00
|
|
|
%dir %{_kf5_htmldir}
|
2021-09-20 08:13:43 +02:00
|
|
|
%dir %{_kf5_htmldir}/en/
|
2014-06-12 19:49:07 +02:00
|
|
|
%doc %{_kf5_htmldir}/en/kinfocenter/
|
2015-04-10 20:28:52 +02:00
|
|
|
%{_kf5_sharedir}/kpackage/
|
2021-09-20 08:13:43 +02:00
|
|
|
%dir %{_kf5_sharedir}/kinfocenter/
|
|
|
|
%{_kf5_sharedir}/kinfocenter/categories/
|
2014-08-11 23:40:14 +02:00
|
|
|
%{_kf5_configdir}/menus/kinfocenter.menu
|
|
|
|
%{_kf5_sharedir}/desktop-directories/
|
2022-05-25 07:38:08 +02:00
|
|
|
%dir %{_libexecdir}/kauth/
|
|
|
|
%{_libexecdir}/kauth/kinfocenter-dmidecode-helper
|
|
|
|
%{_kf5_sharedir}/dbus-1/system-services/org.kde.kinfocenter.dmidecode.service
|
|
|
|
%{_kf5_sharedir}/dbus-1/system.d/org.kde.kinfocenter.dmidecode.conf
|
|
|
|
%{_kf5_sharedir}/polkit-1/actions/org.kde.kinfocenter.dmidecode.policy
|
2019-05-17 20:24:23 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kinfocenter.appdata.xml
|
2021-09-20 08:13:43 +02:00
|
|
|
%dir %{_kf5_qmldir}/org/
|
|
|
|
%dir %{_kf5_qmldir}/org/kde/
|
|
|
|
%{_kf5_qmldir}/org/kde/kinfocenter/
|
2014-06-12 19:49:07 +02:00
|
|
|
|
2016-07-06 18:37:52 +02:00
|
|
|
%files lang -f %{name}.lang
|
2014-09-26 15:51:44 +02:00
|
|
|
|
2014-06-12 19:49:07 +02:00
|
|
|
%changelog
|