From 04dd877103d3541bd512c57c0899818fd61796d6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:35:14 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.10.5-1mamba;Fri Oct 06 2017] --- README.md | 2 ++ xdg-desktop-portal-kde.spec | 59 +++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 xdg-desktop-portal-kde.spec diff --git a/README.md b/README.md index 2f862ed..269e654 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xdg-desktop-portal-kde +KDE Plasma 5 xdg desktop portal. + diff --git a/xdg-desktop-portal-kde.spec b/xdg-desktop-portal-kde.spec new file mode 100644 index 0000000..d80c513 --- /dev/null +++ b/xdg-desktop-portal-kde.spec @@ -0,0 +1,59 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: xdg-desktop-portal-kde +Version: 5.10.5 +Release: 1mamba +Summary: KDE Plasma 5 xdg desktop portal +Group: Graphical Desktop/Applications/Configuration +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: https://download.kde.org/stable/plasma/%{version}/xdg-desktop-portal-kde-%{version}.tar.xz +# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libknotifications-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +KDE Plasma 5 xdg desktop portal. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}5_qt.lang +%defattr(-,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 +%doc COPYING + +%changelog +* Fri Oct 06 2017 Silvan Calarco 5.10.5-1mamba +- package created using the webbuild interface