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