[packages/kf6-kwindowsystem] - updated to 5.249.0; rel 0.1
witekfl
witekfl at pld-linux.org
Sun Feb 4 15:34:07 CET 2024
commit bee0d2918f37c09136c9eb6ced4c2072248d57ec
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Feb 4 14:50:37 2024 +0100
- updated to 5.249.0; rel 0.1
kf6-kwindowsystem.spec | 117 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 117 insertions(+)
---
diff --git a/kf6-kwindowsystem.spec b/kf6-kwindowsystem.spec
new file mode 100644
index 0000000..8da1ce7
--- /dev/null
+++ b/kf6-kwindowsystem.spec
@@ -0,0 +1,117 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeframever 5.249.0
+%define qtver 5.15.2
+%define kfname kwindowsystem
+
+Summary: Access to the windowing system
+Name: kf6-%{kfname}
+Version: 5.249.0
+Release: 0.1
+License: LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/unstable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: 9eda8e81608176104fe81c1659e18387
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Gui-devel >= %{qtver}
+BuildRequires: Qt6Test-devel >= %{qtver}
+BuildRequires: Qt6Widgets-devel >= %{qtver}
+BuildRequires: cmake >= 3.16
+BuildRequires: kf6-extra-cmake-modules >= %{version}
+BuildRequires: libxcb-devel
+BuildRequires: ninja
+BuildRequires: pkgconfig
+BuildRequires: qt6-linguist >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tar >= 1:1.22
+BuildRequires: xcb-util-keysyms-devel
+BuildRequires: xcb-util-wm-devel
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXfixes-devel
+BuildRequires: xz
+Requires: Qt6Gui >= %{qtver}
+Requires: Qt6Widgets >= %{qtver}
+Requires: kf6-dirs
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define qt6dir %{_libdir}/qt6
+
+%description
+Convenience access to certain properties and features of the windowing
+system.
+
+KWindowSystem provides information about the windowing system and
+allows interaction with the windowing system. It provides an high
+level API which is windowing system independent and has platform
+specific implementations. This API is inspired by X11 and thus not all
+functionality is available on all windowing systems.
+
+In addition to the high level API, this framework also provides
+several more low level classes for interaction with the X Windowing
+System.
+
+%package devel
+Summary: Header files for %{kfname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: Qt6Widgets-devel >= %{qtver}
+
+%description devel
+Header files for %{kfname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kfname}.
+
+%prep
+%setup -q -n %{kfname}-%{version}
+
+%build
+%cmake -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+%ninja_build -C build
+
+%if %{with tests}
+%ninja_build -C build test
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kfname}5_qt --with-qm --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kfname}5_qt.lang
+%defattr(644,root,root,755)
+%doc README.md
+%ghost %{_libdir}/libKF6WindowSystem.so.6
+%attr(755,root,root) %{_libdir}/libKF6WindowSystem.so.*.*
+%dir %{_libdir}/qt6/plugins/kf6/kwindowsystem
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemX11Plugin.so
+%{_datadir}/qlogging-categories6/kwindowsystem.renamecategories
+%{_datadir}/qlogging-categories6/kwindowsystem.categories
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemKWaylandPlugin.so
+%dir %{_libdir}/qt6/qml/org/kde/kwindowsystem
+%{_libdir}/qt6/qml/org/kde/kwindowsystem/KWindowSystem.qmltypes
+%{_libdir}/qt6/qml/org/kde/kwindowsystem/kde-qmlmodule.version
+%attr(755,root,root) %{_libdir}/qt6/qml/org/kde/kwindowsystem/libKWindowSystem.so
+%{_libdir}/qt6/qml/org/kde/kwindowsystem/qmldir
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF6/KWindowSystem
+%{_libdir}/cmake/KF6WindowSystem
+%{_libdir}/libKF6WindowSystem.so
+%{_pkgconfigdir}/KF6WindowSystem.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf6-kwindowsystem.git/commitdiff/bee0d2918f37c09136c9eb6ced4c2072248d57ec
More information about the pld-cvs-commit
mailing list