Update to 1.16.0
This commit is contained in:
parent
5844b21a35
commit
cdbbc5680b
BIN
xdg-desktop-portal-1.16.0.tar.xz
Normal file
BIN
xdg-desktop-portal-1.16.0.tar.xz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,32 +1,32 @@
|
||||
%global pipewire_version 0.3.0
|
||||
%global pipewire_version 0.2.90
|
||||
%global geoclue_version 2.5.2
|
||||
%global glib_version 2.63.3
|
||||
%global glib_version 2.69.1
|
||||
%global low_memory_monitor_version 2.0
|
||||
|
||||
Name: xdg-desktop-portal
|
||||
Version: 1.7.2
|
||||
Release: 2
|
||||
Summary: Portal frontend service to flatpak
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/flatpak/xdg-desktop-portal/
|
||||
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
Name: xdg-desktop-portal
|
||||
Version: 1.16.0
|
||||
Release: 1
|
||||
Summary: Portal frontend service to flatpak
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/flatpak/xdg-desktop-portal/
|
||||
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: meson
|
||||
BuildRequires: systemd
|
||||
BuildRequires: pkgconfig(flatpak)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(fuse)
|
||||
BuildRequires: pkgconfig(fuse3)
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_version}
|
||||
BuildRequires: pkgconfig(json-glib-1.0)
|
||||
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue_version}
|
||||
BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version}
|
||||
BuildRequires: pkgconfig(libportal)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: /usr/bin/xmlto
|
||||
%{?systemd_requires}
|
||||
BuildRequires: systemd
|
||||
|
||||
Requires: dbus
|
||||
# Required version for icon validator.
|
||||
Recommends: flatpak >= 1.2.0
|
||||
Requires: geoclue2 >= %{geoclue_version}
|
||||
Requires: glib2 >= %{glib_version}
|
||||
Recommends: pipewire >= %{pipewire_version}
|
||||
@ -49,38 +49,32 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%description devel
|
||||
The pkg-config file for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
##configure --enable-docbook-docs --disable-libportal
|
||||
%configure --disable-libportal
|
||||
%make_build
|
||||
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%meson_install
|
||||
install -dm 755 %{buildroot}/%{_pkgdocdir}
|
||||
install -pm 644 README.md %{buildroot}/%{_pkgdocdir}
|
||||
# This directory is used by implementations such as xdg-desktop-portal-gtk.
|
||||
install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
%post
|
||||
%systemd_user_post %{name}.service
|
||||
%systemd_user_post xdg-document-portal.service
|
||||
%systemd_user_post xdg-permission-store.service
|
||||
|
||||
%systemd_user_post xdg-desktop-portal-rewrite-launchers.service
|
||||
|
||||
%preun
|
||||
%systemd_user_preun %{name}.service
|
||||
%systemd_user_preun xdg-document-portal.service
|
||||
%systemd_user_preun xdg-permission-store.service
|
||||
|
||||
%systemd_user_preun xdg-desktop-portal-rewrite-launchers.service
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc %{_pkgdocdir}
|
||||
@ -94,15 +88,20 @@ install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
|
||||
%{_libexecdir}/xdg-desktop-portal
|
||||
%{_libexecdir}/xdg-document-portal
|
||||
%{_libexecdir}/xdg-permission-store
|
||||
%{_libexecdir}/xdg-desktop-portal-rewrite-launchers
|
||||
%{_libexecdir}/xdg-desktop-portal-validate-icon
|
||||
%{_userunitdir}/%{name}.service
|
||||
%{_userunitdir}/xdg-document-portal.service
|
||||
%{_userunitdir}/xdg-permission-store.service
|
||||
%{_userunitdir}/xdg-desktop-portal-rewrite-launchers.service
|
||||
|
||||
%files devel
|
||||
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.16.0-1
|
||||
- update to 1.16.0
|
||||
|
||||
* Mon Dec 13 2021 liweigang <liweiganga@uniontech.com> - 1.7.2-2
|
||||
- delete %dist
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user