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
|
||||
Version: 1.0.2
|
||||
Release: 2
|
||||
Summary: A portal frontend service for Flatpak and possibly other desktop containment frameworks
|
||||
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
|
||||
%global pipewire_version 0.3.0
|
||||
%global geoclue_version 2.5.2
|
||||
%global glib_version 2.63.3
|
||||
%global low_memory_monitor_version 2.0
|
||||
|
||||
BuildRequires: gcc systemd xmlto pkgconfig(flatpak) pkgconfig(fuse)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0) pkgconfig(libpipewire-0.2) >= 0.2.2
|
||||
Name: xdg-desktop-portal
|
||||
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}
|
||||
BuildRequires: systemd
|
||||
|
||||
%description
|
||||
Xdg-desktop-portal is a portal frontend service for Flatpak and possibly other desktop containment frameworks.
|
||||
It works by exposing a series of D-Bus interfaces known as 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.
|
||||
Requires: dbus
|
||||
# Required version for icon validator.
|
||||
Recommends: flatpak >= 1.2.0
|
||||
Requires: geoclue2 >= %{geoclue_version}
|
||||
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
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description glib2
|
||||
xdg-desktop-portal works by exposing a series of D-Bus interfaces known as
|
||||
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
|
||||
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
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
%configure --enable-docbook-docs
|
||||
%configure --enable-docbook-docs --disable-libportal
|
||||
%make_build
|
||||
|
||||
sed -i 's/idm[0-9]\{5,32\}\"/idm123456789123456\"/g' $(find -name portal-docs.html)
|
||||
|
||||
%install
|
||||
%make_install
|
||||
install -d -m 0755 %{buildroot}/%{_pkgdocdir}
|
||||
install -p -m 0644 README.md %{buildroot}/%{_pkgdocdir}
|
||||
install -d -m 0755 %{buildroot}/%{_datadir}/%{name}/portals
|
||||
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
|
||||
|
||||
|
||||
%preun
|
||||
%systemd_user_preun %{name}.service
|
||||
%systemd_user_preun xdg-document-portal.service
|
||||
%systemd_user_preun xdg-permission-store.service
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc %{_pkgdocdir}
|
||||
%license COPYING
|
||||
%{_datadir}/dbus-1/interfaces/*
|
||||
%{_datadir}/dbus-1/services/*
|
||||
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.*.xml
|
||||
%{_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}
|
||||
%{_libexecdir}/*
|
||||
%{_userunitdir}/*
|
||||
%{_libexecdir}/xdg-desktop-portal
|
||||
%{_libexecdir}/xdg-document-portal
|
||||
%{_libexecdir}/xdg-permission-store
|
||||
%{_userunitdir}/%{name}.service
|
||||
%{_userunitdir}/xdg-document-portal.service
|
||||
%{_userunitdir}/xdg-permission-store.service
|
||||
|
||||
%files devel
|
||||
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
|
||||
|
||||
%files help
|
||||
%doc %{_pkgdocdir}
|
||||
|
||||
%changelog
|
||||
* Thu Dec 05 2019 zhouyihang <zhouyihang1@huawei.com> - 1.0.2-2
|
||||
- Package init
|
||||
* Fri Jun 04 2021 Wenlong Ding <wenlong.ding@turbolinux.com> - 1.7.2-1
|
||||
- Update to 1.7.2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user