Blame SPECS/xdg-desktop-portal.spec

6260c0
%global pipewire_version 0.2.2
6260c0
6260c0
Name:    xdg-desktop-portal
6260c0
Version: 1.0.3
6260c0
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
6260c0
BuildRequires: gcc
6260c0
BuildRequires: pkgconfig(flatpak)
6260c0
BuildRequires: pkgconfig(fuse)
6260c0
BuildRequires: pkgconfig(gio-unix-2.0)
6260c0
BuildRequires: pkgconfig(libpipewire-0.2) >= %{pipewire_version}
6260c0
BuildRequires: /usr/bin/xmlto
6260c0
%{?systemd_requires}
6260c0
BuildRequires: systemd
6260c0
Requires:      dbus
6260c0
# Required version due to the move of the document portal.
6260c0
Requires:      flatpak >= 0.11.1
6260c0
Requires:      pipewire >= %{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
6260c0
%setup -q
6260c0
6260c0
%build
6260c0
%configure --enable-docbook-docs
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
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