2020-03-10 06:37:38 +00:00
|
|
|
%global pipewire_version 0.2.90
|
2019-01-16 07:14:24 +00:00
|
|
|
%global geoclue_version 2.5.2
|
2022-04-04 22:47:01 +00:00
|
|
|
%global glib_version 2.69.1
|
2020-01-03 11:22:15 +00:00
|
|
|
%global low_memory_monitor_version 2.0
|
2018-08-20 17:39:09 +00:00
|
|
|
|
2016-07-11 14:53:20 +00:00
|
|
|
Name: xdg-desktop-portal
|
2022-07-20 07:27:08 +00:00
|
|
|
Version: 1.14.5
|
2022-07-23 12:55:25 +00:00
|
|
|
Release: 2%{?dist}
|
2016-07-11 14:53:20 +00:00
|
|
|
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
|
|
|
|
|
2018-07-24 11:41:43 +00:00
|
|
|
BuildRequires: gcc
|
2021-12-21 16:11:51 +00:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: systemd-rpm-macros
|
2016-07-11 14:53:20 +00:00
|
|
|
BuildRequires: pkgconfig(flatpak)
|
2022-04-16 08:57:04 +00:00
|
|
|
BuildRequires: pkgconfig(fuse3)
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
2020-01-03 11:22:15 +00:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_version}
|
2019-05-28 16:31:50 +00:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
2019-01-16 07:14:24 +00:00
|
|
|
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue_version}
|
2020-03-10 06:37:38 +00:00
|
|
|
BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version}
|
2022-04-16 08:57:04 +00:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2016-07-11 14:53:20 +00:00
|
|
|
BuildRequires: /usr/bin/xmlto
|
2020-03-10 06:37:38 +00:00
|
|
|
|
2016-07-11 14:53:20 +00:00
|
|
|
Requires: dbus
|
2022-04-16 08:57:04 +00:00
|
|
|
Recommends: flatpak
|
2019-01-16 07:14:24 +00:00
|
|
|
Requires: geoclue2 >= %{geoclue_version}
|
2022-03-25 12:33:42 +00:00
|
|
|
Requires: glib2%{?_isa} >= %{glib_version}
|
2019-09-16 15:12:39 +00:00
|
|
|
Recommends: pipewire >= %{pipewire_version}
|
2022-03-25 12:33:42 +00:00
|
|
|
Requires: pipewire-libs%{?_isa} >= %{pipewire_version}
|
2018-02-14 13:39:25 +00:00
|
|
|
# Required for the document portal.
|
|
|
|
Requires: /usr/bin/fusermount
|
2020-01-03 11:22:15 +00:00
|
|
|
# Required for the GMemoryMonitor GIO API
|
|
|
|
Requires: low-memory-monitor >= %{low_memory_monitor_version}
|
2016-07-11 14:53:20 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
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
|
|
|
|
The pkg-config file for %{name}.
|
|
|
|
|
2016-07-13 11:44:19 +00:00
|
|
|
|
2016-07-11 14:53:20 +00:00
|
|
|
%prep
|
2020-03-10 06:37:38 +00:00
|
|
|
%autosetup -p1
|
|
|
|
|
2016-07-11 14:53:20 +00:00
|
|
|
|
|
|
|
%build
|
2019-10-22 16:55:48 +00:00
|
|
|
%configure --enable-docbook-docs --disable-libportal
|
2016-07-11 14:53:58 +00:00
|
|
|
%make_build
|
2016-07-11 14:53:20 +00:00
|
|
|
|
2016-07-13 11:44:19 +00:00
|
|
|
|
2016-07-11 14:53:20 +00:00
|
|
|
%install
|
|
|
|
%make_install
|
2016-07-13 11:44:19 +00:00
|
|
|
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
|
|
|
|
|
2016-07-29 13:00:57 +00:00
|
|
|
%find_lang %{name}
|
2016-07-11 14:53:20 +00:00
|
|
|
|
2016-07-29 13:00:57 +00:00
|
|
|
|
2017-03-31 13:23:28 +00:00
|
|
|
%post
|
|
|
|
%systemd_user_post %{name}.service
|
2018-02-14 13:39:25 +00:00
|
|
|
%systemd_user_post xdg-document-portal.service
|
|
|
|
%systemd_user_post xdg-permission-store.service
|
2017-03-31 13:23:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_user_preun %{name}.service
|
2018-02-14 13:39:25 +00:00
|
|
|
%systemd_user_preun xdg-document-portal.service
|
|
|
|
%systemd_user_preun xdg-permission-store.service
|
2017-03-31 13:23:28 +00:00
|
|
|
|
|
|
|
|
2016-07-29 13:00:57 +00:00
|
|
|
%files -f %{name}.lang
|
2016-07-11 14:53:20 +00:00
|
|
|
%doc %{_pkgdocdir}
|
|
|
|
%license COPYING
|
|
|
|
%{_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
|
2018-02-14 13:39:25 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
|
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
|
2016-07-13 11:44:19 +00:00
|
|
|
%{_datadir}/%{name}
|
2018-02-14 13:39:25 +00:00
|
|
|
%{_libexecdir}/xdg-desktop-portal
|
2022-04-16 08:57:04 +00:00
|
|
|
%{_libexecdir}/xdg-desktop-portal-rewrite-launchers
|
|
|
|
%{_libexecdir}/xdg-desktop-portal-validate-icon
|
2018-02-14 13:39:25 +00:00
|
|
|
%{_libexecdir}/xdg-document-portal
|
|
|
|
%{_libexecdir}/xdg-permission-store
|
2017-03-31 13:23:28 +00:00
|
|
|
%{_userunitdir}/%{name}.service
|
2022-04-16 08:57:04 +00:00
|
|
|
%{_userunitdir}/xdg-desktop-portal-rewrite-launchers.service
|
2018-02-14 13:39:25 +00:00
|
|
|
%{_userunitdir}/xdg-document-portal.service
|
|
|
|
%{_userunitdir}/xdg-permission-store.service
|
2016-07-11 14:53:20 +00:00
|
|
|
|
|
|
|
%files devel
|
2017-11-19 22:05:33 +00:00
|
|
|
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
|
2016-07-11 14:53:20 +00:00
|
|
|
|
2016-07-13 11:44:19 +00:00
|
|
|
|
2016-07-11 14:53:20 +00:00
|
|
|
%changelog
|
2022-07-23 12:55:25 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-20 07:27:08 +00:00
|
|
|
* Wed Jul 20 2022 Kalev Lember <klember@redhat.com> - 1.14.5-1
|
|
|
|
- Update to 1.14.5
|
|
|
|
|
2022-05-05 09:55:22 +00:00
|
|
|
* Thu May 05 2022 David King <amigadave@amigadave.com> - 1.14.4-1
|
|
|
|
- Update to 1.14.4 (#2065842)
|
|
|
|
|
2022-04-16 08:57:04 +00:00
|
|
|
* Sat Apr 16 2022 David King <amigadave@amigadave.com> - 1.14.3-1
|
|
|
|
- Update to 1.14.3 (#2065842)
|
|
|
|
|
2022-04-16 07:04:38 +00:00
|
|
|
* Sat Apr 16 2022 David King <amigadave@amigadave.com> - 1.12.4-1
|
|
|
|
- Update to 1.12.4
|
|
|
|
|
2022-04-04 22:47:01 +00:00
|
|
|
* Tue Apr 05 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.3-2
|
|
|
|
- Fix the GLib dependency
|
|
|
|
|
2022-03-28 20:44:24 +00:00
|
|
|
* Mon Mar 28 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.3-1
|
|
|
|
- Update to 1.12.3
|
|
|
|
|
2022-03-25 12:33:42 +00:00
|
|
|
* Fri Mar 25 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.2-2
|
|
|
|
- Explicit library Requires should be arch-specific
|
|
|
|
|
2022-03-25 10:41:13 +00:00
|
|
|
* Fri Mar 25 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.12.2-1
|
|
|
|
- Update to 1.12.2
|
|
|
|
|
2022-01-22 04:55:25 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-12-23 00:28:58 +00:00
|
|
|
* Thu Dec 23 2021 David King <amigadave@amigadave.com> - 1.12.1-1
|
|
|
|
- Update to 1.12.1
|
|
|
|
|
2021-12-21 16:11:51 +00:00
|
|
|
* Tue Dec 21 2021 David King <amigadave@amigadave.com> - 1.12.0-1
|
|
|
|
- Update to 1.12.0
|
|
|
|
|
2021-11-09 09:19:02 +00:00
|
|
|
* Tue Nov 09 2021 Aleksei Bavshin <alebastr@fedoraproject.org> - 1.10.1-2
|
|
|
|
- Add patch for org.freedesktop.FileManager1 deadlock (#2020371)
|
|
|
|
|
2021-09-20 22:39:06 +00:00
|
|
|
* Mon Sep 20 2021 David King <amigadave@amigadave.com> - 1.10.1-1
|
|
|
|
- Update to 1.10.1 (#2006126)
|
|
|
|
|
2021-09-16 06:59:34 +00:00
|
|
|
* Thu Sep 16 2021 David King <amigadave@amigadave.com> - 1.10.0-1
|
|
|
|
- Update to 1.10.0 (#2004782)
|
|
|
|
|
2021-07-23 21:23:43 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-04-15 07:16:52 +00:00
|
|
|
* Thu Apr 15 2021 Tomas Popela <tpopela@redhat.com> - 1.8.1-3
|
|
|
|
- Drop PipeWire 0.2 requirement as Chrom[e|ium] 90 now depends on PipeWire 0.3
|
|
|
|
|
2021-02-17 12:42:16 +00:00
|
|
|
* Wed Feb 17 2021 David King <amigadave@amigadave.com> - 1.8.1-2
|
|
|
|
- Drop unused fontconfig BuildRequires
|
|
|
|
|
2021-02-17 12:30:57 +00:00
|
|
|
* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 1.8.1-1
|
|
|
|
- Update to 1.8.1
|
|
|
|
|
2021-01-27 23:53:03 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-14 17:47:49 +00:00
|
|
|
* Mon Sep 14 2020 Kalev Lember <klember@redhat.com> - 1.8.0-1
|
|
|
|
- Update to 1.8.0
|
|
|
|
|
2020-07-29 14:32:50 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-25 09:23:06 +00:00
|
|
|
* Thu Jun 25 2020 Tomas Popela <tpopela@redhat.com> - 1.7.2-2
|
|
|
|
- Start to require pipewire0.2-libs so screen sharing works out of the box in Chrome and Chromium.
|
|
|
|
|
2020-04-03 14:34:07 +00:00
|
|
|
* Fri Apr 03 2020 David King <amigadave@amigadave.com> - 1.7.2-1
|
|
|
|
- Update to 1.7.2 (#1820660)
|
|
|
|
|
2020-03-28 04:43:31 +00:00
|
|
|
* Sat Mar 28 2020 Kalev Lember <klember@redhat.com> - 1.7.1-1
|
|
|
|
- Update to 1.7.1
|
|
|
|
|
2020-03-14 10:35:26 +00:00
|
|
|
* Sat Mar 14 2020 David King <amigadave@amigadave.com> - 1.7.0-1
|
|
|
|
- Update to 1.7.0 (#1813534)
|
|
|
|
|
2020-03-10 06:37:38 +00:00
|
|
|
* Tue Mar 10 2020 Kalev Lember <klember@redhat.com> - 1.6.0-4
|
|
|
|
- Backport PipeWire 0.3 support
|
|
|
|
|
2020-01-31 04:13:36 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-03 11:22:15 +00:00
|
|
|
* Fri Jan 03 2020 Bastien Nocera <bnocera@redhat.com> - 1.6.0-2
|
|
|
|
+ xdg-desktop-portal-1.6.0-2
|
|
|
|
- Add requires to implement GMemoryMonitor
|
|
|
|
|
2019-12-20 15:08:38 +00:00
|
|
|
* Fri Dec 20 2019 David King <amigadave@amigadave.com> - 1.6.0-1
|
|
|
|
- Update to 1.6.0
|
|
|
|
|
2019-12-12 18:35:29 +00:00
|
|
|
* Thu Dec 12 2019 David King <amigadave@amigadave.com> - 1.5.4-1
|
|
|
|
- Update to 1.5.4
|
|
|
|
|
2019-11-28 10:34:21 +00:00
|
|
|
* Thu Nov 28 2019 David King <amigadave@amigadave.com> - 1.5.3-1
|
|
|
|
- Update to 1.5.3
|
|
|
|
|
2019-10-29 22:32:15 +00:00
|
|
|
* Tue Oct 29 2019 David King <amigadave@amigadave.com> - 1.5.2-1
|
|
|
|
- Update to 1.5.2 (#1766780)
|
|
|
|
|
2019-10-22 16:55:48 +00:00
|
|
|
* Tue Oct 22 2019 David King <amigadave@amigadave.com> - 1.5.1-1
|
|
|
|
- Update to 1.5.1 (#1714704)
|
|
|
|
|
2019-10-04 17:03:01 +00:00
|
|
|
* Fri Oct 04 2019 David King <amigadave@amigadave.com> - 1.5.0-1
|
|
|
|
- Update to 1.5.0
|
|
|
|
|
2019-09-16 15:12:39 +00:00
|
|
|
* Mon Sep 16 2019 Kalev Lember <klember@redhat.com> - 1.4.2-3
|
|
|
|
- Avoid a hard dep on pipewire daemon
|
|
|
|
|
2019-07-27 03:59:08 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-28 16:31:50 +00:00
|
|
|
* Tue May 28 2019 Kalev Lember <klember@redhat.com> - 1.4.2-1
|
|
|
|
- Update to 1.4.2
|
|
|
|
|
2019-02-14 11:29:16 +00:00
|
|
|
* Thu Feb 14 2019 David King <amigadave@amigadave.com> - 1.2.0-3
|
|
|
|
- Drop icon validator Requires to Recommends
|
|
|
|
|
2019-02-03 12:13:08 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-26 10:12:08 +00:00
|
|
|
* Sat Jan 26 2019 David King <amigadave@amigadave.com> - 1.2.0-1
|
|
|
|
- Update to 1.2.0 (#1669552)
|
|
|
|
|
2019-01-16 07:14:24 +00:00
|
|
|
* Wed Jan 16 2019 Kalev Lember <klember@redhat.com> - 1.1.1-1
|
|
|
|
- Update to 1.1.1
|
|
|
|
|
2018-10-09 23:01:31 +00:00
|
|
|
* Tue Oct 09 2018 David King <amigadave@amigadave.com> - 1.0.3-1
|
|
|
|
- Update to 1.0.3
|
|
|
|
|
2018-09-03 16:32:26 +00:00
|
|
|
* Mon Sep 03 2018 David King <amigadave@amigadave.com> - 1.0.2-1
|
|
|
|
- Update to 1.0.2
|
|
|
|
|
2018-08-20 17:39:09 +00:00
|
|
|
* Mon Aug 20 2018 David King <amigadave@amigadave.com> - 1.0-1
|
|
|
|
- Update to 1.0
|
|
|
|
|
2018-08-01 07:43:07 +00:00
|
|
|
* Wed Aug 01 2018 Jan Grulich <jgrulich@redhat.com> - 0.99-2
|
|
|
|
- Rebuild PipeWire 0.2.2
|
|
|
|
|
2018-07-24 11:41:43 +00:00
|
|
|
* Tue Jul 24 2018 David King <amigadave@amigadave.com> - 0.99-1
|
|
|
|
- Update to 0.99
|
|
|
|
|
2018-07-14 09:10:20 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-25 05:58:45 +00:00
|
|
|
* Wed Apr 25 2018 David King <amigadave@amigadave.com> - 0.11-1
|
|
|
|
- Update to 0.11 (#1545225)
|
|
|
|
|
2018-02-14 13:39:25 +00:00
|
|
|
* Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.10-1
|
|
|
|
- Update to 0.10 (#1545225)
|
|
|
|
|
2018-02-09 21:26:43 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-19 22:05:33 +00:00
|
|
|
* Sun Nov 19 2017 David King <amigadave@amigadave.com> - 0.9-1
|
|
|
|
- Update to 0.9 (#1514774)
|
|
|
|
|
2017-08-03 10:32:43 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 21:57:51 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-06 09:24:12 +00:00
|
|
|
* Tue Jun 06 2017 David King <amigadave@amigadave.com> - 0.8-1
|
|
|
|
- Update to 0.8 (#1458969)
|
|
|
|
|
2017-03-31 13:23:28 +00:00
|
|
|
* Fri Mar 31 2017 David King <amigadave@amigadave.com> - 0.6-1
|
|
|
|
- Update to 0.6
|
|
|
|
|
2017-02-11 17:43:43 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-18 20:27:15 +00:00
|
|
|
* Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1
|
|
|
|
- Update to 0.5
|
|
|
|
|
2016-12-01 13:47:49 +00:00
|
|
|
* Thu Dec 01 2016 David King <amigadave@amigadave.com> - 0.4-1
|
|
|
|
- Update to 0.4
|
|
|
|
|
2016-09-02 11:18:35 +00:00
|
|
|
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
|
|
|
|
- Update to 0.3
|
|
|
|
|
2016-07-29 13:00:57 +00:00
|
|
|
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
|
|
|
|
- Update to 0.2 (#1361575)
|
|
|
|
|
2016-07-13 11:44:19 +00:00
|
|
|
* Tue Jul 12 2016 David King <amigadave@amigadave.com> - 0.1-2
|
|
|
|
- Own the portals directory
|
|
|
|
|
2016-07-11 14:53:20 +00:00
|
|
|
* Mon Jul 11 2016 David King <amigadave@amigadave.com> - 0.1-1
|
|
|
|
- Initial Fedora packaging
|