- updated to 5.21.4
[packages/kp5-xdg-desktop-portal-kde.git] / kp5-xdg-desktop-portal-kde.spec
CommitLineData
28856532 1%define kdeplasmaver 5.21.4
7f2994a1 2%define qtver 5.9.0
1692b2f4
WF
3%define kpname xdg-desktop-portal-kde
4
5Summary: KDE XDG Desktop Portal
6Name: kp5-%{kpname}
28856532 7Version: 5.21.4
1692b2f4
WF
8Release: 1
9License: LGPL v2.1+
10Group: X11/Libraries
11Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
28856532 12# Source0-md5: 616303696281e3a8b15fb293973f311b
1692b2f4
WF
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel >= %{qtver}
15BuildRequires: cmake >= 2.8.12
16BuildRequires: fontconfig-devel
17BuildRequires: kf5-attica-devel
18BuildRequires: kf5-kactivities-stats-devel
19BuildRequires: kf5-kauth-devel
20BuildRequires: kf5-kcmutils-devel
21BuildRequires: kf5-kdbusaddons-devel
22BuildRequires: kf5-kdeclarative-devel
23BuildRequires: kf5-kdelibs4support-devel
24BuildRequires: kf5-kdoctools-devel
25BuildRequires: kf5-kglobalaccel-devel
26BuildRequires: kf5-ki18n-devel
27BuildRequires: kf5-knewstuff-devel
28BuildRequires: kf5-knotifications-devel
29BuildRequires: kf5-knotifyconfig-devel
30BuildRequires: kf5-kpeople-devel
31BuildRequires: kf5-krunner-devel
32BuildRequires: kf5-kwallet-devel
33BuildRequires: kf5-plasma-framework-devel
664176df 34BuildRequires: ninja
1692b2f4
WF
35BuildRequires: rpmbuild(macros) >= 1.164
36BuildRequires: xorg-driver-input-evdev-devel
37BuildRequires: xorg-driver-input-synaptics-devel
38BuildRequires: xorg-lib-libXft-devel
39BuildRequires: xz
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%define qt5dir %{_libdir}/qt5
43
44%description
7f2994a1
WF
45A portal frontend service for Flatpak and possibly other desktop
46containment frameworks.
1692b2f4
WF
47
48%prep
49%setup -q -n %{kpname}-%{version}
50
51%build
52install -d build
53cd build
664176df 54%cmake -G Ninja \
1692b2f4 55 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
ee08d71f 56 -DHTML_INSTALL_DIR=%{_kdedocdir} \
1692b2f4 57 ../
664176df 58%ninja_build
1692b2f4
WF
59
60%install
61rm -rf $RPM_BUILD_ROOT
664176df 62%ninja_install -C build
1692b2f4
WF
63
64%find_lang %{kpname} --all-name --with-kde
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files -f %{kpname}.lang
70%defattr(644,root,root,755)
0b581cc8 71%attr(755,root,root) %{_libexecdir}/xdg-desktop-portal-kde
1692b2f4
WF
72%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service
73%{_datadir}/xdg-desktop-portal/portals/kde.portal
ee08d71f
WF
74%{_desktopdir}/org.freedesktop.impl.portal.desktop.kde.desktop
75%{_datadir}/knotifications5/xdg-desktop-portal-kde.notifyrc
76%dir %{_datadir}/xdg-desktop-portal-kde
77%dir %{_datadir}/xdg-desktop-portal-kde/qml
78%{_datadir}/xdg-desktop-portal-kde/qml/AppChooserDialog.qml
79%{_datadir}/xdg-desktop-portal-kde/qml/UserInfoDialog.qml
This page took 0.19941 seconds and 4 git commands to generate.