From 3602f3d628fb8dc1f972177a167444ea47e1543a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 29 Mar 2024 18:57:39 +0100 Subject: [PATCH] libkscreen: require libkscreen-tools [release 6.0.2-2mamba;Fri Mar 15 2024] --- README.md | 2 +- libkscreen.spec | 118 +++++++++++++++++++++++++++++++----------------- 2 files changed, 77 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 3092cc2..e4de698 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # libkscreen -KDE Frameworks 5 screens configuration library. +KDE Plasma screens configuration library. diff --git a/libkscreen.spec b/libkscreen.spec index d8c6b4b..5ad35ca 100644 --- a/libkscreen.spec +++ b/libkscreen.spec @@ -1,34 +1,34 @@ %define plasmaver %(echo %version | cut -d. -f1-3) Name: libkscreen -Version: 5.27.10 -Release: 1mamba -Summary: KDE Frameworks 5 screens configuration library +Version: 6.0.2 +Release: 2mamba +Summary: KDE Plasma screens configuration library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://kde.org/ -Source: http://download.kde.org/stable/plasma/%{plasmaver}/libkscreen-%{version}.tar.xz +URL: https://kde.org/it/plasma-desktop/ +Source: https://download.kde.org/%{stable_kf6}/plasma/%{plasmaver}/libkscreen-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libQt5X11Extras-devel BuildRequires: libgcc -BuildRequires: libkconfig-devel -BuildRequires: libkwayland-devel +BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel BuildRequires: libwayland-devel BuildRequires: libxcb-devel -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtwayland-devel +BuildRequires: libxkbcommon-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtwayland-devel ## AUTOBUILDREQ-END BuildRequires: cmake -BuildRequires: rpm-macros-kde5 +BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules +Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} %description -KDE Frameworks 5 screens configuration library. +KDE Plasma screens configuration library. %package devel Group: Development/Libraries @@ -38,20 +38,28 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. +%package tools +Group: System/Tools +Summary: Tools provided with %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains the tools provided with %{name}. + %debug_package %prep %setup -q %build -%cmake_kde5 -d build -%make +%cmake_kf6 +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%cmake_install -%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang +%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -64,39 +72,65 @@ This package contains libraries and header files for developing applications tha /sbin/ldconfig : -%files -f %{name}5_qt.lang +%files -f %{name}.lang %defattr(-,root,root) -%{_bindir}/kscreen-doctor -%{_userunitdir}/plasma-kscreen.service -%{_kde5_libdir}/libKF5Screen.so.* -%{_kde5_libdir}/libKF5ScreenDpms.so.* -%{_libexecdir}/kf5/kscreen_backend_launcher -%dir %{_libdir}/qt5/plugins/kf5/kscreen -%{_libdir}/qt5/plugins/kf5/kscreen/*.so -%{_datadir}/dbus-1/services/org.kde.kscreen.service -%{_datadir}/qlogging-categories5/libkscreen.categories -%{_datadir}/zsh/site-functions/_kscreen-doctor +%{_libdir}/libKF6Screen.so.* +%{_libdir}/libKF6ScreenDpms.so.* +%{_kf6_plugindir}/kscreen/KSC_Fake.so +%{_kf6_plugindir}/kscreen/KSC_KWayland.so +%{_kf6_plugindir}/kscreen/KSC_QScreen.so +%{_kf6_plugindir}/kscreen/KSC_XRandR.so +%{_libexecdir}/kf6/kscreen_backend_launcher %doc LICENSES %files devel %defattr(-,root,root) -%dir %{_kde5_includedir}/KScreen -%dir %{_kde5_includedir}/KScreen/KScreen -%{_kde5_includedir}/KScreen/KScreen/* -%dir %{_kde5_includedir}/KScreen/kscreen -%{_kde5_includedir}/KScreen/kscreen/* -%{_kde5_includedir}/kscreen_version.h -%dir %{_kde5_includedir}/KScreen/KScreenDpms -%{_kde5_includedir}/KScreen/KScreenDpms/* -%{_kde5_includedir}/KScreen/kscreendpms/* -%{_kde5_libdir}/libKF5Screen.so -%{_kde5_libdir}/libKF5ScreenDpms.so -%dir %{_kde5_libdir}/cmake/KF5Screen -%{_kde5_libdir}/cmake/KF5Screen/KF5Screen*.cmake -%{_libdir}/pkgconfig/kscreen2.pc -%{_kde5_mkspecsdir}/qt_KScreen.pri +%dir %{_kf6_includedir}/KScreen +%dir %{_kf6_includedir}/KScreen/KScreen +%{_kf6_includedir}/KScreen/KScreen/* +%dir %{_kf6_includedir}/KScreen/kscreen +%{_kf6_includedir}/KScreen/kscreen/* +%{_kf6_includedir}/kscreen_version.h +%dir %{_kf6_includedir}/KScreen/KScreenDpms +%{_kf6_includedir}/KScreen/KScreenDpms/* +%{_kf6_includedir}/KScreen/kscreendpms/* +%{_libdir}/libKF6Screen.so +%{_libdir}/libKF6ScreenDpms.so +%dir %{_libdir}/cmake/KF6Screen +%{_libdir}/cmake/KF6Screen/KF6Screen*.cmake +%{_libdir}/pkgconfig/KF6Screen.pc +%{_qt6_docdir}/KF6Screen.* + +%files tools +%defattr(-,root,root) +%{_bindir}/kscreen-doctor +%{_userunitdir}/plasma-kscreen.service +%{_datadir}/dbus-1/services/org.kde.kscreen.service +%{_datadir}/qlogging-categories6/libkscreen.categories +%{_datadir}/zsh/site-functions/_kscreen-doctor %changelog +* Fri Mar 15 2024 Silvan Calarco 6.0.2-2mamba +- libkscreen: require libkscreen-tools + +* Wed Mar 13 2024 Automatic Build System 6.0.2-1mamba +- automatic version update by autodist + +* Wed Mar 06 2024 Automatic Build System 6.0.1-1mamba +- automatic version update by autodist + +* Thu Feb 29 2024 Automatic Build System 6.0.0-1mamba +- automatic version update by autodist + +* Sat Feb 24 2024 Silvan Calarco 5.93.0-2mamba +- added -tools subpackage for transient cohexistence with libkscreen5 + +* Fri Feb 02 2024 Automatic Build System 5.93.0-1mamba +- automatic version update by autodist + +* Sat Jan 27 2024 Automatic Build System 5.92.0-1mamba +- automatic version update by autodist + * Thu Dec 07 2023 Automatic Build System 5.27.10-1mamba - automatic version update by autodist