- updated to 5.11.2
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Sun, 29 Oct 2017 16:41:31 +0000 (17:41 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sun, 29 Oct 2017 16:41:31 +0000 (17:41 +0100)
kp5-xdg-desktop-portal-kde.spec [new file with mode: 0644]

diff --git a/kp5-xdg-desktop-portal-kde.spec b/kp5-xdg-desktop-portal-kde.spec
new file mode 100644 (file)
index 0000000..f822fcc
--- /dev/null
@@ -0,0 +1,72 @@
+%define                kdeplasmaver    5.11.2
+%define                qtver           5.3.2
+%define                kpname          xdg-desktop-portal-kde
+
+Summary:       KDE XDG Desktop Portal
+Name:          kp5-%{kpname}
+Version:       5.11.2
+Release:       1
+License:       LGPL v2.1+
+Group:         X11/Libraries
+Source0:       http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: 22828f884c7538652e07aa0200d921fc
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: cmake >= 2.8.12
+BuildRequires: fontconfig-devel
+BuildRequires: kf5-attica-devel
+BuildRequires: kf5-kactivities-stats-devel
+BuildRequires: kf5-kauth-devel
+BuildRequires: kf5-kcmutils-devel
+BuildRequires: kf5-kdbusaddons-devel
+BuildRequires: kf5-kdeclarative-devel
+BuildRequires: kf5-kdelibs4support-devel
+BuildRequires: kf5-kdoctools-devel
+BuildRequires: kf5-kglobalaccel-devel
+BuildRequires: kf5-ki18n-devel
+BuildRequires: kf5-knewstuff-devel
+BuildRequires: kf5-knotifications-devel
+BuildRequires: kf5-knotifyconfig-devel
+BuildRequires: kf5-kpeople-devel
+BuildRequires: kf5-krunner-devel
+BuildRequires: kf5-kwallet-devel
+BuildRequires: kf5-plasma-framework-devel
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: xorg-driver-input-evdev-devel
+BuildRequires: xorg-driver-input-synaptics-devel
+BuildRequires: xorg-lib-libXft-devel
+BuildRequires: xz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                qt5dir          %{_libdir}/qt5
+
+%description
+KDE XDG Desktop Portal
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build/ install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{kpname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/xdg-desktop-portal-kde
+%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service
+%{_datadir}/xdg-desktop-portal/portals/kde.portal
This page took 0.05315 seconds and 4 git commands to generate.