52 lines
1.6 KiB
RPMSpec
52 lines
1.6 KiB
RPMSpec
Name: xdg-desktop-portal-gtk
|
|
Version: 1.8.0
|
|
Release: 1
|
|
Summary: A backend implementation for xdg-desktop-portal
|
|
License: LGPLv2+
|
|
URL: https://github.com/flatpak/%{name}
|
|
Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: make gcc gettext systemd pkgconfig(fontconfig) pkgconfig(gnome-desktop-3.0)
|
|
BuildRequires: pkgconfig(gtk+-unix-print-3.0) pkgconfig(xdg-desktop-portal) >= 1.5.4
|
|
Requires: dbus xdg-desktop-portal >= 1.5.4
|
|
%{?systemd_requires}
|
|
|
|
Supplements: (gtk3 and (flatpak or snapd))
|
|
|
|
%description
|
|
A backend implementation for xdg-desktop-portal that is using GTK+ and various pieces of GNOME
|
|
infrastructure, such as the org.gnome.Shell.Screenshot or org.gnome.SessionManager D-Bus interfaces.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure --disable-silent-rules
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%find_lang xdg-desktop-portal-gtk
|
|
|
|
%post
|
|
%systemd_user_post xdg-desktop-portal-gtk.service
|
|
|
|
%preun
|
|
%systemd_user_preun xdg-desktop-portal-gtk.service
|
|
|
|
%files -f xdg-desktop-portal-gtk.lang
|
|
%license COPYING
|
|
%doc NEWS
|
|
%{_libexecdir}/xdg-desktop-portal-gtk
|
|
%{_datadir}/applications/xdg-desktop-portal-gtk.desktop
|
|
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service
|
|
%{_datadir}/xdg-desktop-portal/portals/gtk.portal
|
|
%{_userunitdir}/xdg-desktop-portal-gtk.service
|
|
|
|
%changelog
|
|
* Wed Jun 23 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.8.0-1
|
|
- Upgrade to 1.8.0
|
|
|
|
* Thu Dec 05 2019 zhouyihang <zhouyihang1@huawei.com> - 1.0.2-2
|
|
- Package init
|