diff --git a/kwayland.spec b/kwayland.spec index 6eefe26..c4c5540 100644 --- a/kwayland.spec +++ b/kwayland.spec @@ -1,15 +1,17 @@ %define majver %(echo %version | cut -d. -f1-2) +%define plasmaver %(echo %version | cut -d. -f1-3) Name: kwayland -Version: 5.115.0 +Epoch: 1 +Version: 6.0.2 Release: 1mamba -Summary: KDE Frameworks 5 Qt-style API to interact with the wayland-client and wayland-server API. +Summary: KDE Plasma Qt-style API to interact with the wayland-client and wayland-server API. Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://kde.org/ -Source: http://download.kde.org/stable/frameworks/%{majver}/kwayland-%{version}.tar.xz +URL: https://kde.org/it/plasma-desktop/ +Source: http://download.kde.org/%{stable_kf6}/plasma/%{plasmaver}/kwayland-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -18,12 +20,12 @@ BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel BuildRequires: libwayland-devel BuildRequires: libxkbcommon-devel -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtwayland-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtwayland-devel ## AUTOBUILDREQ-END BuildRequires: plasma-wayland-protocols BuildRequires: cmake -BuildRequires: rpm-macros-kde5 +BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} @@ -51,12 +53,12 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake_kde5 -d build -%make +%cmake_kf6 +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%cmake_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -71,32 +73,35 @@ exit 0 %files -n lib%{name} %defattr(-,root,root) -%{_kde5_libdir}/libKF5WaylandClient.so.* -%{_kde5_libdir}/libKF5WaylandServer.so.* -%{_libexecdir}/* -%{_datadir}/qlogging-categories5/kwayland.*categories +%{_libdir}/libKWaylandClient.so.* +%{_datadir}/qlogging-categories6/kwayland.*categories %doc LICENSES %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_kde5_includedir}/KWayland -%dir %{_kde5_includedir}/KWayland/KWayland -%dir %{_kde5_includedir}/KWayland/KWayland/Client -%{_kde5_includedir}/KWayland/KWayland/Client/* -%dir %{_kde5_includedir}/KWayland/Server -%{_kde5_includedir}/KWayland/Server/* -%{_kde5_includedir}/KWayland/kwayland_version.h -%{_kde5_libdir}/libKF5WaylandClient.so -%{_kde5_libdir}/libKF5WaylandServer.so -%{_kde5_mkspecsdir}/qt_KWaylandClient.pri -%{_kde5_mkspecsdir}/qt_KWaylandServer.pri -%{_libdir}/pkgconfig/KF5WaylandClient.pc -%dir %{_kde5_libdir}/cmake/KF5Wayland -%{_kde5_libdir}/cmake/KF5Wayland/KF5Wayland*.cmake +%dir %{_includedir}/KWayland +%{_includedir}/KWayland/* +%{_libdir}/libKWaylandClient.so +%dir %{_libdir}/cmake/KWayland +%{_libdir}/cmake/KWayland/KWayland*.cmake +%{_libdir}/pkgconfig/KWaylandClient.pc +%{_qt6_docdir}/KWayland.* %changelog -* Mon Feb 12 2024 Silvan Calarco 5.115.0-1mamba -- update to 5.115.0 +* 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 update by autodist + +* Thu Feb 29 2024 Automatic Build System 6.0.0-1mamba +- automatic version update by autodist + +* Sun Feb 04 2024 Silvan Calarco 5.93.0-1mamba +- update to 5.93.0 + +* Tue Jan 30 2024 Silvan Calarco 5.92.0-1mamba +- update to 5.92.0 * Sat Jan 13 2024 Automatic Build System 5.114.0-1mamba - automatic version update by autodist