Blame xdg-desktop-portal-gtk.spec

d849ca
%global xdg_desktop_portal_version 1.1.1
971b8d
Igor Gnatenko c34bad
Name:           xdg-desktop-portal-gtk
dc245b
Version:        1.4.0
dc245b
Release:        1%{?dist}
Igor Gnatenko c34bad
Summary:        Backend implementation for xdg-desktop-portal using GTK+
Igor Gnatenko c34bad
Igor Gnatenko c34bad
License:        LGPLv2+
Igor Gnatenko c34bad
URL:            https://github.com/flatpak/%{name}
c3247a
Source0:        https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Igor Gnatenko c34bad
Igor Gnatenko 70571b
BuildRequires:  gcc
f28af9
BuildRequires:  gettext
Igor Gnatenko c34bad
BuildRequires:  pkgconfig(gtk+-unix-print-3.0)
971b8d
BuildRequires:  pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version}
71c0cb
%{?systemd_requires}
c3247a
BuildRequires:  systemd
Igor Gnatenko c34bad
Requires:       dbus
971b8d
Requires:       xdg-desktop-portal >= %{xdg_desktop_portal_version}
b304d7
%if 0%{?fedora}
3b0a13
# Use rich deps to pull in this package when gtk3 and flatpak (or snapd) are both installed
3b0a13
Supplements:    (gtk3 and (flatpak or snapd))
b304d7
%endif
Igor Gnatenko c34bad
Igor Gnatenko c34bad
%description
Igor Gnatenko c34bad
A backend implementation for xdg-desktop-portal that is using GTK+ and various
Igor Gnatenko c34bad
pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or
Igor Gnatenko c34bad
org.gnome.SessionManager D-Bus interfaces.
Igor Gnatenko c34bad
d858bf
Igor Gnatenko c34bad
%prep
d858bf
%setup -q
d858bf
Igor Gnatenko c34bad
Igor Gnatenko c34bad
%build
Igor Gnatenko c34bad
%configure --disable-silent-rules
Igor Gnatenko c34bad
%make_build
Igor Gnatenko c34bad
d858bf
Igor Gnatenko c34bad
%install
Igor Gnatenko c34bad
%make_install
Igor Gnatenko c34bad
%find_lang %{name}
Igor Gnatenko c34bad
d858bf
71c0cb
%post
71c0cb
%systemd_user_post %{name}.service
71c0cb
71c0cb
%preun
71c0cb
%systemd_user_preun %{name}.service
71c0cb
71c0cb
Igor Gnatenko c34bad
%files -f %{name}.lang
Igor Gnatenko c34bad
%license COPYING
Igor Gnatenko c34bad
%doc NEWS
Igor Gnatenko c34bad
%{_libexecdir}/%{name}
71c0cb
%{_datadir}/applications/%{name}.desktop
Igor Gnatenko c34bad
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service
Igor Gnatenko c34bad
%{_datadir}/xdg-desktop-portal/portals/gtk.portal
71c0cb
%{_userunitdir}/%{name}.service
Igor Gnatenko c34bad
d858bf
d858bf
Igor Gnatenko c34bad
%changelog
dc245b
* Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 1.4.0-1
dc245b
- Update to 1.4.0
dc245b
c54097
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
c54097
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c54097
Jonas Ådahl 3c483f
* Wed Mar 06 2019 Jonas Ådahl <jadahl@redhat.com> - 1.2.0-3
Jonas Ådahl 3c483f
- Backport GNOME 3.32 API compatibility bump patch (#1686053)
Jonas Ådahl 3c483f
ba7a4c
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
ba7a4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ba7a4c
79b3c1
* Mon Jan 28 2019 David King <amigadave@amigadave.com> - 1.2.0-1
79b3c1
- Update to 1.2.0
79b3c1
d849ca
* Wed Jan 16 2019 Kalev Lember <klember@redhat.com> - 1.1.1-1
d849ca
- Update to 1.1.1
d849ca
c2f8db
* Mon Sep 03 2018 David King <amigadave@amigadave.com> - 1.0.2-1
c2f8db
- Update to 1.0.2
c2f8db
c0f1e8
* Mon Aug 20 2018 David King <amigadave@amigadave.com> - 1.0-1
c0f1e8
- Update to 1.0
c0f1e8
0d2dec
* Tue Jul 24 2018 David King <amigadave@amigadave.com> - 0.99-1
0d2dec
- Update to 0.99
0d2dec
e16c43
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3
e16c43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e16c43
3b0a13
* Tue Jun 12 2018 Neal Gompa <ngompa13@gmail.com> - 0.11-2
3b0a13
- Update Supplements to also install when snapd is installed
3b0a13
c3247a
* Wed Apr 25 2018 David King <amigadave@amigadave.com> - 0.11-1
c3247a
- Update to 0.11 (#1545226)
c3247a
971b8d
* Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.10-1
971b8d
- Update to 0.10 (#1545226)
971b8d
8476e7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
8476e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8476e7
63d25e
* Sun Nov 19 2017 David King <amigadave@amigadave.com> - 0.9-1
63d25e
- Update to 0.9 (#1514775)
63d25e
f3b77f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3
f3b77f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f3b77f
779996
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
779996
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
779996
f28af9
* Tue Jun 06 2017 David King <amigadave@amigadave.com> - 0.7-1
f28af9
- Update to 0.7
f28af9
71c0cb
* Fri Mar 31 2017 David King <amigadave@amigadave.com> - 0.6-1
71c0cb
- Update to 0.6
71c0cb
b304d7
* Fri Feb 17 2017 Kalev Lember <klember@redhat.com> - 0.5-3
b304d7
- Use rich deps to pull in this package when flatpak and gtk3 are both installed
b304d7
f2c5fc
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
f2c5fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f2c5fc
ef628b
* Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1
ef628b
- Update to 0.5
ef628b
cbc8cc
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
cbc8cc
- Update to 0.3
cbc8cc
d858bf
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
d858bf
- Update to 0.2 (#1361576)
d858bf
Igor Gnatenko c34bad
* Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1
Igor Gnatenko c34bad
- Initial Fedora packaging