X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=kp5-xdg-desktop-portal-kde.spec;h=57297a1e74bf93266a3d578efad3f5da56e05b37;hb=HEAD;hp=b912fc0e905785c975817ca763f745eb69f25fa8;hpb=1f1f8f4c467b8cc194b3d4efc414ef34217e7473;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 b912fc0..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.25.5 +%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.25.5 -Release: 2 +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: a82382e60b3560f6b14ea363fd23e445 +# 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,8 @@ 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 +%{_datadir}/qlogging-categories5/xdp-kde.categories