Blame SPECS/xdg-desktop-portal.spec

f298a1
%global pipewire_version 0.2.90
f298a1
%global geoclue_version 2.5.2
f298a1
%global glib_version 2.68.3-5
f298a1
%global low_memory_monitor_version 2.0
f298a1
f298a1
Name:    xdg-desktop-portal
f298a1
Version: 1.8.1
f298a1
Release: 6%{?dist}
f298a1
Summary: Portal frontend service to flatpak
f298a1
f298a1
License: LGPLv2+
f298a1
URL:     https://github.com/flatpak/xdg-desktop-portal/
f298a1
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
f298a1
f298a1
BuildRequires: make
f298a1
BuildRequires: gcc
f298a1
BuildRequires: pkgconfig(flatpak)
f298a1
BuildRequires: pkgconfig(fuse)
f298a1
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_version}
f298a1
BuildRequires: pkgconfig(json-glib-1.0)
f298a1
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue_version}
f298a1
BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version}
f298a1
BuildRequires: /usr/bin/xmlto
f298a1
%{?systemd_requires}
f298a1
BuildRequires: systemd
f298a1
BuildRequires: git
f298a1
BuildRequires: automake
f298a1
BuildRequires: autoconf
f298a1
BuildRequires: libtool
f298a1
BuildRequires: gettext-devel
f298a1
f298a1
Requires:      dbus
f298a1
# Required version for icon validator.
f298a1
Recommends:    flatpak >= 1.2.0
f298a1
Requires:      geoclue2 >= %{geoclue_version}
f298a1
Requires:      glib2 >= %{glib_version}
f298a1
Recommends:    pipewire >= %{pipewire_version}
f298a1
Requires:      pipewire-libs >= %{pipewire_version}
f298a1
# Required for the document portal.
f298a1
Requires:      /usr/bin/fusermount
f298a1
# Required for the GMemoryMonitor GIO API
f298a1
Requires:      low-memory-monitor >= %{low_memory_monitor_version}
f298a1
f298a1
# https://github.com/flatpak/xdg-desktop-portal/pull/613
f298a1
Patch0: power-profiles-daemon-gnome-40-backport.patch
f298a1
f298a1
%description
f298a1
xdg-desktop-portal works by exposing a series of D-Bus interfaces known as
f298a1
portals under a well-known name (org.freedesktop.portal.Desktop) and object
f298a1
path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for
f298a1
file access, opening URIs, printing and others.
f298a1
f298a1
%package  devel
f298a1
Summary:  Development files for %{name}
f298a1
Requires: %{name}%{?_isa} = %{version}-%{release}
f298a1
f298a1
%description devel
f298a1
The pkg-config file for %{name}.
f298a1
f298a1
f298a1
%prep
f298a1
%autosetup -S git -p1
f298a1
autoreconf -f -i
f298a1
f298a1
f298a1
%build
f298a1
%configure --enable-docbook-docs --disable-libportal
f298a1
%make_build
f298a1
f298a1
f298a1
%install
f298a1
%make_install
f298a1
install -dm 755 %{buildroot}/%{_pkgdocdir}
f298a1
install -pm 644 README.md %{buildroot}/%{_pkgdocdir}
f298a1
# This directory is used by implementations such as xdg-desktop-portal-gtk.
f298a1
install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
f298a1
f298a1
%find_lang %{name}
f298a1
f298a1
f298a1
%post
f298a1
%systemd_user_post %{name}.service
f298a1
%systemd_user_post xdg-document-portal.service
f298a1
%systemd_user_post xdg-permission-store.service
f298a1
f298a1
f298a1
%preun
f298a1
%systemd_user_preun %{name}.service
f298a1
%systemd_user_preun xdg-document-portal.service
f298a1
%systemd_user_preun xdg-permission-store.service
f298a1
f298a1
f298a1
%files -f %{name}.lang
f298a1
%doc %{_pkgdocdir}
f298a1
%license COPYING
f298a1
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.*.xml
f298a1
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml
f298a1
%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service
f298a1
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
f298a1
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
f298a1
%{_datadir}/%{name}
f298a1
%{_libexecdir}/xdg-desktop-portal
f298a1
%{_libexecdir}/xdg-document-portal
f298a1
%{_libexecdir}/xdg-permission-store
f298a1
%{_userunitdir}/%{name}.service
f298a1
%{_userunitdir}/xdg-document-portal.service
f298a1
%{_userunitdir}/xdg-permission-store.service
f298a1
f298a1
%files devel
f298a1
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
f298a1
f298a1
f298a1
%changelog
f298a1
* Tue Aug 24 2021 Bastien Nocera <bnocera@redhat.com> - 1.8.1-6
f298a1
+ xdg-desktop-portal-1.8.1-6
f298a1
- Add PowerProfileMonitor portal
f298a1
- Resolves: rhbz#1994468
f298a1
f298a1
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.1-5
f298a1
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
f298a1
  Related: rhbz#1991688
