1 %define gshell_ver 46.0
3 Summary: Modify and extend GNOME Shell functionality and behavior
4 Summary(pl.UTF-8): Modyfikacje i rozszerzenia funkcjonalności i zachowania powłoki GNOME
5 Name: gnome-shell-extensions
8 Group: X11/Applications
10 Source0: https://download.gnome.org/sources/gnome-shell-extensions/46/%{name}-%{version}.tar.xz
11 # Source0-md5: acb8af32c832fabf613c08e833dd195b
12 URL: https://wiki.gnome.org/Projects/GnomeShell/Extensions
13 BuildRequires: meson >= 0.58.0
14 BuildRequires: ninja >= 1.5
15 BuildRequires: pkgconfig >= 1:0.22
17 BuildRequires: rpmbuild(macros) >= 1.736
18 BuildRequires: tar >= 1:1.22
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define ext_prefix gnome-shell-extension
26 GNOME Shell Extensions is a collection of extensions providing
27 additional and optional functionality to GNOME Shell.
35 - native-window-placement
37 - screenshot-window-sizer
43 %description -l pl.UTF-8
44 GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
45 opcjonalne funkcje powłoki GNOME.
47 Dostępne rozszerzenia:
53 - native-window-placement
55 - screenshot-window-sizer
62 Summary: Files common to GNOME Shell Extensions
63 Summary(pl.UTF-8): Pliki wspólne rozszerzeń powłoki GNOME
64 Group: X11/Applications
65 Requires: gnome-shell >= %{gshell_ver}
66 Obsoletes: gnome-shell-extension-alternative-status-menu < 3.10.1
67 Obsoletes: gnome-shell-extension-alternate-tab < 3.32.0
68 Obsoletes: gnome-shell-extension-default-min-max < 3.8.3.1
69 Obsoletes: gnome-shell-extension-dock < 3.8.0
70 Obsoletes: gnome-shell-extension-gajim < 3.8.0
71 Obsoletes: gnome-shell-extension-horizontal-workspaces < 40.0
72 Obsoletes: gnome-shell-extension-static-workspaces < 3.8.3.1
73 Obsoletes: gnome-shell-extension-xrandr-indicator < 3.10.1
76 GNOME Shell Extensions is a collection of extensions providing
77 additional and optional functionality to GNOME Shell. Common files and
78 directories needed by extensions are provided here.
80 %description common -l pl.UTF-8
81 GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
82 opcjonalne funkcje powłoki GNOME. Ten pakiet zawiera wspólne pliki i
83 katalogi wymagane przez rozszerzenia.
85 %package -n gnome-classic-session
86 Summary: GNOME "classic" mode session
87 Summary(pl.UTF-8): Sesja trybu "klasycznego" GNOME
88 Group: X11/Applications
89 Requires(post,postun): glib2 >= 1:2.26.0
90 Requires: %{ext_prefix}-apps-menu = %{version}-%{release}
91 Requires: %{ext_prefix}-launch-new-instance = %{version}-%{release}
92 Requires: %{ext_prefix}-light-style = %{version}-%{release}
93 Requires: %{ext_prefix}-places-menu = %{version}-%{release}
94 Requires: %{ext_prefix}-window-list = %{version}-%{release}
95 Requires: gnome-session >= 1:3.14.0
97 %description -n gnome-classic-session
98 This package contains the required components for the GNOME Shell
99 "classic" mode, which aims to provide a GNOME 2-like user interface.
101 %description -n gnome-classic-session -l pl.UTF-8
102 Ten pakiet zawiera komponenty wymagane dla trybu "klasycznego" powłoki
103 GNOME, mającego na celu udostępnienie interfejsu użytkownika w stylu
106 %package -n %{ext_prefix}-apps-menu
107 Summary: Application menu for GNOME Shell
108 Summary(pl.UTF-8): Menu aplikacji dla powłoki GNOME
109 Group: X11/Applications
110 Requires: %{name}-common = %{version}-%{release}
112 %description -n %{ext_prefix}-apps-menu
113 Add a GNOME 2.x style menu for applications.
115 %description -n %{ext_prefix}-apps-menu -l pl.UTF-8
116 To rozszerzenie dodaje menu w stylu GNOME 2.x dla aplikacji.
118 %package -n %{ext_prefix}-auto-move-windows
119 Summary: Assign specific workspaces to applications
120 Summary(pl.UTF-8): Przypisywanie konkretnych pulpitów do aplikacji
121 Group: X11/Applications
122 Requires: %{name}-common = %{version}-%{release}
124 %description -n %{ext_prefix}-auto-move-windows
125 Lets you manage your workspaces more easily, assigning a specific
126 workspace to each application as soon as it creates a window, in a
127 manner configurable with a GSettings key.
129 %description -n %{ext_prefix}-auto-move-windows -l pl.UTF-8
130 To rozszerzenie pozwala łatwiej zarządzać pulpitami, przypisując
131 określony pulpit do każdej aplikacji zaraz po utworzeniu okna, w
132 sposób konfigurowany kluczem GSettings.
134 %package -n %{ext_prefix}-drive-menu
135 Summary: Disk device manager in the system status area
136 Summary(pl.UTF-8): Zarządca urządzeń dyskowych w obszarze stanu systemu
137 Group: X11/Applications
138 Requires: %{name}-common = %{version}-%{release}
140 %description -n %{ext_prefix}-drive-menu
141 Adds a menu in the system status area that tracks removable disk
142 devices attached and offers to browse them and eject/unmount them.
144 %description -n %{ext_prefix}-drive-menu -l pl.UTF-8
145 To rozszerzenie dodaje w obszarze stanu systemu menu śledzące
146 podłączone odłączalne urządzenia dyskowe i pozwalające wysuwać lub
149 %package -n %{ext_prefix}-launch-new-instance
150 Summary: Always launch a new application instance for GNOME Shell
151 Summary(pl.UTF-8): Uruchamianie zawsze nowej instancji aplikacji w powłoce GNOME
152 Group: X11/Applications
153 Requires: %{name}-common = %{version}-%{release}
155 %description -n %{ext_prefix}-launch-new-instance
156 This GNOME Shell extension modifies the behavior of clicking in the
157 dash and app launcher to always launch a new application instance.
159 %description -n %{ext_prefix}-launch-new-instance -l pl.UTF-8
160 To rozszerzenie powłoki GNOME modyfikuje zachowanie kliknięcia w
161 myślnik oraz uruchamianiu aplikacji, aby zawsze uruchamiało nową
164 %package -n %{ext_prefix}-light-style
165 Summary: Switch default to light style
166 Summary(pl.UTF-8): Przełączenie na domyślny styl jasny
167 Group: X11/Applications
168 Requires: %{name}-common = %{version}-%{release}
170 %description -n %{ext_prefix}-light-style
171 Switch default to light style.
173 %description -n %{ext_prefix}-light-style -l pl.UTF-8
174 Przełączenie na domyślny styl jasny.
176 %package -n %{ext_prefix}-native-window-placement
177 Summary: Arrange windows in overview in a more native way
178 Summary(pl.UTF-8): Układanie okien w podglądzie w bardziej natywny sposób
179 Group: X11/Applications
180 Requires: %{name}-common = %{version}-%{release}
182 %description -n %{ext_prefix}-native-window-placement
183 This extension employs an algorithm (taken from KDE) for layouting the
184 thumbnails in the overview that more closely reflects the positions
185 and relative sizes of the actual windows, instead of using a fixed
188 %description -n %{ext_prefix}-native-window-placement -l pl.UTF-8
189 To rozszerzenie wprowadza pewnien algorytm (zaczerpnięty z KDE)
190 układania miniatur w podglądzie, bliżej odzwierciedlający położenia i
191 rozmiary względne właściwych okien, zamiast używania stałej siatki.
193 %package -n %{ext_prefix}-places-menu
194 Summary: Places menu indicator in the system status area
195 Summary(pl.UTF-8): Menu Miejsca w obszarze stanu systemu
196 Group: X11/Applications
197 Requires: %{name}-common = %{version}-%{release}
199 %description -n %{ext_prefix}-places-menu
200 Adds a menu in the system status area that resembles the Places menu
203 %description -n %{ext_prefix}-places-menu -l pl.UTF-8
204 To rozszerzenie dodaje w obszarze stanu systemu menu, przypominające
205 menu Miejsca z GNOME 2.x.
207 %package -n %{ext_prefix}-screenshot-window-sizer
208 Summary: Screenshot window sizer for GNOME Shell
209 Summary(pl.UTF-8): Ustalanie rozmiaru okien w powłoce GNOME przy zrzutach ekranu
210 Group: X11/Applications
211 Requires: %{name}-common = %{version}-%{release}
213 %description -n %{ext_prefix}-screenshot-window-sizer
214 This GNOME Shell extension allows to easily resize windows for GNOME
215 Software screenshots.
217 %description -n %{ext_prefix}-screenshot-window-sizer -l pl.UTF-8
218 To rozszerzenie powłoki GNOME pozwala łatwo zmieniać rozmiary okien na
219 potrzeby zrzutów ekranu GNOME Software.
221 %package -n %{ext_prefix}-system-monitor
222 Summary: Monitor system from the top bar
223 Summary(pl.UTF-8): Monitorowanie systemu z górnej belki
224 Group: X11/Applications
225 Requires: %{name}-common = %{version}-%{release}
226 Obsoletes: gnome-shell-extension-systemMonitor < 3.16.0
228 %description -n %{ext_prefix}-system-monitor
229 GNOME extension to monitor system from the top bar.
231 %description -n %{ext_prefix}-system-monitor -l pl.UTF-8
232 Rozszerzenie GNOME do monitorowania systemu z górnej belki.
234 %package -n %{ext_prefix}-user-theme
235 Summary: Let the user select a custom theme for the shell
236 Summary(pl.UTF-8): Wybór własnego motywu powłoki przez użytkownika
237 Group: X11/Applications
238 Requires: %{name}-common = %{version}-%{release}
240 %description -n %{ext_prefix}-user-theme
241 Lets the user select a custom theme for the Gnome shell. It will allow
242 you to apply a style from
243 <~/.themes/[themeName]/gnome-shell/gnome-shell.css>.
245 %description -n %{ext_prefix}-user-theme -l pl.UTF-8
246 To rozszerzenie pozwala użytkownikowi wybrać własny motyw powłoki
247 GNOME. Pozwala zaaplikować styl z pliku
248 <~/.themes/[nazwaMotywu]/gnome-shell/gnome-shell.css>.
250 %package -n %{ext_prefix}-window-list
251 Summary: Display a window list at the bottom of the screen in GNOME Shell
252 Summary(pl.UTF-8): Wyświetlanie listy okien na dole ekranu w powłoce GNOME
253 Group: X11/Applications
254 Requires: %{name}-common = %{version}-%{release}
256 %description -n %{ext_prefix}-window-list
257 This GNOME Shell extension displays a window list at the bottom of the
260 %description -n %{ext_prefix}-window-list -l pl.UTF-8
261 To rozszerzenie powłoki GNOME wyświetla listę okien na dole ekranu.
263 %package -n %{ext_prefix}-windowsNavigator
264 Summary: Keyboard selection of windows and work-spaces in overlay mode
265 Summary(pl.UTF-8): Wybór okien i pulpitów w trybie nakładkowym z poziomu klawiatury
266 Group: X11/Applications
267 Requires: %{name}-common = %{version}-%{release}
269 %description -n %{ext_prefix}-windowsNavigator
270 Allow keyboard selection of windows and work-spaces in overlay mode in
271 GNOME Shell. Switch to overview mode (press the Win or Alt+F1 key) and
272 press the Alt key to show numbers over windows. Press any number to
273 switch to the corresponding window.
275 %description -n %{ext_prefix}-windowsNavigator -l pl.UTF-8
276 To rozszerzenie pozwala na wybieranie okien i pulpitów w trybie
277 nakładkowym powłoki GNOME z poziomu klawiatury. Przełączenie na tryb
278 podglądu (naciśnięcie klawisza Win lub Alt+F1) i naciśnięcie klawisa
279 Alt wyświetla numery na oknach. Wpisanie liczby przełącza na
282 %package -n %{ext_prefix}-workspace-indicator
283 Summary: Workspace Indicator
284 Summary(pl.UTF-8): Kontrolka pulpitów
285 Group: X11/Applications
286 Requires: %{name}-common = %{version}-%{release}
288 %description -n %{ext_prefix}-workspace-indicator
289 Put an indicator on the panel signaling in which workspace you are,
290 and give you the possibility of switching to another one.
292 %description -n %{ext_prefix}-workspace-indicator -l pl.UTF-8
293 To rozszerzenie umieszcza w panelu kontrolkę sygnalizującą aktualny
294 pulpit i pozwalający na przełączenie na inny.
301 -Dclassic_mode=true \
304 %ninja_build -C build
307 rm -rf $RPM_BUILD_ROOT
309 %ninja_install -C build
314 rm -rf $RPM_BUILD_ROOT
316 %post -n gnome-classic-session
317 %glib_compile_schemas
319 %postun -n gnome-classic-session
320 %glib_compile_schemas
322 %post -n %{ext_prefix}-apps-menu
323 %glib_compile_schemas
325 %postun -n %{ext_prefix}-apps-menu
326 %glib_compile_schemas
328 %post -n %{ext_prefix}-auto-move-windows
329 %glib_compile_schemas
331 %postun -n %{ext_prefix}-auto-move-windows
332 %glib_compile_schemas
334 %post -n %{ext_prefix}-native-window-placement
335 %glib_compile_schemas
337 %postun -n %{ext_prefix}-native-window-placement
338 %glib_compile_schemas
340 %post -n %{ext_prefix}-screenshot-window-sizer
341 %glib_compile_schemas
343 %postun -n %{ext_prefix}-screenshot-window-sizer
344 %glib_compile_schemas
346 %post -n %{ext_prefix}-system-monitor
347 %glib_compile_schemas
349 %postun -n %{ext_prefix}-system-monitor
350 %glib_compile_schemas
352 %post -n %{ext_prefix}-user-theme
353 %glib_compile_schemas
355 %postun -n %{ext_prefix}-user-theme
356 %glib_compile_schemas
358 %post -n %{ext_prefix}-window-list
359 %glib_compile_schemas
361 %postun -n %{ext_prefix}-window-list
362 %glib_compile_schemas
364 %files common -f %{name}.lang
365 %defattr(644,root,root,755)
367 %dir %{_datadir}/gnome-shell/extensions
369 %files -n gnome-classic-session
370 %defattr(644,root,root,755)
371 %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override
372 %dir %{_datadir}/gnome-shell/modes
373 %{_datadir}/gnome-shell/modes/classic.json
374 %{_datadir}/wayland-sessions/gnome-classic.desktop
375 %{_datadir}/wayland-sessions/gnome-classic-wayland.desktop
376 %{_datadir}/xsessions/gnome-classic.desktop
377 %{_datadir}/xsessions/gnome-classic-xorg.desktop
379 %files -n %{ext_prefix}-apps-menu
380 %defattr(644,root,root,755)
381 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.apps-menu.gschema.xml
382 %{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com
384 %files -n %{ext_prefix}-auto-move-windows
385 %defattr(644,root,root,755)
386 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
387 %{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com
389 %files -n %{ext_prefix}-drive-menu
390 %defattr(644,root,root,755)
391 %{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com
393 %files -n %{ext_prefix}-launch-new-instance
394 %defattr(644,root,root,755)
395 %{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com
397 %files -n %{ext_prefix}-light-style
398 %defattr(644,root,root,755)
399 %{_datadir}/gnome-shell/extensions/light-style@gnome-shell-extensions.gcampax.github.com
401 %files -n %{ext_prefix}-native-window-placement
402 %defattr(644,root,root,755)
403 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
404 %{_datadir}/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com
406 %files -n %{ext_prefix}-places-menu
407 %defattr(644,root,root,755)
408 %{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com
410 %files -n %{ext_prefix}-screenshot-window-sizer
411 %defattr(644,root,root,755)
412 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
413 %{_datadir}/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
415 %files -n %{ext_prefix}-system-monitor
416 %defattr(644,root,root,755)
417 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.system-monitor.gschema.xml
418 %{_datadir}/gnome-shell/extensions/system-monitor@gnome-shell-extensions.gcampax.github.com
420 %files -n %{ext_prefix}-user-theme
421 %defattr(644,root,root,755)
422 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
423 %{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com
425 %files -n %{ext_prefix}-window-list
426 %defattr(644,root,root,755)
427 %{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com
428 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
430 %files -n %{ext_prefix}-windowsNavigator
431 %defattr(644,root,root,755)
432 %{_datadir}/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com
434 %files -n %{ext_prefix}-workspace-indicator
435 %defattr(644,root,root,755)
436 %{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com