-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgnome-shell-extensions.spec
459 lines (364 loc) · 16.2 KB
/
gnome-shell-extensions.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
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
%define gshell_ver 47.0
Summary: Modify and extend GNOME Shell functionality and behavior
Summary(pl.UTF-8): Modyfikacje i rozszerzenia funkcjonalności i zachowania powłoki GNOME
Name: gnome-shell-extensions
Version: 47.3
Release: 1
Group: X11/Applications
License: GPL v2+
Source0: https://download.gnome.org/sources/gnome-shell-extensions/47/%{name}-%{version}.tar.xz
# Source0-md5: 1f0e20e9d08999eb0894aca5d1748467
URL: https://wiki.gnome.org/Projects/GnomeShell/Extensions
BuildRequires: meson >= 1.1.0
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig >= 1:0.22
BuildRequires: sassc
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define ext_prefix gnome-shell-extension
%description
GNOME Shell Extensions is a collection of extensions providing
additional and optional functionality to GNOME Shell.
Enabled extensions:
- apps-menu
- auto-move-windows
- drive-menu
- launch-new-instance
- light-style
- native-window-placement
- places-menu
- screenshot-window-sizer
- user-theme
- window-list
- windowsNavigator
- workspace-indicator
%description -l pl.UTF-8
GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
opcjonalne funkcje powłoki GNOME.
Dostępne rozszerzenia:
- apps-menu
- auto-move-windows
- drive-menu
- launch-new-instance
- light-style
- native-window-placement
- places-menu
- screenshot-window-sizer
- user-theme
- window-list
- windowsNavigator
- workspace-indicator
%package common
Summary: Files common to GNOME Shell Extensions
Summary(pl.UTF-8): Pliki wspólne rozszerzeń powłoki GNOME
Group: X11/Applications
Requires: gnome-shell >= %{gshell_ver}
Obsoletes: gnome-shell-extension-alternative-status-menu < 3.10.1
Obsoletes: gnome-shell-extension-alternate-tab < 3.32.0
Obsoletes: gnome-shell-extension-default-min-max < 3.8.3.1
Obsoletes: gnome-shell-extension-dock < 3.8.0
Obsoletes: gnome-shell-extension-gajim < 3.8.0
Obsoletes: gnome-shell-extension-horizontal-workspaces < 40.0
Obsoletes: gnome-shell-extension-static-workspaces < 3.8.3.1
Obsoletes: gnome-shell-extension-xrandr-indicator < 3.10.1
%description common
GNOME Shell Extensions is a collection of extensions providing
additional and optional functionality to GNOME Shell. Common files and
directories needed by extensions are provided here.
%description common -l pl.UTF-8
GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
opcjonalne funkcje powłoki GNOME. Ten pakiet zawiera wspólne pliki i
katalogi wymagane przez rozszerzenia.
%package -n gnome-classic-session
Summary: GNOME "classic" mode session
Summary(pl.UTF-8): Sesja trybu "klasycznego" GNOME
Group: X11/Applications
Requires(post,postun): glib2 >= 1:2.26.0
Requires: %{ext_prefix}-apps-menu = %{version}-%{release}
Requires: %{ext_prefix}-launch-new-instance = %{version}-%{release}
Requires: %{ext_prefix}-light-style = %{version}-%{release}
Requires: %{ext_prefix}-places-menu = %{version}-%{release}
Requires: %{ext_prefix}-window-list = %{version}-%{release}
Requires: gnome-session >= 1:3.14.0
%description -n gnome-classic-session
This package contains the required components for the GNOME Shell
"classic" mode, which aims to provide a GNOME 2-like user interface.
%description -n gnome-classic-session -l pl.UTF-8
Ten pakiet zawiera komponenty wymagane dla trybu "klasycznego" powłoki
GNOME, mającego na celu udostępnienie interfejsu użytkownika w stylu
GNOME 2.
%package -n %{ext_prefix}-apps-menu
Summary: Application menu for GNOME Shell
Summary(pl.UTF-8): Menu aplikacji dla powłoki GNOME
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-apps-menu
Add a GNOME 2.x style menu for applications.
%description -n %{ext_prefix}-apps-menu -l pl.UTF-8
To rozszerzenie dodaje menu w stylu GNOME 2.x dla aplikacji.
%package -n %{ext_prefix}-auto-move-windows
Summary: Assign specific workspaces to applications
Summary(pl.UTF-8): Przypisywanie konkretnych pulpitów do aplikacji
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-auto-move-windows
Lets you manage your workspaces more easily, assigning a specific
workspace to each application as soon as it creates a window, in a
manner configurable with a GSettings key.
%description -n %{ext_prefix}-auto-move-windows -l pl.UTF-8
To rozszerzenie pozwala łatwiej zarządzać pulpitami, przypisując
określony pulpit do każdej aplikacji zaraz po utworzeniu okna, w
sposób konfigurowany kluczem GSettings.
%package -n %{ext_prefix}-drive-menu
Summary: Disk device manager in the system status area
Summary(pl.UTF-8): Zarządca urządzeń dyskowych w obszarze stanu systemu
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-drive-menu
Adds a menu in the system status area that tracks removable disk
devices attached and offers to browse them and eject/unmount them.
%description -n %{ext_prefix}-drive-menu -l pl.UTF-8
To rozszerzenie dodaje w obszarze stanu systemu menu śledzące
podłączone odłączalne urządzenia dyskowe i pozwalające wysuwać lub
odmontowywać je.
%package -n %{ext_prefix}-launch-new-instance
Summary: Always launch a new application instance for GNOME Shell
Summary(pl.UTF-8): Uruchamianie zawsze nowej instancji aplikacji w powłoce GNOME
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-launch-new-instance
This GNOME Shell extension modifies the behavior of clicking in the
dash and app launcher to always launch a new application instance.
%description -n %{ext_prefix}-launch-new-instance -l pl.UTF-8
To rozszerzenie powłoki GNOME modyfikuje zachowanie kliknięcia w
myślnik oraz uruchamianiu aplikacji, aby zawsze uruchamiało nową
instancję aplikacji.
%package -n %{ext_prefix}-light-style
Summary: Switch default to light style
Summary(pl.UTF-8): Przełączenie na domyślny styl jasny
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-light-style
Switch default to light style.
%description -n %{ext_prefix}-light-style -l pl.UTF-8
Przełączenie na domyślny styl jasny.
%package -n %{ext_prefix}-native-window-placement
Summary: Arrange windows in overview in a more native way
Summary(pl.UTF-8): Układanie okien w podglądzie w bardziej natywny sposób
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-native-window-placement
This extension employs an algorithm (taken from KDE) for layouting the
thumbnails in the overview that more closely reflects the positions
and relative sizes of the actual windows, instead of using a fixed
grid.
%description -n %{ext_prefix}-native-window-placement -l pl.UTF-8
To rozszerzenie wprowadza pewnien algorytm (zaczerpnięty z KDE)
układania miniatur w podglądzie, bliżej odzwierciedlający położenia i
rozmiary względne właściwych okien, zamiast używania stałej siatki.
%package -n %{ext_prefix}-places-menu
Summary: Places menu indicator in the system status area
Summary(pl.UTF-8): Menu Miejsca w obszarze stanu systemu
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-places-menu
Adds a menu in the system status area that resembles the Places menu
from GNOME 2.x.
%description -n %{ext_prefix}-places-menu -l pl.UTF-8
To rozszerzenie dodaje w obszarze stanu systemu menu, przypominające
menu Miejsca z GNOME 2.x.
%package -n %{ext_prefix}-screenshot-window-sizer
Summary: Screenshot window sizer for GNOME Shell
Summary(pl.UTF-8): Ustalanie rozmiaru okien w powłoce GNOME przy zrzutach ekranu
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-screenshot-window-sizer
This GNOME Shell extension allows to easily resize windows for GNOME
Software screenshots.
%description -n %{ext_prefix}-screenshot-window-sizer -l pl.UTF-8
To rozszerzenie powłoki GNOME pozwala łatwo zmieniać rozmiary okien na
potrzeby zrzutów ekranu GNOME Software.
%package -n %{ext_prefix}-status-icons
Summary: Status icons extension
Summary(pl.UTF-8): Rozszerzenie z ikonami stanu
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-status-icons
GNOME extension to show status icons in the top bar.
%description -n %{ext_prefix}-status-icons -l pl.UTF-8
Rozszerzenie GNOME do pokazywania ikon stanu na górnej belce.
%package -n %{ext_prefix}-system-monitor
Summary: Monitor system from the top bar
Summary(pl.UTF-8): Monitorowanie systemu z górnej belki
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
Obsoletes: gnome-shell-extension-systemMonitor < 3.16.0
%description -n %{ext_prefix}-system-monitor
GNOME extension to monitor system from the top bar.
%description -n %{ext_prefix}-system-monitor -l pl.UTF-8
Rozszerzenie GNOME do monitorowania systemu z górnej belki.
%package -n %{ext_prefix}-user-theme
Summary: Let the user select a custom theme for the shell
Summary(pl.UTF-8): Wybór własnego motywu powłoki przez użytkownika
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-user-theme
Lets the user select a custom theme for the Gnome shell. It will allow
you to apply a style from
<~/.themes/[themeName]/gnome-shell/gnome-shell.css>.
%description -n %{ext_prefix}-user-theme -l pl.UTF-8
To rozszerzenie pozwala użytkownikowi wybrać własny motyw powłoki
GNOME. Pozwala zaaplikować styl z pliku
<~/.themes/[nazwaMotywu]/gnome-shell/gnome-shell.css>.
%package -n %{ext_prefix}-window-list
Summary: Display a window list at the bottom of the screen in GNOME Shell
Summary(pl.UTF-8): Wyświetlanie listy okien na dole ekranu w powłoce GNOME
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-window-list
This GNOME Shell extension displays a window list at the bottom of the
screen.
%description -n %{ext_prefix}-window-list -l pl.UTF-8
To rozszerzenie powłoki GNOME wyświetla listę okien na dole ekranu.
%package -n %{ext_prefix}-windowsNavigator
Summary: Keyboard selection of windows and work-spaces in overlay mode
Summary(pl.UTF-8): Wybór okien i pulpitów w trybie nakładkowym z poziomu klawiatury
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-windowsNavigator
Allow keyboard selection of windows and work-spaces in overlay mode in
GNOME Shell. Switch to overview mode (press the Win or Alt+F1 key) and
press the Alt key to show numbers over windows. Press any number to
switch to the corresponding window.
%description -n %{ext_prefix}-windowsNavigator -l pl.UTF-8
To rozszerzenie pozwala na wybieranie okien i pulpitów w trybie
nakładkowym powłoki GNOME z poziomu klawiatury. Przełączenie na tryb
podglądu (naciśnięcie klawisza Win lub Alt+F1) i naciśnięcie klawisa
Alt wyświetla numery na oknach. Wpisanie liczby przełącza na
odpowiednie okno.
%package -n %{ext_prefix}-workspace-indicator
Summary: Workspace Indicator
Summary(pl.UTF-8): Kontrolka pulpitów
Group: X11/Applications
Requires: %{name}-common = %{version}-%{release}
%description -n %{ext_prefix}-workspace-indicator
Put an indicator on the panel signaling in which workspace you are,
and give you the possibility of switching to another one.
%description -n %{ext_prefix}-workspace-indicator -l pl.UTF-8
To rozszerzenie umieszcza w panelu kontrolkę sygnalizującą aktualny
pulpit i pozwalający na przełączenie na inny.
%prep
%setup -q
%build
%meson build \
-Dclassic_mode=true \
-Dextension_set=all
%ninja_build -C build
%install
rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post -n gnome-classic-session
%glib_compile_schemas
%postun -n gnome-classic-session
%glib_compile_schemas
%post -n %{ext_prefix}-apps-menu
%glib_compile_schemas
%postun -n %{ext_prefix}-apps-menu
%glib_compile_schemas
%post -n %{ext_prefix}-auto-move-windows
%glib_compile_schemas
%postun -n %{ext_prefix}-auto-move-windows
%glib_compile_schemas
%post -n %{ext_prefix}-native-window-placement
%glib_compile_schemas
%postun -n %{ext_prefix}-native-window-placement
%glib_compile_schemas
%post -n %{ext_prefix}-screenshot-window-sizer
%glib_compile_schemas
%postun -n %{ext_prefix}-screenshot-window-sizer
%glib_compile_schemas
%post -n %{ext_prefix}-system-monitor
%glib_compile_schemas
%postun -n %{ext_prefix}-system-monitor
%glib_compile_schemas
%post -n %{ext_prefix}-user-theme
%glib_compile_schemas
%postun -n %{ext_prefix}-user-theme
%glib_compile_schemas
%post -n %{ext_prefix}-window-list
%glib_compile_schemas
%postun -n %{ext_prefix}-window-list
%glib_compile_schemas
%post -n %{ext_prefix}-workspace-indicator
%glib_compile_schemas
%postun -n %{ext_prefix}-workspace-indicator
%glib_compile_schemas
%files common -f %{name}.lang
%defattr(644,root,root,755)
%doc NEWS README.md
%dir %{_datadir}/gnome-shell/extensions
%files -n gnome-classic-session
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override
%dir %{_datadir}/gnome-shell/modes
%{_datadir}/gnome-shell/modes/classic.json
%{_datadir}/wayland-sessions/gnome-classic.desktop
%{_datadir}/wayland-sessions/gnome-classic-wayland.desktop
%{_datadir}/xsessions/gnome-classic.desktop
%{_datadir}/xsessions/gnome-classic-xorg.desktop
%files -n %{ext_prefix}-apps-menu
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.apps-menu.gschema.xml
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-auto-move-windows
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-drive-menu
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-launch-new-instance
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-light-style
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-native-window-placement
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
%{_datadir}/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com
%files -n %{ext_prefix}-places-menu
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-screenshot-window-sizer
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
%{_datadir}/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
%files -n %{ext_prefix}-status-icons
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-system-monitor
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.system-monitor.gschema.xml
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-user-theme
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-window-list
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-windowsNavigator
%defattr(644,root,root,755)
%{_datadir}/gnome-shell/extensions/[email protected]
%files -n %{ext_prefix}-workspace-indicator
%defattr(644,root,root,755)
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.workspace-indicator.gschema.xml
%{_datadir}/gnome-shell/extensions/[email protected]