Blame SPECS/xdg-desktop-portal.spec

e25601
%global pipewire_version 0.2.90
427a51
%global geoclue_version 2.5.2
6260c0
6260c0
Name:    xdg-desktop-portal
e25601
Version: 1.8.1
e25601
Release: 1%{?dist}
6260c0
Summary: Portal frontend service to flatpak
6260c0
6260c0
License: LGPLv2+
6260c0
URL:     https://github.com/flatpak/xdg-desktop-portal/
6260c0
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
6260c0
e25601
BuildRequires: make
6260c0
BuildRequires: gcc
6260c0
BuildRequires: pkgconfig(flatpak)
6260c0
BuildRequires: pkgconfig(fuse)
6260c0
BuildRequires: pkgconfig(gio-unix-2.0)
427a51
BuildRequires: pkgconfig(json-glib-1.0)
427a51
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue_version}
48d427
BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version}
6260c0
BuildRequires: /usr/bin/xmlto
6260c0
%{?systemd_requires}
6260c0
BuildRequires: systemd
e25601
6260c0
Requires:      dbus
427a51
# Required version for icon validator.
427a51
Recommends:    flatpak >= 1.2.0
427a51
Requires:      geoclue2 >= %{geoclue_version}
427a51
Recommends:    pipewire >= %{pipewire_version}
e25601
Requires:      pipewire-libs%{?_isa} >= %{pipewire_version}
6260c0
# Required for the document portal.
6260c0
Requires:      /usr/bin/fusermount
6260c0
6260c0
%description
6260c0
xdg-desktop-portal works by exposing a series of D-Bus interfaces known as
6260c0
portals under a well-known name (org.freedesktop.portal.Desktop) and object
6260c0
path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for
6260c0
file access, opening URIs, printing and others.
6260c0
6260c0
%package  devel
6260c0
Summary:  Development files for %{name}
6260c0
Requires: %{name}%{?_isa} = %{version}-%{release}
6260c0
6260c0
%description devel
6260c0
The pkg-config file for %{name}.
6260c0
6260c0
6260c0
%prep
e25601
%autosetup -p1
e25601
6260c0
6260c0
%build
48d427
%configure --enable-docbook-docs --disable-libportal
6260c0
%make_build
6260c0
6260c0
6260c0
%install
6260c0
%make_install
6260c0
install -dm 755 %{buildroot}/%{_pkgdocdir}
6260c0
install -pm 644 README.md %{buildroot}/%{_pkgdocdir}
6260c0
# This directory is used by implementations such as xdg-desktop-portal-gtk.
6260c0
install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
6260c0
6260c0
%find_lang %{name}
6260c0
6260c0
6260c0
%post
6260c0
%systemd_user_post %{name}.service
6260c0
%systemd_user_post xdg-document-portal.service
6260c0
%systemd_user_post xdg-permission-store.service
6260c0
6260c0
6260c0
%preun
6260c0
%systemd_user_preun %{name}.service
6260c0
%systemd_user_preun xdg-document-portal.service
6260c0
%systemd_user_preun xdg-permission-store.service
6260c0
6260c0
6260c0
%files -f %{name}.lang
6260c0
%doc %{_pkgdocdir}
6260c0
%license COPYING
6260c0
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.*.xml
6260c0
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml
6260c0
%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service
6260c0
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
6260c0
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
6260c0
%{_datadir}/%{name}
6260c0
%{_libexecdir}/xdg-desktop-portal
6260c0
%{_libexecdir}/xdg-document-portal
6260c0
%{_libexecdir}/xdg-permission-store
6260c0
%{_userunitdir}/%{name}.service
6260c0
%{_userunitdir}/xdg-document-portal.service
6260c0
%{_userunitdir}/xdg-permission-store.service
6260c0
6260c0
%files devel
6260c0
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
6260c0
6260c0
6260c0
%changelog
e25601
* Tue Oct 12 2021 Tomas Popela <tpopela@redhat.com> - 1.8.1-1
e25601
- Rebase to 1.8.1
e25601
- Explicit library Requires should be arch-specific
e25601
Resolves: #2062430
e25601
c903cb
* Tue Oct 12 2021 Tomas Popela <tpopela@redhat.com> - 1.6.0-6
c903cb
- Rebuild to recover from broken binutils
c903cb
  Resolves: #1954457
