Update to 1.7.2-1
This commit is contained in:
parent
a346316f64
commit
f078e5aa19
Binary file not shown.
BIN
xdg-desktop-portal-1.7.2.tar.xz
Normal file
BIN
xdg-desktop-portal-1.7.2.tar.xz
Normal file
Binary file not shown.
@ -1,79 +1,106 @@
|
|||||||
Name: xdg-desktop-portal
|
%global pipewire_version 0.3.0
|
||||||
Version: 1.0.2
|
%global geoclue_version 2.5.2
|
||||||
Release: 2
|
%global glib_version 2.63.3
|
||||||
Summary: A portal frontend service for Flatpak and possibly other desktop containment frameworks
|
%global low_memory_monitor_version 2.0
|
||||||
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 systemd xmlto pkgconfig(flatpak) pkgconfig(fuse)
|
Name: xdg-desktop-portal
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0) pkgconfig(libpipewire-0.2) >= 0.2.2
|
Version: 1.7.2
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Portal frontend service to flatpak
|
||||||
|
|
||||||
Requires: dbus fuse flatpak >= 0.11.1 pipewire >= 0.2.2
|
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: pkgconfig(flatpak)
|
||||||
|
BuildRequires: pkgconfig(fontconfig)
|
||||||
|
BuildRequires: pkgconfig(fuse)
|
||||||
|
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: /usr/bin/xmlto
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
BuildRequires: systemd
|
||||||
|
|
||||||
%description
|
Requires: dbus
|
||||||
Xdg-desktop-portal is a portal frontend service for Flatpak and possibly other desktop containment frameworks.
|
# Required version for icon validator.
|
||||||
It works by exposing a series of D-Bus interfaces known as portals under a well-known name
|
Recommends: flatpak >= 1.2.0
|
||||||
(org.freedesktop.portal.Desktop) and object path (/org/freedesktop/portal/desktop).
|
Requires: geoclue2 >= %{geoclue_version}
|
||||||
The portal interfaces include APIs for file access, opening URIs, printing and others.
|
Requires: glib2 >= %{glib_version}
|
||||||
|
Recommends: pipewire >= %{pipewire_version}
|
||||||
|
Requires: pipewire-libs >= %{pipewire_version}
|
||||||
|
# Required for the document portal.
|
||||||
|
Requires: /usr/bin/fusermount
|
||||||
|
# Required for the GMemoryMonitor GIO API
|
||||||
|
Requires: low-memory-monitor >= %{low_memory_monitor_version}
|
||||||
|
|
||||||
%package devel
|
%description glib2
|
||||||
Summary: Development files for %{name}
|
xdg-desktop-portal works by exposing a series of D-Bus interfaces known as
|
||||||
Requires: %{name} = %{version}-%{release}
|
portals under a well-known name (org.freedesktop.portal.Desktop) and object
|
||||||
|
path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for
|
||||||
|
file access, opening URIs, printing and others.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Pkgconfig file for %{name}.
|
The pkg-config file for %{name}.
|
||||||
|
|
||||||
%package help
|
|
||||||
Summary: Documents for %{name}
|
|
||||||
Buildarch: noarch
|
|
||||||
|
|
||||||
%description help
|
|
||||||
Introduction and other related files for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-docbook-docs
|
%configure --enable-docbook-docs --disable-libportal
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
sed -i 's/idm[0-9]\{5,32\}\"/idm123456789123456\"/g' $(find -name portal-docs.html)
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
install -d -m 0755 %{buildroot}/%{_pkgdocdir}
|
install -dm 755 %{buildroot}/%{_pkgdocdir}
|
||||||
install -p -m 0644 README.md %{buildroot}/%{_pkgdocdir}
|
install -pm 644 README.md %{buildroot}/%{_pkgdocdir}
|
||||||
install -d -m 0755 %{buildroot}/%{_datadir}/%{name}/portals
|
# This directory is used by implementations such as xdg-desktop-portal-gtk.
|
||||||
|
install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_user_post %{name}.service
|
%systemd_user_post %{name}.service
|
||||||
%systemd_user_post xdg-document-portal.service
|
%systemd_user_post xdg-document-portal.service
|
||||||
%systemd_user_post xdg-permission-store.service
|
%systemd_user_post xdg-permission-store.service
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_user_preun %{name}.service
|
%systemd_user_preun %{name}.service
|
||||||
%systemd_user_preun xdg-document-portal.service
|
%systemd_user_preun xdg-document-portal.service
|
||||||
%systemd_user_preun xdg-permission-store.service
|
%systemd_user_preun xdg-permission-store.service
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
|
%doc %{_pkgdocdir}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_datadir}/dbus-1/interfaces/*
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.*.xml
|
||||||
%{_datadir}/dbus-1/services/*
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
%{_libexecdir}/*
|
%{_libexecdir}/xdg-desktop-portal
|
||||||
%{_userunitdir}/*
|
%{_libexecdir}/xdg-document-portal
|
||||||
|
%{_libexecdir}/xdg-permission-store
|
||||||
|
%{_userunitdir}/%{name}.service
|
||||||
|
%{_userunitdir}/xdg-document-portal.service
|
||||||
|
%{_userunitdir}/xdg-permission-store.service
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
|
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
|
||||||
|
|
||||||
%files help
|
|
||||||
%doc %{_pkgdocdir}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Dec 05 2019 zhouyihang <zhouyihang1@huawei.com> - 1.0.2-2
|
* Fri Jun 04 2021 Wenlong Ding <wenlong.ding@turbolinux.com> - 1.7.2-1
|
||||||
- Package init
|
- Update to 1.7.2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user