From c0bd733c80f4af151bf2ace54f6adbfafa2ae336 Mon Sep 17 00:00:00 2001 From: Steve Cossette Date: Tue, 3 Oct 2023 14:58:31 -0400 Subject: [PATCH] Initial import (fedora#2240864). --- .gitignore | 1 + kf6-kwindowsystem.spec | 77 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 79 insertions(+) create mode 100644 .gitignore create mode 100644 kf6-kwindowsystem.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5a83f50 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/kwindowsystem-b59a819.tar.gz diff --git a/kf6-kwindowsystem.spec b/kf6-kwindowsystem.spec new file mode 100644 index 0000000..766dfcb --- /dev/null +++ b/kf6-kwindowsystem.spec @@ -0,0 +1,77 @@ +%global gitdate 20230905.004205 +%global cmakever 5.240.0 +%global commit0 b59a81959e9488fe656e2e54c8a410be4641c401 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +%global framework kwindowsystem + +Name: kf6-%{framework} +Version: %{cmakever}^%{gitdate}.%{shortcommit0} +Release: 1%{?dist} +Summary: KDE Frameworks 6 Tier 1 integration module with classes for windows management +License: CC0-1.0 AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND MIT +URL: https://invent.kde.org/frameworks/%{framework} +Source0: https://invent.kde.org/frameworks/%{framework}/-/archive/%{commit0}/%{framework}-%{shortcommit0}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: extra-cmake-modules >= %{cmakever} +BuildRequires: kf6-rpm-macros +BuildRequires: make +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtbase-private-devel +BuildRequires: qt6-qttools-devel +BuildRequires: cmake(Qt6Qml) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-icccm) +BuildRequires: pkgconfig(xcb-keysyms) +BuildRequires: pkgconfig(xkbcommon) +BuildRequires: pkgconfig(xfixes) +BuildRequires: pkgconfig(xrender) +BuildRequires: fdupes + +Requires: kf6-filesystem + +%description +KDE Frameworks Tier 1 integration module that provides classes for managing and +working with windows. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} +Requires: qt6-qtbase-devel +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -n %{framework}-%{commit0} -p1 + +%build +%cmake_kf6 +%cmake_build + +%install +%cmake_install +%find_lang_kf6 kwindowsystem6_qt +%fdupes %{buildroot}%{_kf6_includedir} + +%files -f kwindowsystem6_qt.lang +%doc README.md +%license LICENSES/*.txt +%{_kf6_datadir}/qlogging-categories6/%{framework}.* +%{_kf6_libdir}/libKF6WindowSystem.so.* +%dir %{_kf6_plugindir}/kwindowsystem/ +%{_kf6_plugindir}/kwindowsystem/KF6WindowSystemX11Plugin.so +%{_kf6_qmldir}/org/kde/kwindowsystem + +%files devel +%{_kf6_includedir}/KWindowSystem/ +%{_kf6_libdir}/libKF6WindowSystem.so +%{_kf6_libdir}/cmake/KF6WindowSystem/ +%{_kf6_archdatadir}/mkspecs/modules/qt_KWindowSystem.pri + + +%changelog +* Tue Sep 26 2023 Steve Cossette - 5.240.0^20230905.004205.b59a819-1 +- Initial Release diff --git a/sources b/sources new file mode 100644 index 0000000..1420702 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (kwindowsystem-b59a819.tar.gz) = a877f4597cb9eb3a061ea1d8ac44a07e033396c725a4115b0e9660d791fdc89005fe172566a132b6e7f131b75e4d5fe5714bdc5ccc3619fb2ce1dc6b7d4af751