[12435] | 1 | %bcond_with systemd |
---|
| 2 | |
---|
[12553] | 3 | %global xdg_desktop_portal_version 1.8.1 |
---|
[12435] | 4 | |
---|
| 5 | Name: xdg-desktop-portal-gtk |
---|
[12553] | 6 | Version: 1.8.0 |
---|
[12435] | 7 | Release: 1%{?_dist_release}%{?with_systemd:.systemd} |
---|
| 8 | Summary: Backend implementation for xdg-desktop-portal using GTK+ |
---|
[12553] | 9 | Group: desktop-gnome,system |
---|
[12435] | 10 | Vendor: Project Vine |
---|
| 11 | Distribution: Vine Linux |
---|
| 12 | |
---|
| 13 | License: LGPLv2+ |
---|
| 14 | URL: https://github.com/flatpak/%{name} |
---|
| 15 | Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz |
---|
| 16 | |
---|
| 17 | BuildRequires: gcc |
---|
| 18 | BuildRequires: gettext |
---|
| 19 | BuildRequires: pkgconfig(gtk+-unix-print-3.0) |
---|
| 20 | BuildRequires: xdg-desktop-portal-devel >= %{xdg_desktop_portal_version} |
---|
| 21 | BuildRequires: gnome-desktop3-devel |
---|
| 22 | %if %{with systemd} |
---|
| 23 | %{?systemd_requires} |
---|
| 24 | BuildRequires: systemd |
---|
| 25 | %endif |
---|
| 26 | Requires: dbus |
---|
| 27 | Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version} |
---|
| 28 | %if 0%{?fedora} |
---|
| 29 | # Use rich deps to pull in this package when gtk3 and flatpak (or snapd) are both installed |
---|
| 30 | Supplements: (gtk3 and (flatpak or snapd)) |
---|
| 31 | %endif |
---|
| 32 | |
---|
| 33 | %description |
---|
| 34 | A backend implementation for xdg-desktop-portal that is using GTK+ and various |
---|
| 35 | pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or |
---|
| 36 | org.gnome.SessionManager D-Bus interfaces. |
---|
| 37 | |
---|
| 38 | |
---|
[12553] | 39 | %debug_package |
---|
| 40 | |
---|
| 41 | |
---|
[12435] | 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | %configure --disable-silent-rules |
---|
| 48 | %make_build |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | %make_install |
---|
| 53 | %find_lang %{name} |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %if %{with systemd} |
---|
| 57 | %post |
---|
| 58 | %systemd_user_post %{name}.service |
---|
| 59 | |
---|
| 60 | %preun |
---|
| 61 | %systemd_user_preun %{name}.service |
---|
| 62 | %endif |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %files -f %{name}.lang |
---|
| 66 | %license COPYING |
---|
| 67 | %doc NEWS |
---|
| 68 | %{_libexecdir}/%{name} |
---|
| 69 | %{_datadir}/applications/%{name}.desktop |
---|
| 70 | %{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service |
---|
| 71 | %{_datadir}/xdg-desktop-portal/portals/gtk.portal |
---|
| 72 | %if %{with systemd} |
---|
| 73 | %{_userunitdir}/%{name}.service |
---|
| 74 | %else |
---|
| 75 | %exclude /usr/lib/systemd |
---|
| 76 | %endif |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %changelog |
---|
[12553] | 80 | * Fri Feb 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.0-1 |
---|
| 81 | - new upstream release. |
---|
| 82 | |
---|
[12446] | 83 | * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.7.1-1 |
---|
| 84 | - updated to unstable release to build with xdg-desktop-portal-1.7.x. |
---|
| 85 | |
---|
[12435] | 86 | * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.0-1 |
---|
| 87 | - new upstream release. |
---|
| 88 | |
---|
| 89 | * Mon Sep 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4.0-2 |
---|
| 90 | - initial build for Vine Linux. |
---|
| 91 | |
---|
| 92 | * Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 1.4.0-1 |
---|
| 93 | - Update to 1.4.0 |
---|
| 94 | |
---|
| 95 | * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4 |
---|
| 96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
| 97 | |
---|
| 98 | * Wed Mar 06 2019 Jonas Ådahl <jadahl@redhat.com> - 1.2.0-3 |
---|
| 99 | - Backport GNOME 3.32 API compatibility bump patch (#1686053) |
---|
| 100 | |
---|
| 101 | * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2 |
---|
| 102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
| 103 | |
---|
| 104 | * Mon Jan 28 2019 David King <amigadave@amigadave.com> - 1.2.0-1 |
---|
| 105 | - Update to 1.2.0 |
---|
| 106 | |
---|
| 107 | * Wed Jan 16 2019 Kalev Lember <klember@redhat.com> - 1.1.1-1 |
---|
| 108 | - Update to 1.1.1 |
---|
| 109 | |
---|
| 110 | * Mon Sep 03 2018 David King <amigadave@amigadave.com> - 1.0.2-1 |
---|
| 111 | - Update to 1.0.2 |
---|
| 112 | |
---|
| 113 | * Mon Aug 20 2018 David King <amigadave@amigadave.com> - 1.0-1 |
---|
| 114 | - Update to 1.0 |
---|
| 115 | |
---|
| 116 | * Tue Jul 24 2018 David King <amigadave@amigadave.com> - 0.99-1 |
---|
| 117 | - Update to 0.99 |
---|
| 118 | |
---|
| 119 | * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3 |
---|
| 120 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 121 | |
---|
| 122 | * Tue Jun 12 2018 Neal Gompa <ngompa13@gmail.com> - 0.11-2 |
---|
| 123 | - Update Supplements to also install when snapd is installed |
---|
| 124 | |
---|
| 125 | * Wed Apr 25 2018 David King <amigadave@amigadave.com> - 0.11-1 |
---|
| 126 | - Update to 0.11 (#1545226) |
---|
| 127 | |
---|
| 128 | * Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.10-1 |
---|
| 129 | - Update to 0.10 (#1545226) |
---|
| 130 | |
---|
| 131 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2 |
---|
| 132 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
| 133 | |
---|
| 134 | * Sun Nov 19 2017 David King <amigadave@amigadave.com> - 0.9-1 |
---|
| 135 | - Update to 0.9 (#1514775) |
---|
| 136 | |
---|
| 137 | * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3 |
---|
| 138 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
---|
| 139 | |
---|
| 140 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2 |
---|
| 141 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
| 142 | |
---|
| 143 | * Tue Jun 06 2017 David King <amigadave@amigadave.com> - 0.7-1 |
---|
| 144 | - Update to 0.7 |
---|
| 145 | |
---|
| 146 | * Fri Mar 31 2017 David King <amigadave@amigadave.com> - 0.6-1 |
---|
| 147 | - Update to 0.6 |
---|
| 148 | |
---|
| 149 | * Fri Feb 17 2017 Kalev Lember <klember@redhat.com> - 0.5-3 |
---|
| 150 | - Use rich deps to pull in this package when flatpak and gtk3 are both installed |
---|
| 151 | |
---|
| 152 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2 |
---|
| 153 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
| 154 | |
---|
| 155 | * Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1 |
---|
| 156 | - Update to 0.5 |
---|
| 157 | |
---|
| 158 | * Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1 |
---|
| 159 | - Update to 0.3 |
---|
| 160 | |
---|
| 161 | * Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1 |
---|
| 162 | - Update to 0.2 (#1361576) |
---|
| 163 | |
---|
| 164 | * Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1 |
---|
| 165 | - Initial Fedora packaging |
---|