1 | %bcond_with systemd |
---|
2 | |
---|
3 | %global xdg_desktop_portal_version 1.6.0 |
---|
4 | |
---|
5 | Name: xdg-desktop-portal-gtk |
---|
6 | Version: 1.6.0 |
---|
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 | * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.0-1 |
---|
77 | - new upstream release. |
---|
78 | |
---|
79 | * Mon Sep 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4.0-2 |
---|
80 | - initial build for Vine Linux. |
---|
81 | |
---|
82 | * Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 1.4.0-1 |
---|
83 | - Update to 1.4.0 |
---|
84 | |
---|
85 | * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4 |
---|
86 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
87 | |
---|
88 | * Wed Mar 06 2019 Jonas Ådahl <jadahl@redhat.com> - 1.2.0-3 |
---|
89 | - Backport GNOME 3.32 API compatibility bump patch (#1686053) |
---|
90 | |
---|
91 | * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2 |
---|
92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
93 | |
---|
94 | * Mon Jan 28 2019 David King <amigadave@amigadave.com> - 1.2.0-1 |
---|
95 | - Update to 1.2.0 |
---|
96 | |
---|
97 | * Wed Jan 16 2019 Kalev Lember <klember@redhat.com> - 1.1.1-1 |
---|
98 | - Update to 1.1.1 |
---|
99 | |
---|
100 | * Mon Sep 03 2018 David King <amigadave@amigadave.com> - 1.0.2-1 |
---|
101 | - Update to 1.0.2 |
---|
102 | |
---|
103 | * Mon Aug 20 2018 David King <amigadave@amigadave.com> - 1.0-1 |
---|
104 | - Update to 1.0 |
---|
105 | |
---|
106 | * Tue Jul 24 2018 David King <amigadave@amigadave.com> - 0.99-1 |
---|
107 | - Update to 0.99 |
---|
108 | |
---|
109 | * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3 |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
111 | |
---|
112 | * Tue Jun 12 2018 Neal Gompa <ngompa13@gmail.com> - 0.11-2 |
---|
113 | - Update Supplements to also install when snapd is installed |
---|
114 | |
---|
115 | * Wed Apr 25 2018 David King <amigadave@amigadave.com> - 0.11-1 |
---|
116 | - Update to 0.11 (#1545226) |
---|
117 | |
---|
118 | * Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.10-1 |
---|
119 | - Update to 0.10 (#1545226) |
---|
120 | |
---|
121 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2 |
---|
122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
123 | |
---|
124 | * Sun Nov 19 2017 David King <amigadave@amigadave.com> - 0.9-1 |
---|
125 | - Update to 0.9 (#1514775) |
---|
126 | |
---|
127 | * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3 |
---|
128 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
---|
129 | |
---|
130 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2 |
---|
131 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
132 | |
---|
133 | * Tue Jun 06 2017 David King <amigadave@amigadave.com> - 0.7-1 |
---|
134 | - Update to 0.7 |
---|
135 | |
---|
136 | * Fri Mar 31 2017 David King <amigadave@amigadave.com> - 0.6-1 |
---|
137 | - Update to 0.6 |
---|
138 | |
---|
139 | * Fri Feb 17 2017 Kalev Lember <klember@redhat.com> - 0.5-3 |
---|
140 | - Use rich deps to pull in this package when flatpak and gtk3 are both installed |
---|
141 | |
---|
142 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2 |
---|
143 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
144 | |
---|
145 | * Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1 |
---|
146 | - Update to 0.5 |
---|
147 | |
---|
148 | * Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1 |
---|
149 | - Update to 0.3 |
---|
150 | |
---|
151 | * Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1 |
---|
152 | - Update to 0.2 (#1361576) |
---|
153 | |
---|
154 | * Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1 |
---|
155 | - Initial Fedora packaging |
---|