Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-31 17:16:01 +00:00
parent 88fb35f59a
commit 71723f9e2f
3 changed files with 20 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/xdg-desktop-portal-gtk-1.8.0.tar.xz
SOURCES/xdg-desktop-portal-gtk-1.12.0.tar.xz

View File

@ -1 +0,0 @@
cf281335a301828c4b92e91ebf09113e3f485e18 SOURCES/xdg-desktop-portal-gtk-1.8.0.tar.xz

View File

@ -2,7 +2,7 @@
%global xdg_desktop_portal_version 1.5.4
Name: xdg-desktop-portal-gtk
Version: 1.8.0
Version: 1.12.0
Release: 1%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+
@ -10,17 +10,17 @@ License: LGPLv2+
URL: https://github.com/flatpak/%{name}
Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: make
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: make
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version}
%{?systemd_requires}
BuildRequires: systemd
BuildRequires: systemd-rpm-macros
Requires: dbus
Requires: gsettings-desktop-schemas
Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version}
%if 0%{?fedora}
# Use rich deps to pull in this package when gtk3 and flatpak (or snapd) are both installed
@ -38,7 +38,17 @@ org.gnome.SessionManager D-Bus interfaces.
%build
%configure --disable-silent-rules
# All backends need to be enabled because xdg-desktop-portal-gnome is not
# part of RHEL 8.
%configure \
--disable-silent-rules \
--enable-appchooser \
--enable-settings \
--enable-background \
--enable-lockdown \
--enable-screencast \
--enable-screenshot \
--enable-wallpaper
%make_build
@ -66,6 +76,10 @@ org.gnome.SessionManager D-Bus interfaces.
%changelog
* Thu Nov 16 2023 Debarshi Ray <rishi@fedoraproject.org> - 1.12.0-1
- Rebase to 1.12.0
Resolves: RHEL-16694
* Sat Mar 26 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.8.0-1
- Rebase to 1.8.0
- Remove unnecessary non-arch-specific explicit library Requires