X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=kp5-xdg-desktop-portal-kde.spec;h=57297a1e74bf93266a3d578efad3f5da56e05b37;hb=HEAD;hp=fdc18df58d0a45094b38afd1756b136b5ea97307;hpb=dccb840fe9fad45ce75c4f916a109be5942cf64a;p=packages%2Fkp5-xdg-desktop-portal-kde.git diff --git a/kp5-xdg-desktop-portal-kde.spec b/kp5-xdg-desktop-portal-kde.spec index fdc18df..213ad9c 100644 --- a/kp5-xdg-desktop-portal-kde.spec +++ b/kp5-xdg-desktop-portal-kde.spec @@ -1,21 +1,21 @@ # # Conditional build: %bcond_with tests # build with tests -%define kdeplasmaver 5.27.0 +%define kdeplasmaver 5.27.11 %define qtver 5.15.2 %define kpname xdg-desktop-portal-kde Summary: KDE XDG Desktop Portal Name: kp5-%{kpname} -Version: 5.27.0 +Version: 5.27.11 Release: 1 License: LGPL v2.1+ Group: X11/Libraries Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz -# Source0-md5: 46f943b991514d85ccfa264f0be288f6 +# Source0-md5: da938f11c9caab561a4452810bec93d3 URL: http://www.kde.org/ BuildRequires: Qt5Core-devel >= %{qtver} -BuildRequires: cmake >= 2.8.12 +BuildRequires: cmake >= 3.16.0 BuildRequires: cups-devel BuildRequires: fontconfig-devel BuildRequires: kf5-attica-devel @@ -53,14 +53,12 @@ containment frameworks. %setup -q -n %{kpname}-%{version} %build -install -d build -cd build -%cmake -G Ninja \ +%cmake -B build \ + -G Ninja \ %{!?with_tests:-DBUILD_TESTING=OFF} \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - -DHTML_INSTALL_DIR=%{_kdedocdir} \ - ../ -%ninja_build + -DHTML_INSTALL_DIR=%{_kdedocdir} +%ninja_build -C build %if %{with tests} ctest @@ -80,6 +78,7 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libexecdir}/xdg-desktop-portal-kde %{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service %{_datadir}/xdg-desktop-portal/portals/kde.portal +%{_datadir}/xdg-desktop-portal/kde-portals.conf %{_desktopdir}/org.freedesktop.impl.portal.desktop.kde.desktop %{_datadir}/knotifications5/xdg-desktop-portal-kde.notifyrc %{systemduserunitdir}/plasma-xdg-desktop-portal-kde.service