1 |
# |
2 |
# Please do not update/rebuild/touch this package before asking first |
3 |
# to mikala and/or neoclust and/or daviddavid |
4 |
# This package is part of the KDE Stack. |
5 |
# |
6 |
|
7 |
%define rel 1 |
8 |
|
9 |
Name: xdg-desktop-portal-kde |
10 |
Summary: Backend implementation for xdg-desktop-portal using Qt/KF5 |
11 |
Version: 5.13.4 |
12 |
Release: %mkrel %{rel} |
13 |
Group: Graphical desktop/KDE |
14 |
License: GPLv2+ |
15 |
URL: https://cgit.kde.org/%{name}.git |
16 |
Source0: http://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz |
17 |
|
18 |
BuildRequires: kf5-macros |
19 |
|
20 |
BuildRequires: cmake(Qt5Core) |
21 |
BuildRequires: cmake(Qt5DBus) |
22 |
BuildRequires: cmake(Qt5Gui) |
23 |
BuildRequires: cmake(Qt5PrintSupport) |
24 |
BuildRequires: cmake(Qt5Widgets) |
25 |
BuildRequires: cmake(KF5CoreAddons) |
26 |
BuildRequires: cmake(KF5I18n) |
27 |
BuildRequires: cmake(KF5Notifications) |
28 |
BuildRequires: cmake(KF5Wayland) |
29 |
BuildRequires: cmake(KF5WidgetsAddons) |
30 |
|
31 |
Requires: xdg-desktop-portal |
32 |
Requires: flatpak |
33 |
|
34 |
%description |
35 |
A backend implementation for xdg-desktop-portal that is using Qt/KF5 |
36 |
and various pieces of KDE infrastructure. |
37 |
|
38 |
%files -f %{name}.lang |
39 |
%license COPYING |
40 |
%{_libexecdir}/%{name} |
41 |
%{_kf5_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service |
42 |
%{_kf5_datadir}/xdg-desktop-portal/portals/kde.portal |
43 |
|
44 |
#-------------------------------------------------------------------- |
45 |
|
46 |
%prep |
47 |
%setup -q |
48 |
|
49 |
%build |
50 |
%cmake_kf5 |
51 |
|
52 |
%make_build |
53 |
|
54 |
%install |
55 |
%make_install -C build |
56 |
|
57 |
%find_lang %{name} |