!1 Package init
From: @zhang__3125 Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
44ee2cfbd6
BIN
xdg-desktop-portal-gnome-42.1.tar.xz
Normal file
BIN
xdg-desktop-portal-gnome-42.1.tar.xz
Normal file
Binary file not shown.
64
xdg-desktop-portal-gnome.spec
Normal file
64
xdg-desktop-portal-gnome.spec
Normal file
@ -0,0 +1,64 @@
|
||||
%global xdg_desktop_portal_version 1.5.4
|
||||
|
||||
Name: xdg-desktop-portal-gnome
|
||||
Version: 42.1
|
||||
Release: 1
|
||||
Summary: Backend implementation for xdg-desktop-portal using GNOME
|
||||
License: LGPLv2+
|
||||
URL: https://gitlab.gnome.org/GNOME/%{name}
|
||||
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(gnome-bg-4)
|
||||
BuildRequires: pkgconfig(gnome-desktop-4)
|
||||
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version}
|
||||
|
||||
Requires: dbus
|
||||
Requires: dbus-common
|
||||
Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version}
|
||||
Supplements: gnome-shell
|
||||
|
||||
%description
|
||||
A backend implementation for xdg-desktop-portal that is using various pieces of
|
||||
GNOME infrastructure, such as the org.gnome.Shell.Screenshot or
|
||||
org.gnome.SessionManager D-Bus interfaces.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%meson -Dsystemduserunitdir=%{_userunitdir}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%post
|
||||
%systemd_user_post %{name}.service
|
||||
|
||||
%preun
|
||||
%systemd_user_preun %{name}.service
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc NEWS README.md
|
||||
%{_libexecdir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gnome.service
|
||||
%{_datadir}/xdg-desktop-portal/portals/gnome.portal
|
||||
%{_userunitdir}/%{name}.service
|
||||
|
||||
%changelog
|
||||
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> 42.1-1
|
||||
- Package init
|
||||
4
xdg-desktop-portal-gnome.yaml
Normal file
4
xdg-desktop-portal-gnome.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: gitlab.gnome
|
||||
src_repo: xdg-desktop-portal-gnome
|
||||
tag_prefix: ^
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user