2018-02-14 15:13:30 +00:00
|
|
|
# Version required for Session support.
|
|
|
|
%global xdg_desktop_portal_version 0.10
|
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
Name: xdg-desktop-portal-gtk
|
2018-02-14 15:13:30 +00:00
|
|
|
Version: 0.10
|
|
|
|
Release: 1%{?dist}
|
2016-07-13 16:59:06 +00:00
|
|
|
Summary: Backend implementation for xdg-desktop-portal using GTK+
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://github.com/flatpak/%{name}
|
2016-07-29 13:05:29 +00:00
|
|
|
Source0: https://github.com/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz
|
2016-07-13 16:59:06 +00:00
|
|
|
|
2017-06-06 10:00:50 +00:00
|
|
|
BuildRequires: gettext
|
2016-07-13 16:59:06 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
|
2018-02-14 15:13:30 +00:00
|
|
|
BuildRequires: pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version}
|
2017-03-31 13:41:34 +00:00
|
|
|
%{?systemd_requires}
|
|
|
|
BuildRequires: systemd
|
2016-07-13 16:59:06 +00:00
|
|
|
Requires: dbus
|
2018-02-14 15:13:30 +00:00
|
|
|
Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version}
|
2017-02-17 17:14:32 +00:00
|
|
|
%if 0%{?fedora}
|
|
|
|
# Use rich deps to pull in this package when flatpak and gtk3 are both installed
|
|
|
|
Supplements: (flatpak and gtk3)
|
|
|
|
%endif
|
2016-07-13 16:59:06 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A backend implementation for xdg-desktop-portal that is using GTK+ and various
|
|
|
|
pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or
|
|
|
|
org.gnome.SessionManager D-Bus interfaces.
|
|
|
|
|
2016-07-29 13:05:29 +00:00
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
%prep
|
2016-07-29 13:05:29 +00:00
|
|
|
%setup -q
|
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-silent-rules
|
|
|
|
%make_build
|
|
|
|
|
2016-07-29 13:05:29 +00:00
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2016-07-29 13:05:29 +00:00
|
|
|
|
2017-03-31 13:41:34 +00:00
|
|
|
%post
|
|
|
|
%systemd_user_post %{name}.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_user_preun %{name}.service
|
|
|
|
|
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
|
|
|
%{_libexecdir}/%{name}
|
2017-03-31 13:41:34 +00:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2016-07-13 16:59:06 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service
|
|
|
|
%{_datadir}/xdg-desktop-portal/portals/gtk.portal
|
2017-03-31 13:41:34 +00:00
|
|
|
%{_userunitdir}/%{name}.service
|
2016-07-13 16:59:06 +00:00
|
|
|
|
2016-07-29 13:05:29 +00:00
|
|
|
|
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
%changelog
|
2018-02-14 15:13:30 +00:00
|
|
|
* Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.10-1
|
|
|
|
- Update to 0.10 (#1545226)
|
|
|
|
|
2018-02-09 21:26:52 +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:06:59 +00:00
|
|
|
* Sun Nov 19 2017 David King <amigadave@amigadave.com> - 0.9-1
|
|
|
|
- Update to 0.9 (#1514775)
|
|
|
|
|
2017-08-03 10:32:51 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 21:57:57 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-06 10:00:50 +00:00
|
|
|
* Tue Jun 06 2017 David King <amigadave@amigadave.com> - 0.7-1
|
|
|
|
- Update to 0.7
|
|
|
|
|
2017-03-31 13:41:34 +00:00
|
|
|
* Fri Mar 31 2017 David King <amigadave@amigadave.com> - 0.6-1
|
|
|
|
- Update to 0.6
|
|
|
|
|
2017-02-17 17:14:32 +00:00
|
|
|
* Fri Feb 17 2017 Kalev Lember <klember@redhat.com> - 0.5-3
|
|
|
|
- Use rich deps to pull in this package when flatpak and gtk3 are both installed
|
|
|
|
|
2017-02-11 17:43:50 +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:42:01 +00:00
|
|
|
* Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1
|
|
|
|
- Update to 0.5
|
|
|
|
|
2016-09-02 11:25:08 +00:00
|
|
|
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
|
|
|
|
- Update to 0.3
|
|
|
|
|
2016-07-29 13:05:29 +00:00
|
|
|
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
|
|
|
|
- Update to 0.2 (#1361576)
|
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
* Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1
|
|
|
|
- Initial Fedora packaging
|