c903cb
fd9255
* Thu Apr 15 2021 Tomas Popela <tpopela@redhat.com> - 1.6.0-5
fd9255
- Drop PipeWire 0.2 requirement as Chrom[e|ium] 90 now depends on PipeWire 0.3
fd9255
- Resolves: rhbz#1949809
fd9255
cd0e9d
* Thu Feb 18 2021 Tomas Pelka <tpelka@redhat.com> - 1.6.0-4
cd0e9d
- Bump version and rebuild due to z-stream release with the same version
cd0e9d
b595e8
* Fri Oct 09 2020 David King <dking@redhat.com> - 1.6.0-3
b595e8
- Fix OpenURI crash (#1886025)
b595e8
c903cb
* Wed Jul 15 2020 Jonas Ådahl <jadahl@redhat.com> - 1.6.0-2
27a080
- Require pipewire0.2-libs for legacy application support.
27a080
  Resolves: #1854734
27a080
48d427
* Mon May 25 2020 Jonas Ådahl <jadahl@redhat.com> - 1.6.0-1
48d427
- Rebase to 1.6.0 (#1775345)
48d427
- Backport PipeWire 0.3 support (#1775345)
48d427
- Backport fixes (#1775345)
48d427
427a51
* Wed Oct 09 2019 David King <dking@redhat.com> - 1.4.2-1
427a51
- Rebase to 1.4.2 (#1748296)
427a51
6260c0
* Tue Oct 09 2018 David King <amigadave@amigadave.com> - 1.0.3-1
6260c0
- Update to 1.0.3
6260c0
6260c0
* Tue Sep 18 2018 Kalev Lember <klember@redhat.com> - 1.0.2-1
6260c0
- Update to 1.0.2 (#1630249)
6260c0
6260c0
* Wed Aug 01 2018 Jan Grulich <jgrulich@redhat.com> - 0.99-2
6260c0
- Rebuild PipeWire 0.2.2
6260c0
6260c0
* Tue Jul 31 2018 David King <dking@redhat.com> - 0.99-1
6260c0
- Update to 0.99
6260c0
6260c0
* Wed Apr 25 2018 David King <amigadave@amigadave.com> - 0.11-1
6260c0
- Update to 0.11 (#1545225)
6260c0
6260c0
* Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.10-1
6260c0
- Update to 0.10 (#1545225)
6260c0
6260c0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
6260c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6260c0
6260c0
* Sun Nov 19 2017 David King <amigadave@amigadave.com> - 0.9-1
6260c0
- Update to 0.9 (#1514774)
6260c0
6260c0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-3
6260c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6260c0
6260c0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
6260c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6260c0
6260c0
* Tue Jun 06 2017 David King <amigadave@amigadave.com> - 0.8-1
6260c0
- Update to 0.8 (#1458969)
6260c0
6260c0
* Fri Mar 31 2017 David King <amigadave@amigadave.com> - 0.6-1
6260c0
- Update to 0.6
6260c0
6260c0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
6260c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6260c0
6260c0
* Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1
6260c0
- Update to 0.5
6260c0
6260c0
* Thu Dec 01 2016 David King <amigadave@amigadave.com> - 0.4-1
6260c0
- Update to 0.4
6260c0
6260c0
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
6260c0
- Update to 0.3
6260c0
6260c0
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
6260c0
- Update to 0.2 (#1361575)
6260c0
6260c0
* Tue Jul 12 2016 David King <amigadave@amigadave.com> - 0.1-2
6260c0
- Own the portals directory
6260c0
6260c0
* Mon Jul 11 2016 David King <amigadave@amigadave.com> - 0.1-1
6260c0
- Initial Fedora packaging