-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.spec
330 lines (234 loc) · 12.4 KB
/
package.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
%define unmangled_name proton-vpn-gtk-app
%define version 4.1.0
%define upstream_version 4.1.0
%define logo_filename proton-vpn-logo.svg
%define desktop_entry_filename protonvpn-app.desktop
%define release 1
Prefix: %{_prefix}
Name: %{unmangled_name}
Version: %{version}
Release: %{release}%{?dist}
Summary: %{unmangled_name} library
Group: ProtonVPN
License: GPLv3
Vendor: Proton Technologies AG <opensource@proton.me>
URL: https://github.com/ProtonVPN/%{unmangled_name}
Source0: %{unmangled_name}-%{upstream_version}.tar.gz
Source3: %{desktop_entry_filename}
Source4: %{logo_filename}
BuildArch: noarch
BuildRoot: %{_tmppath}/%{unmangled_name}-%{version}-%{release}-buildroot
BuildRequires: gtk3
BuildRequires: desktop-file-utils
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-gobject
BuildRequires: python3-dbus
BuildRequires: python3-proton-vpn-api-core
BuildRequires: python3-proton-vpn-logger
BuildRequires: python3-dbus
BuildRequires: librsvg2
BuildRequires: python3-packaging
Requires: gtk3
Requires: python3-gobject
Requires: python3-dbus
Requires: python3-proton-vpn-api-core
Requires: python3-proton-vpn-logger
Requires: python3-dbus
Requires: librsvg2
Requires: python3-packaging
Suggests: libappindicator-gtk3
%{?python_disable_dependency_generator}
%description
Package %{unmangled_name}.
%prep
%setup -n %{unmangled_name}-%{upstream_version}
%build
python3 setup.py build
%install
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE3}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{desktop_entry_filename}
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
cp %{SOURCE4} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{logo_filename}
python3 setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%{python3_sitelib}/proton/
%{python3_sitelib}/proton_vpn_gtk_app-%{upstream_version}*.egg-info/
%{_datadir}/applications/%{desktop_entry_filename}
%{_datadir}/icons/hicolor/scalable/apps/%{logo_filename}
%defattr(-,root,root)
%changelog
* Wed Oct 25 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.1.0-1
- Display secure core servers in server list
* Tue Oct 10 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-1
- Stable release
* Fri Sep 15 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.18.b2
- Add account data to settings window
* Tue Sep 11 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.17.b1
- Fixed typos
- Official beta release
* Tue Sep 05 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.16.a16
- Add kill switch selection to settings window
* Fri Jul 21 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.15.a15
- Add server pinning to settings window
* Wed Jul 19 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.14.a14
- Add NAT type selection to settings window
* Mon Jul 17 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.13.a13
- Add user-friendly release notes to menu
* Wed Jul 12 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.12.a12
- Add auto-connect at app startup to settings window
* Thu Jul 06 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.11.a11
- Add port forwarding selection to settings window
* Thu Jul 06 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.10.a10
- Add netshield selection to settings window
* Wed Jul 05 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.9.a9
- Add protocol selection to settings window
* Mon Jul 03 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.8.a8
- Implement settings window and vpn accelerator setting
* Mon Jun 19 2023 Josep Llaneras <josep.llaneras@proton.ch> 4.0.0-0.7.a7
- VPN data refresh fix
* Tue Jun 06 2023 Josep Llaneras <josep.llaneras@proton.ch> 4.0.0-0.6.a6
- Retrieve VPN account if it wasn't retrieved yet
* Fri May 29 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.5.a5
- Ensure UI updates smoothly after starting with auto-connect
* Fri May 26 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.4.a4
- Add auto-connect on app startup feature
* Thu May 25 2023 Josep Llaneras <josep.llaneras@proton.ch> 4.0.0-0.3.a3
- Add server feature icons
* Thu May 11 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 4.0.0-0.2.a2
- Display loading widget during login/logout with a custom message
* Tue May 02 2023 Josep Llaneras <josep.llaneras@proton.ch> 4.0.0-0.1a1
- Send app version to REST API
* Thu Apr 27 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.20.8
- Standardize how error messages are displayed
* Mon Apr 24 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.20.7
- Implement Network Manager logs
* Mon Apr 24 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.20.6
- Fix UI colors for light theme
* Fri Apr 21 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.20.5
- Allow cancelling connection/reconnection
* Fri Apr 21 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.20.4
- Update accent colours
* Wed Apr 19 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.20.3
- Update UI style on Login
* Fri Apr 14 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.20.2
- Remove IPv6 leak protection when quitting the app while in error state
* Fri Apr 14 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.20.1
- Fix reconnection after implementing IPv6 leak protection
* Tue Apr 04 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.20.0
- Use stock icon to show when a country row is expanded/collapsed
* Mon Apr 03 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.19.3
- Adapt to VPN connection refactoring
* Thu Mar 16 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.19.2
- Display last received error message via popup when multiple errors are to be displayed, instead of stacking them
* Wed Mar 15 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.19.1
- Hide secure-core servers from server list
* Wed Mar 08 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.19.0
- Remove connection and keyring backend dependencies
* Mon Mar 06 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.18.0
- Add pinned servers to tray
* Fri Mar 03 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.17.2
- Close app window safely when the "Quit" menu entry is selected
* Tue Feb 28 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.17.1
- Implement new appversion format
* Fri Feb 24 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.17.0
- Feature: Connect or disconnect from tray
* Thu Feb 23 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.16.0
- Update tray indicator icon based on vpn connection status
* Wed Feb 22 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.15.1
- Display show/hide menu entry on the tray indicator
* Mon Feb 20 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.15.0
- Use tray indicator if possible
* Wed Feb 15 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.14.0
- Feature: Add option to enter recovery code if 2fa is enabled
* Wed Feb 15 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.13.6
- Fix focus issues on login widget
- Wait that the bug report is sent before closing the window
* Tue Feb 14 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.13.5
- Fix: Logout from app if session is invalid when contacting the API
* Fri Feb 10 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.13.4
- Refactor widget package structure
* Fri Feb 10 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.13.4
- Refactor widget package structure
* Thu Feb 09 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.13.3
- Fix crash when connected server would go into maintenance
* Wed Feb 08 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.13.2
- Fix random reconnection issues
* Tue Feb 07 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.13.1
- Fix several search issues
* Tue Feb 07 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.13.0
- Move logout to menu and refactor code
* Mon Feb 06 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.12.0
- Add search bar
* Thu Feb 02 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.11.2
- Fix app icon for Wayland
* Mon Jan 30 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.11.1
- Fix bug report dialog as per customer support guidelines
* Mon Jan 30 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.11.0
- Feature: About dialog
* Thu Jan 26 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.10.4
- Display pop-up when unable to reach API during logout
* Thu Jan 26 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.10.3
- Add window icon
* Mon Jan 23 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.10.2
- Submit bug report using proton-core
* Mon Jan 23 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.10.1
- Fix: Bug report feature
* Tue Jan 17 2023 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.10.0
- Feature: Add issue report submission dialog
* Fri Jan 13 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.9.5
- Load VPN server details from persisted connection
* Wed Jan 11 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.9.4
- Fix Fail silently when the server list or the client config could not be updated
* Fri Jan 06 2023 Josep Llaneras <josep.llaneras@proton.ch> 0.9.3
- Fix quick connect widget glitch when opening the app twice
* Thu Dec 29 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.9.2
- Attempt to reconnect after user session has been unlocked from suspend
* Thu Dec 22 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.9.1
- Do not show popups on connection errors
* Tue Dec 20 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.9.0
- Add unit tests and improve API data handling
* Wed Dec 14 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.8.0
- Reconnect to VPN when network connectivity is detected
* Tue Dec 06 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.7.2
- Fix app crash after starting the app with a persisted connection
* Tue Dec 06 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.7.1
- Fix issue where current connection was not properly being detected
* Mon Dec 05 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.7.0
- Get server name/id from connection status update
* Fri Dec 02 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.6.6
- Check if the current connection is active before disconnecting
* Tue Nov 15 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.6.5
- Check if the current connection is active before disconnecting
* Mon Nov 14 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.6.4
- Display error dialog whenever a connection fails to be established
* Fri Nov 11 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.6.3
- Add Proton VPN logging library
* Mon Nov 7 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.6.2
- Ensure that vpn connection is stopped before logging out the user, if there is one
* Fri Nov 4 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.6.1
- Fix bug happening when connecting to a server without disconnecting first from the previous one
* Mon Oct 31 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.6.0
- Show the login screen when the session expired
* Tue Oct 04 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.5.1
- Fix several bugs in the server list widget
* Wed Sep 28 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.5.0
- Add "Connect" button on country rows
* Mon Sep 26 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.4.1
- Cleanup server list after logout
* Fri Sep 23 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.4.0
- Properly implement Quick Connect
* Fri Sep 23 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.3.1
- Fix crash when connecting to free server
* Thu Sep 22 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.3.0
- Display upgrade button for servers that require a higher tier plan to connect to
* Wed Sep 21 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.2.0
- Group servers by country
* Mon Sep 19 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.1.2
- Add basic logging
* Mon Sep 19 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.1.1
- Fix app freeze when disconnecting from VPN
* Thu Sep 15 2022 Josep Llaneras <josep.llaneras@proton.ch> 0.1.0
- Allow the user to connect to a concrete VPN server
* Sat Jun 4 2022 Alexandru Cheltuitor <alexandru.cheltuitor@proton.ch> 0.0.2
- First RPM release