forked from pool/kinfocenter5
299eb4115e
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kinfocenter5?expand=0&rev=32
106 lines
3.0 KiB
RPMSpec
106 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package kinfocenter5
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: kinfocenter5
|
|
Version: 5.2.1
|
|
Release: 0
|
|
Summary: Utility that provides information about a computer system
|
|
License: GPL-2.0+
|
|
Group: System/GUI/KDE
|
|
Url: http://www.kde.org/
|
|
Source: kinfocenter-%{version}.tar.xz
|
|
Source99: %{name}-rpmlintrc
|
|
# PATCH-FIX-OPENSUSE opensuse-kinfocenter.diff (created by Alin M. Elena to have some openSUSE distro info in kinfocenter)
|
|
Patch0: opensuse-kinfocenter.diff
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: kcmutils-devel
|
|
BuildRequires: kcompletion-devel
|
|
BuildRequires: kconfig-devel
|
|
BuildRequires: kdelibs4support-devel
|
|
BuildRequires: kdoctools-devel
|
|
BuildRequires: kf5-filesystem
|
|
BuildRequires: ki18n-devel
|
|
BuildRequires: kio-devel
|
|
BuildRequires: kxmlgui-devel
|
|
BuildRequires: libraw1394-devel
|
|
BuildRequires: pciutils-devel
|
|
BuildRequires: plasma-framework-devel
|
|
BuildRequires: solid-devel
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: xz
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.3.0
|
|
BuildRequires: pkgconfig(Qt5Gui) >= 5.3.0
|
|
BuildRequires: pkgconfig(egl)
|
|
%ifarch %arm aarch64
|
|
BuildRequires: pkgconfig(glesv2)
|
|
%else
|
|
BuildRequires: pkgconfig(gl)
|
|
%endif
|
|
BuildRequires: pkgconfig(glu)
|
|
%if 0%{?suse_version} > 1310
|
|
BuildRequires: kwayland-devel >= 5.0.95
|
|
%endif
|
|
Conflicts: kdebase4-workspace
|
|
# /etc/xdg/menus/kde-information.menu
|
|
Conflicts: kdebase3
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
KDE Utility that provides information about a computer system.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q -n kinfocenter-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
|
%make_jobs
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_bindir}/kinfocenter
|
|
%{_kf5_plugindir}/
|
|
%{_kf5_applicationsdir}/org.kde.kinfocenter.desktop
|
|
%dir %{_kf5_htmldir}/en
|
|
%dir %{_kf5_htmldir}
|
|
%doc %{_kf5_htmldir}/en/kinfocenter/
|
|
%{_kf5_sharedir}/kcmusb/
|
|
%{_kf5_sharedir}/kcmview1394/
|
|
%{_kf5_servicesdir}/
|
|
%{_kf5_servicetypesdir}/
|
|
%{_kf5_sharedir}/kxmlgui5/
|
|
%{_kf5_configdir}/menus/kinfocenter.menu
|
|
%{_kf5_sharedir}/desktop-directories/
|
|
|
|
%files lang
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_localedir}/
|
|
|
|
%changelog
|