2014-02-07 21:44:03 +00:00
|
|
|
#
|
|
|
|
# spec file for package kwindowsystem
|
|
|
|
#
|
2018-01-17 15:07:00 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-02-07 21:44:03 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-10 16:28:38 +00:00
|
|
|
%bcond_without lang
|
2014-03-29 11:51:24 +00:00
|
|
|
%define lname libKF5WindowSystem5
|
2018-07-17 08:58:13 +00:00
|
|
|
%define _tar_path 5.48
|
2017-09-13 13:26:20 +00:00
|
|
|
# Full KF5 version (e.g. 5.33.0)
|
|
|
|
%{!?_kf5_version: %global _kf5_version %{version}}
|
|
|
|
# Last major and minor KF5 version (e.g. 5.33)
|
2018-07-17 08:58:13 +00:00
|
|
|
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
2014-02-07 21:44:03 +00:00
|
|
|
Name: kwindowsystem
|
2018-07-17 08:58:13 +00:00
|
|
|
Version: 5.48.0
|
2014-02-07 21:44:03 +00:00
|
|
|
Release: 0
|
2017-01-08 23:44:28 +00:00
|
|
|
BuildRequires: cmake >= 3.0
|
2017-09-13 13:26:20 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
2014-02-07 21:44:03 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: kf5-filesystem
|
2015-04-10 16:28:38 +00:00
|
|
|
%if %{with lang}
|
2017-02-09 09:35:20 +00:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools) >= 5.6.0
|
2015-04-10 16:28:38 +00:00
|
|
|
%endif
|
2017-02-09 09:35:20 +00:00
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5X11Extras) >= 5.6.0
|
2014-02-07 21:44:03 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb-keysyms)
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
2014-02-12 02:45:43 +00:00
|
|
|
Summary: KDE Access to window manager
|
2018-03-14 13:00:54 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2014-02-07 21:44:03 +00:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
2017-04-27 20:26:21 +00:00
|
|
|
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
2014-06-03 22:26:25 +00:00
|
|
|
Source1: baselibs.conf
|
2014-02-07 21:44:03 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2014-02-12 02:45:43 +00:00
|
|
|
Convenience access to certain properties and features of the window manager.
|
2014-02-07 21:44:03 +00:00
|
|
|
|
2014-02-12 02:45:43 +00:00
|
|
|
KWindowSystem provides information about the state of the window manager and
|
|
|
|
allows asking the window manager to change the using a more high-level
|
|
|
|
interface than the NETWinInfo/NETRootInfo low-level classes.
|
2014-02-07 21:44:03 +00:00
|
|
|
|
|
|
|
%package -n %lname
|
2014-02-12 02:45:43 +00:00
|
|
|
Summary: KDE Access to window manager
|
2014-02-07 21:44:03 +00:00
|
|
|
Group: System/GUI/KDE
|
2015-04-10 16:28:38 +00:00
|
|
|
%if %{with lang}
|
2014-05-05 02:58:36 +00:00
|
|
|
Recommends: %lname-lang = %{version}
|
2015-04-10 16:28:38 +00:00
|
|
|
%endif
|
2014-08-07 22:11:53 +00:00
|
|
|
%requires_ge libQt5Widgets5
|
|
|
|
%requires_ge libQt5X11Extras5
|
2014-02-07 21:44:03 +00:00
|
|
|
|
|
|
|
%description -n %lname
|
2014-02-12 02:45:43 +00:00
|
|
|
Convenience access to certain properties and features of the window manager.
|
2014-02-07 21:44:03 +00:00
|
|
|
|
2014-02-12 02:45:43 +00:00
|
|
|
KWindowSystem provides information about the state of the window manager and
|
|
|
|
allows asking the window manager to change the using a more high-level
|
|
|
|
interface than the NETWinInfo/NETRootInfo low-level classes.
|
2014-02-07 21:44:03 +00:00
|
|
|
|
|
|
|
%package devel
|
2014-02-12 02:45:43 +00:00
|
|
|
Summary: KDE Access to window manager: Build Environment
|
2014-02-07 21:44:03 +00:00
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %lname = %{version}
|
2014-02-08 02:33:30 +00:00
|
|
|
Requires: extra-cmake-modules
|
2017-02-09 09:35:20 +00:00
|
|
|
Requires: cmake(Qt5Core) >= 5.6.0
|
|
|
|
Requires: cmake(Qt5Widgets) >= 5.6.0
|
2015-01-03 19:28:02 +00:00
|
|
|
Requires: pkgconfig(x11)
|
|
|
|
Requires: pkgconfig(xcb)
|
2014-02-07 21:44:03 +00:00
|
|
|
|
|
|
|
%description devel
|
2014-02-12 02:45:43 +00:00
|
|
|
Convenience access to certain properties and features of the window manager.
|
|
|
|
|
|
|
|
KWindowSystem provides information about the state of the window manager and
|
|
|
|
allows asking the window manager to change the using a more high-level
|
|
|
|
interface than the NETWinInfo/NETRootInfo low-level classes.
|
|
|
|
Development files.
|
2014-02-07 21:44:03 +00:00
|
|
|
|
2014-05-05 01:51:32 +00:00
|
|
|
%lang_package -n %lname
|
2014-02-07 21:44:03 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2014-08-07 22:11:53 +00:00
|
|
|
%cmake_kf5 -d build -- -Dlconvert_executable=%{_kf5_libdir}/qt5/bin/lconvert
|
2014-02-07 21:44:03 +00:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2015-04-10 16:48:43 +00:00
|
|
|
%fdupes %{buildroot}
|
2014-02-07 21:44:03 +00:00
|
|
|
|
2015-04-10 16:28:38 +00:00
|
|
|
%if %{with lang}
|
2015-04-10 10:38:32 +00:00
|
|
|
%find_lang %{name}5 --with-qt --without-mo
|
2015-04-10 16:28:38 +00:00
|
|
|
%endif
|
2014-05-05 01:33:18 +00:00
|
|
|
|
2014-02-07 21:44:03 +00:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
2015-04-10 16:28:38 +00:00
|
|
|
%if %{with lang}
|
2014-05-05 01:51:32 +00:00
|
|
|
%files -n %lname-lang -f %{name}5.lang
|
2015-04-10 16:28:38 +00:00
|
|
|
%endif
|
2014-05-05 01:33:18 +00:00
|
|
|
|
2014-02-07 21:44:03 +00:00
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
|
|
|
%{_kf5_libdir}/libKF5WindowSystem.so.*
|
2015-08-04 19:56:18 +00:00
|
|
|
%dir %{_kf5_plugindir}/kf5
|
|
|
|
%dir %{_kf5_plugindir}/kf5/org.kde.kwindowsystem.platforms
|
|
|
|
%{_kf5_plugindir}/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemWaylandPlugin.so
|
|
|
|
%{_kf5_plugindir}/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
|
2014-02-07 21:44:03 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kf5_libdir}/libKF5WindowSystem.so
|
|
|
|
%{_kf5_libdir}/cmake/KF5WindowSystem/
|
2014-08-07 22:11:53 +00:00
|
|
|
%{_kf5_includedir}/
|
2014-02-07 21:44:03 +00:00
|
|
|
%{_kf5_mkspecsdir}/qt_KWindowSystem.pri
|
|
|
|
|
|
|
|
%changelog
|