- updated to 5.11.2
[packages/kp5-xdg-desktop-portal-kde.git] / kp5-xdg-desktop-portal-kde.spec
CommitLineData
1692b2f4
WF
1%define kdeplasmaver 5.11.2
2%define qtver 5.3.2
3%define kpname xdg-desktop-portal-kde
4
5Summary: KDE XDG Desktop Portal
6Name: kp5-%{kpname}
7Version: 5.11.2
8Release: 1
9License: LGPL v2.1+
10Group: X11/Libraries
11Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
12# Source0-md5: 22828f884c7538652e07aa0200d921fc
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
34BuildRequires: rpmbuild(macros) >= 1.164
35BuildRequires: xorg-driver-input-evdev-devel
36BuildRequires: xorg-driver-input-synaptics-devel
37BuildRequires: xorg-lib-libXft-devel
38BuildRequires: xz
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%define qt5dir %{_libdir}/qt5
42
43%description
44KDE XDG Desktop Portal
45
46%prep
47%setup -q -n %{kpname}-%{version}
48
49%build
50install -d build
51cd build
52%cmake \
53 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
54 ../
55%{__make}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60%{__make} -C build/ install \
61 DESTDIR=$RPM_BUILD_ROOT
62
63%find_lang %{kpname} --all-name --with-kde
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files -f %{kpname}.lang
69%defattr(644,root,root,755)
70%attr(755,root,root) %{_libdir}/xdg-desktop-portal-kde
71%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service
72%{_datadir}/xdg-desktop-portal/portals/kde.portal
This page took 0.102824 seconds and 4 git commands to generate.