f298a1
f298a1
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.1-4
f298a1
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
f298a1
f298a1
* Thu Apr 15 2021 Tomas Popela <tpopela@redhat.com> - 1.8.1-3
f298a1
- Drop PipeWire 0.2 requirement as Chrom[e|ium] 90 now depends on PipeWire 0.3
f298a1
- Resolves: rhbz#1929237
f298a1
f298a1
* Wed Feb 17 2021 David King <amigadave@amigadave.com> - 1.8.1-2
f298a1
- Drop unused fontconfig BuildRequires
f298a1
f298a1
* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 1.8.1-1
f298a1
- Update to 1.8.1
f298a1
f298a1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f298a1
f298a1
* Mon Sep 14 2020 Kalev Lember <klember@redhat.com> - 1.8.0-1
f298a1
- Update to 1.8.0
f298a1
f298a1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f298a1
f298a1
* Thu Jun 25 2020 Tomas Popela <tpopela@redhat.com> - 1.7.2-2
f298a1
- Start to require pipewire0.2-libs so screen sharing works out of the box in Chrome and Chromium.
f298a1
f298a1
* Fri Apr 03 2020 David King <amigadave@amigadave.com> - 1.7.2-1
f298a1
- Update to 1.7.2 (#1820660)
f298a1
f298a1
* Sat Mar 28 2020 Kalev Lember <klember@redhat.com> - 1.7.1-1
f298a1
- Update to 1.7.1
f298a1
f298a1
* Sat Mar 14 2020 David King <amigadave@amigadave.com> - 1.7.0-1
f298a1
- Update to 1.7.0 (#1813534)
f298a1
f298a1
* Tue Mar 10 2020 Kalev Lember <klember@redhat.com> - 1.6.0-4
f298a1
- Backport PipeWire 0.3 support
f298a1
f298a1
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f298a1
f298a1
* Fri Jan 03 2020 Bastien Nocera <bnocera@redhat.com> - 1.6.0-2
f298a1
+ xdg-desktop-portal-1.6.0-2
f298a1
- Add requires to implement GMemoryMonitor
f298a1
f298a1
* Fri Dec 20 2019 David King <amigadave@amigadave.com> - 1.6.0-1
f298a1
- Update to 1.6.0
f298a1
f298a1
* Thu Dec 12 2019 David King <amigadave@amigadave.com> - 1.5.4-1
f298a1
- Update to 1.5.4
f298a1
f298a1
* Thu Nov 28 2019 David King <amigadave@amigadave.com> - 1.5.3-1
f298a1
- Update to 1.5.3
f298a1
f298a1
* Tue Oct 29 2019 David King <amigadave@amigadave.com> - 1.5.2-1
f298a1
- Update to 1.5.2 (#1766780)
f298a1
f298a1
* Tue Oct 22 2019 David King <amigadave@amigadave.com> - 1.5.1-1
f298a1
- Update to 1.5.1 (#1714704)
f298a1
f298a1
* Fri Oct 04 2019 David King <amigadave@amigadave.com> - 1.5.0-1
f298a1
- Update to 1.5.0
f298a1
f298a1
* Mon Sep 16 2019 Kalev Lember <klember@redhat.com> - 1.4.2-3
f298a1
- Avoid a hard dep on pipewire daemon
f298a1
f298a1
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f298a1
f298a1
* Tue May 28 2019 Kalev Lember <klember@redhat.com> - 1.4.2-1
f298a1
- Update to 1.4.2
f298a1
f298a1
* Thu Feb 14 2019 David King <amigadave@amigadave.com> - 1.2.0-3
f298a1
- Drop icon validator Requires to Recommends
f298a1
f298a1
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f298a1
f298a1
* Sat Jan 26 2019 David King <amigadave@amigadave.com> - 1.2.0-1
f298a1
- Update to 1.2.0 (#1669552)
f298a1
f298a1
* Wed Jan 16 2019 Kalev Lember <klember@redhat.com> - 1.1.1-1
f298a1
- Update to 1.1.1
f298a1
f298a1
* Tue Oct 09 2018 David King <amigadave@amigadave.com> - 1.0.3-1
f298a1
- Update to 1.0.3
f298a1
f298a1
* Mon Sep 03 2018 David King <amigadave@amigadave.com> - 1.0.2-1
f298a1
- Update to 1.0.2
f298a1
f298a1
* Mon Aug 20 2018 David King <amigadave@amigadave.com> - 1.0-1
f298a1
- Update to 1.0
f298a1
f298a1
* Wed Aug 01 2018 Jan Grulich <jgrulich@redhat.com> - 0.99-2
f298a1
- Rebuild PipeWire 0.2.2
f298a1
f298a1
* Tue Jul 24 2018 David King <amigadave@amigadave.com> - 0.99-1
f298a1
- Update to 0.99
f298a1
f298a1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f298a1
f298a1
* Wed Apr 25 2018 David King <amigadave@amigadave.com> - 0.11-1
f298a1
- Update to 0.11 (#1545225)
f298a1
f298a1
* Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.10-1
f298a1
- Update to 0.10 (#1545225)
f298a1
f298a1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f298a1
f298a1
* Sun Nov 19 2017 David King <amigadave@amigadave.com> - 0.9-1
f298a1
- Update to 0.9 (#1514774)
f298a1
f298a1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-3
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f298a1
f298a1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f298a1
f298a1
* Tue Jun 06 2017 David King <amigadave@amigadave.com> - 0.8-1
f298a1
- Update to 0.8 (#1458969)
f298a1
f298a1
* Fri Mar 31 2017 David King <amigadave@amigadave.com> - 0.6-1
f298a1
- Update to 0.6
f298a1
f298a1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
f298a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f298a1
f298a1
* Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1
f298a1
- Update to 0.5
f298a1
f298a1
* Thu Dec 01 2016 David King <amigadave@amigadave.com> - 0.4-1
f298a1
- Update to 0.4
f298a1
f298a1
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
f298a1
- Update to 0.3
f298a1
f298a1
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
f298a1
- Update to 0.2 (#1361575)
f298a1
f298a1
* Tue Jul 12 2016 David King <amigadave@amigadave.com> - 0.1-2
f298a1
- Own the portals directory
f298a1
f298a1
* Mon Jul 11 2016 David King <amigadave@amigadave.com> - 0.1-1
f298a1
- Initial Fedora packaging