2014-06-12 19:49:07 +02:00
|
|
|
#
|
|
|
|
# spec file for package kinfocenter5
|
|
|
|
#
|
2016-01-06 15:24:19 +01:00
|
|
|
# Copyright (c) 2016 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-10 20:28:52 +02:00
|
|
|
%bcond_without lang
|
2014-06-12 19:49:07 +02:00
|
|
|
Name: kinfocenter5
|
2016-09-15 19:11:24 +02:00
|
|
|
Version: 5.7.95
|
2016-09-21 18:39:16 +02:00
|
|
|
%{!?_plasma5_version: %global _plasma5_version %{version}}
|
2014-06-12 19:49:07 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Utility that provides information about a computer system
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org/
|
2016-09-15 19:11:24 +02:00
|
|
|
Source: http://download.kde.org/unstable/plasma/%{version}/kinfocenter-%{version}.tar.xz
|
2016-09-15 11:14:17 +02:00
|
|
|
Source99: %{name}-rpmlintrc
|
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
|
2015-11-29 19:08:43 +01:00
|
|
|
BuildRequires: cmake(KF5Completion) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5Config) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5DBusAddons) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5Declarative) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5DocTools) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5I18n) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5IconThemes) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5KCMUtils) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5KDELibs4Support) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5KIO) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5Package) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5Service) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5Solid) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5Solid) >= 5.9.0
|
2016-09-21 18:39:16 +02:00
|
|
|
BuildRequires: cmake(KF5Wayland) >= %{_plasma5_version}
|
2015-11-29 19:08:43 +01:00
|
|
|
BuildRequires: cmake(KF5WidgetsAddons) >= 5.9.0
|
|
|
|
BuildRequires: cmake(KF5XmlGui) >= 5.9.0
|
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
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
|
2015-04-11 20:56:41 +02:00
|
|
|
%if %{with lang}
|
2014-10-25 19:30:24 +02:00
|
|
|
Recommends: %{name}-lang
|
2015-04-11 20:56:41 +02:00
|
|
|
%endif
|
2016-01-23 11:02:58 +01:00
|
|
|
# needed for the fileindexermonitor
|
|
|
|
Requires: baloo5-imports
|
2014-06-12 19:49:07 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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}
|
2015-04-29 02:13:58 +02:00
|
|
|
%patch0 -p1
|
2014-06-12 19:49:07 +02:00
|
|
|
|
|
|
|
%build
|
2016-09-15 21:41:06 +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-09-15 21:41:06 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%kf5_find_lang
|
|
|
|
%endif
|
2014-06-12 19:49:07 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-07-10 18:58:09 +02:00
|
|
|
%doc 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/
|
2014-06-12 19:49:07 +02:00
|
|
|
|
2015-04-11 20:56:41 +02:00
|
|
|
%if %{with lang}
|
2016-09-15 21:41:06 +02:00
|
|
|
%files lang -f %{name}.lang
|
2014-09-26 15:51:44 +02:00
|
|
|
%doc COPYING*
|
2015-08-09 10:41:25 +02:00
|
|
|
%doc %lang(ca) %{_kf5_htmldir}/ca/
|
2015-04-10 21:03:33 +02:00
|
|
|
%doc %lang(de) %{_kf5_htmldir}/de/
|
|
|
|
%doc %lang(it) %{_kf5_htmldir}/it/
|
|
|
|
%doc %lang(nl) %{_kf5_htmldir}/nl/
|
|
|
|
%doc %lang(sv) %{_kf5_htmldir}/sv/
|
|
|
|
%doc %lang(uk) %{_kf5_htmldir}/uk/
|
2015-03-19 20:52:05 +01:00
|
|
|
%doc %lang(pt_BR) %{_kf5_htmldir}/pt_BR/
|
2016-01-06 16:15:57 +01:00
|
|
|
%doc %lang(sr) %{_kf5_htmldir}/sr/
|
|
|
|
%doc %lang(sr@latin) %{_kf5_htmldir}/sr@latin/
|
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
|