2014-06-12 19:49:07 +02:00
|
|
|
#
|
|
|
|
# spec file for package kinfocenter5
|
|
|
|
#
|
2020-01-08 21:25:42 +01:00
|
|
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-17 20:24:23 +02:00
|
|
|
%global kf5_version 5.58.0
|
2017-03-01 15:45:15 +01:00
|
|
|
|
2015-04-10 20:28:52 +02:00
|
|
|
%bcond_without lang
|
2014-06-12 19:49:07 +02:00
|
|
|
Name: kinfocenter5
|
2020-01-08 21:25:42 +01:00
|
|
|
Version: 5.17.5
|
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)
|
2018-09-15 14:29:40 +02:00
|
|
|
%{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}}
|
|
|
|
# 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
|
|
|
|
Url: http://www.kde.org/
|
2019-10-23 09:44:42 +02:00
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/kinfocenter-%{version}.tar.xz
|
2018-09-19 06:47:26 +02:00
|
|
|
%if %{with lang}
|
2019-10-23 09:44:42 +02: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
|
2015-04-29 02:13:58 +02:00
|
|
|
# PATCH-FIX-OPENSUSE plasma-session-name.patch
|
|
|
|
Patch0: plasma-session-name.patch
|
2015-11-29 19:08:43 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= 1.2.0
|
2014-06-12 19:49:07 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: libraw1394-devel
|
|
|
|
BuildRequires: pciutils-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: xz
|
2017-03-01 15:45:15 +01:00
|
|
|
BuildRequires: cmake(KF5Completion) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Config) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5DBusAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Declarative) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5DocTools) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5IconThemes) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KCMUtils) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KDELibs4Support) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Package) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Service) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Solid) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Solid) >= %{kf5_version}
|
2016-09-23 20:21:51 +02:00
|
|
|
BuildRequires: cmake(KF5Wayland) >= %{_plasma5_version}
|
2017-03-01 15:45:15 +01:00
|
|
|
BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5XmlGui) >= %{kf5_version}
|
2019-05-17 20:24:23 +02:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.12.0
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2014-06-12 19:49:07 +02:00
|
|
|
BuildRequires: pkgconfig(egl)
|
2014-07-12 10:28:54 +02:00
|
|
|
%ifarch %arm aarch64
|
|
|
|
BuildRequires: pkgconfig(glesv2)
|
|
|
|
%else
|
2014-06-12 19:49:07 +02:00
|
|
|
BuildRequires: pkgconfig(gl)
|
2014-07-12 10:28:54 +02:00
|
|
|
%endif
|
2014-06-12 19:49:07 +02:00
|
|
|
BuildRequires: pkgconfig(glu)
|
2015-11-29 19:08:43 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
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
|
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
|
2014-06-12 19:49:07 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n kinfocenter-%{version}
|
2019-05-17 20:24:23 +02:00
|
|
|
%patch0 -p1
|
2014-06-12 19:49:07 +02:00
|
|
|
|
|
|
|
%build
|
2016-07-06 18:37:52 +02:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
2014-06-12 19:49:07 +02:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2016-07-06 18:37:52 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%kf5_find_lang
|
2017-05-16 13:56:17 +02:00
|
|
|
%kf5_find_htmldocs
|
2016-07-06 18:37:52 +02:00
|
|
|
%endif
|
2014-06-12 19:49:07 +02:00
|
|
|
|
|
|
|
%files
|
2018-05-21 11:07:10 +02:00
|
|
|
%license COPYING*
|
2014-06-12 19:49:07 +02:00
|
|
|
%{_kf5_bindir}/kinfocenter
|
|
|
|
%{_kf5_plugindir}/
|
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}/en
|
|
|
|
%dir %{_kf5_htmldir}
|
|
|
|
%doc %{_kf5_htmldir}/en/kinfocenter/
|
|
|
|
%{_kf5_sharedir}/kcmusb/
|
|
|
|
%{_kf5_sharedir}/kcmview1394/
|
2015-04-10 20:28:52 +02:00
|
|
|
%{_kf5_sharedir}/kpackage/
|
2014-06-12 19:49:07 +02:00
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
%{_kf5_servicetypesdir}/
|
2014-09-26 15:51:44 +02:00
|
|
|
%{_kf5_sharedir}/kxmlgui5/
|
2014-08-11 23:40:14 +02:00
|
|
|
%{_kf5_configdir}/menus/kinfocenter.menu
|
|
|
|
%{_kf5_sharedir}/desktop-directories/
|
2019-05-17 20:24:23 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kinfocenter.appdata.xml
|
2014-06-12 19:49:07 +02:00
|
|
|
|
2015-04-11 20:56:41 +02:00
|
|
|
%if %{with lang}
|
2016-07-06 18:37:52 +02:00
|
|
|
%files lang -f %{name}.lang
|
2015-04-11 20:56:41 +02:00
|
|
|
%endif
|
2014-09-26 15:51:44 +02:00
|
|
|
|
2014-06-12 19:49:07 +02:00
|
|
|
%changelog
|