1 %define gshell_ver 45.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/45/%{name}-%{version}.tar.xz
11 # Source0-md5: 99b4edcc52fa4dbe6783244d2314eea2
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
20 Requires: gnome-shell >= %{gshell_ver}
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define ext_prefix gnome-shell-extension
27 GNOME Shell Extensions is a collection of extensions providing
28 additional and optional functionality to GNOME Shell.
36 - native-window-placement
38 - screenshot-window-sizer
44 %description -l pl.UTF-8
45 GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
46 opcjonalne funkcje powłoki GNOME.
48 Dostępne rozszerzenia:
54 - native-window-placement
56 - screenshot-window-sizer
63 Summary: Files common to GNOME Shell Extensions
64 Summary(pl.UTF-8): Pliki wspólne rozszerzeń powłoki GNOME
65 Group: X11/Applications
66 Requires: gnome-shell >= %{gshell_ver}
67 Obsoletes: gnome-shell-extension-alternative-status-menu < 3.10.1
68 Obsoletes: gnome-shell-extension-alternate-tab < 3.32.0
69 Obsoletes: gnome-shell-extension-default-min-max < 3.8.3.1
70 Obsoletes: gnome-shell-extension-dock < 3.8.0
71 Obsoletes: gnome-shell-extension-gajim < 3.8.0
72 Obsoletes: gnome-shell-extension-horizontal-workspaces < 40.0
73 Obsoletes: gnome-shell-extension-static-workspaces < 3.8.3.1
74 Obsoletes: gnome-shell-extension-xrandr-indicator < 3.10.1
75 Obsoletes: gnome-shell-extension-systemMonitor < 3.16.0
78 GNOME Shell Extensions is a collection of extensions providing
79 additional and optional functionality to GNOME Shell. Common files and
80 directories needed by extensions are provided here.
82 %description common -l pl.UTF-8
83 GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
84 opcjonalne funkcje powłoki GNOME. Ten pakiet zawiera wspólne pliki i
85 katalogi wymagane przez rozszerzenia.
87 %package -n gnome-classic-session
88 Summary: GNOME "classic" mode session
89 Summary(pl.UTF-8): Sesja trybu "klasycznego" GNOME
90 Group: X11/Applications
91 Requires(post,postun): glib2 >= 1:2.26.0
92 Requires: %{ext_prefix}-apps-menu = %{version}-%{release}
93 Requires: %{ext_prefix}-launch-new-instance = %{version}-%{release}
94 Requires: %{ext_prefix}-light-style = %{version}-%{release}
95 Requires: %{ext_prefix}-places-menu = %{version}-%{release}
96 Requires: %{ext_prefix}-window-list = %{version}-%{release}
97 Requires: gnome-session >= 1:3.14.0
99 %description -n gnome-classic-session
100 This package contains the required components for the GNOME Shell
101 "classic" mode, which aims to provide a GNOME 2-like user interface.
103 %description -n gnome-classic-session -l pl.UTF-8
104 Ten pakiet zawiera komponenty wymagane dla trybu "klasycznego" powłoki
105 GNOME, mającego na celu udostępnienie interfejsu użytkownika w stylu
108 %package -n %{ext_prefix}-apps-menu
109 Summary: Application menu for GNOME Shell
110 Summary(pl.UTF-8): Menu aplikacji dla powłoki GNOME
111 Group: X11/Applications
112 Requires: %{name}-common = %{version}-%{release}
114 %description -n %{ext_prefix}-apps-menu
115 Add a GNOME 2.x style menu for applications.
117 %description -n %{ext_prefix}-apps-menu -l pl.UTF-8
118 To rozszerzenie dodaje menu w stylu GNOME 2.x dla aplikacji.
120 %package -n %{ext_prefix}-auto-move-windows
121 Summary: Assign specific workspaces to applications
122 Summary(pl.UTF-8): Przypisywanie konkretnych pulpitów do aplikacji
123 Group: X11/Applications
124 Requires: %{name}-common = %{version}-%{release}
126 %description -n %{ext_prefix}-auto-move-windows
127 Lets you manage your workspaces more easily, assigning a specific
128 workspace to each application as soon as it creates a window, in a
129 manner configurable with a GSettings key.
131 %description -n %{ext_prefix}-auto-move-windows -l pl.UTF-8
132 To rozszerzenie pozwala łatwiej zarządzać pulpitami, przypisując
133 określony pulpit do każdej aplikacji zaraz po utworzeniu okna, w
134 sposób konfigurowany kluczem GSettings.
136 %package -n %{ext_prefix}-drive-menu
137 Summary: Disk device manager in the system status area
138 Summary(pl.UTF-8): Zarządca urządzeń dyskowych w obszarze stanu systemu
139 Group: X11/Applications
140 Requires: %{name}-common = %{version}-%{release}
142 %description -n %{ext_prefix}-drive-menu
143 Adds a menu in the system status area that tracks removable disk
144 devices attached and offers to browse them and eject/unmount them.
146 %description -n %{ext_prefix}-drive-menu -l pl.UTF-8
147 To rozszerzenie dodaje w obszarze stanu systemu menu śledzące
148 podłączone odłączalne urządzenia dyskowe i pozwalające wysuwać lub
151 %package -n %{ext_prefix}-launch-new-instance
152 Summary: Always launch a new application instance for GNOME Shell
153 Summary(pl.UTF-8): Uruchamianie zawsze nowej instancji aplikacji w powłoce GNOME
154 Group: X11/Applications
155 Requires: %{name}-common = %{version}-%{release}
157 %description -n %{ext_prefix}-launch-new-instance
158 This GNOME Shell extension modifies the behavior of clicking in the
159 dash and app launcher to always launch a new application instance.
161 %description -n %{ext_prefix}-launch-new-instance -l pl.UTF-8
162 To rozszerzenie powłoki GNOME modyfikuje zachowanie kliknięcia w
163 myślnik oraz uruchamianiu aplikacji, aby zawsze uruchamiało nową
166 %package -n %{ext_prefix}-light-style
167 Summary: Switch default to light style
168 Summary(pl.UTF-8): Przełączenie na domyślny styl jasny
169 Group: X11/Applications
170 Requires: %{name}-common = %{version}-%{release}
172 %description -n %{ext_prefix}-light-style
173 Switch default to light style.
175 %description -n %{ext_prefix}-light-style -l pl.UTF-8
176 Przełączenie na domyślny styl jasny.
178 %package -n %{ext_prefix}-native-window-placement
179 Summary: Arrange windows in overview in a more native way
180 Summary(pl.UTF-8): Układanie okien w podglądzie w bardziej natywny sposób
181 Group: X11/Applications
182 Requires: %{name}-common = %{version}-%{release}
184 %description -n %{ext_prefix}-native-window-placement
185 This extension employs an algorithm (taken from KDE) for layouting the
186 thumbnails in the overview that more closely reflects the positions
187 and relative sizes of the actual windows, instead of using a fixed
190 %description -n %{ext_prefix}-native-window-placement -l pl.UTF-8
191 To rozszerzenie wprowadza pewnien algorytm (zaczerpnięty z KDE)
192 układania miniatur w podglądzie, bliżej odzwierciedlający położenia i
193 rozmiary względne właściwych okien, zamiast używania stałej siatki.
195 %package -n %{ext_prefix}-places-menu
196 Summary: Places menu indicator in the system status area
197 Summary(pl.UTF-8): Menu Miejsca w obszarze stanu systemu
198 Group: X11/Applications
199 Requires: %{name}-common = %{version}-%{release}
201 %description -n %{ext_prefix}-places-menu
202 Adds a menu in the system status area that resembles the Places menu
205 %description -n %{ext_prefix}-places-menu -l pl.UTF-8
206 To rozszerzenie dodaje w obszarze stanu systemu menu, przypominające
207 menu Miejsca z GNOME 2.x.
209 %package -n %{ext_prefix}-screenshot-window-sizer
210 Summary: Screenshot window sizer for GNOME Shell
211 Summary(pl.UTF-8): Ustalanie rozmiaru okien w powłoce GNOME przy zrzutach ekranu
212 Group: X11/Applications
213 Requires: %{name}-common = %{version}-%{release}
215 %description -n %{ext_prefix}-screenshot-window-sizer
216 This GNOME Shell extension allows to easily resize windows for GNOME
217 Software screenshots.
219 %description -n %{ext_prefix}-screenshot-window-sizer -l pl.UTF-8
220 To rozszerzenie powłoki GNOME pozwala łatwo zmieniać rozmiary okien na
221 potrzeby zrzutów ekranu GNOME Software.
223 %package -n %{ext_prefix}-user-theme
224 Summary: Let the user select a custom theme for the shell
225 Summary(pl.UTF-8): Wybór własnego motywu powłoki przez użytkownika
226 Group: X11/Applications
227 Requires: %{name}-common = %{version}-%{release}
229 %description -n %{ext_prefix}-user-theme
230 Lets the user select a custom theme for the Gnome shell. It will allow
231 you to apply a style from
232 <~/.themes/[themeName]/gnome-shell/gnome-shell.css>.
234 %description -n %{ext_prefix}-user-theme -l pl.UTF-8
235 To rozszerzenie pozwala użytkownikowi wybrać własny motyw powłoki
236 GNOME. Pozwala zaaplikować styl z pliku
237 <~/.themes/[nazwaMotywu]/gnome-shell/gnome-shell.css>.
239 %package -n %{ext_prefix}-window-list
240 Summary: Display a window list at the bottom of the screen in GNOME Shell
241 Summary(pl.UTF-8): Wyświetlanie listy okien na dole ekranu w powłoce GNOME
242 Group: X11/Applications
243 Requires: %{name}-common = %{version}-%{release}
245 %description -n %{ext_prefix}-window-list
246 This GNOME Shell extension displays a window list at the bottom of the
249 %description -n %{ext_prefix}-window-list -l pl.UTF-8
250 To rozszerzenie powłoki GNOME wyświetla listę okien na dole ekranu.
252 %package -n %{ext_prefix}-windowsNavigator
253 Summary: Keyboard selection of windows and work-spaces in overlay mode
254 Summary(pl.UTF-8): Wybór okien i pulpitów w trybie nakładkowym z poziomu klawiatury
255 Group: X11/Applications
256 Requires: %{name}-common = %{version}-%{release}
258 %description -n %{ext_prefix}-windowsNavigator
259 Allow keyboard selection of windows and work-spaces in overlay mode in
260 GNOME Shell. Switch to overview mode (press the Win or Alt+F1 key) and
261 press the Alt key to show numbers over windows. Press any number to
262 switch to the corresponding window.
264 %description -n %{ext_prefix}-windowsNavigator -l pl.UTF-8
265 To rozszerzenie pozwala na wybieranie okien i pulpitów w trybie
266 nakładkowym powłoki GNOME z poziomu klawiatury. Przełączenie na tryb
267 podglądu (naciśnięcie klawisza Win lub Alt+F1) i naciśnięcie klawisa
268 Alt wyświetla numery na oknach. Wpisanie liczby przełącza na
271 %package -n %{ext_prefix}-workspace-indicator
272 Summary: Workspace Indicator
273 Summary(pl.UTF-8): Kontrolka pulpitów
274 Group: X11/Applications
275 Requires: %{name}-common = %{version}-%{release}
277 %description -n %{ext_prefix}-workspace-indicator
278 Put an indicator on the panel signaling in which workspace you are,
279 and give you the possibility of switching to another one.
281 %description -n %{ext_prefix}-workspace-indicator -l pl.UTF-8
282 To rozszerzenie umieszcza w panelu kontrolkę sygnalizującą aktualny
283 pulpit i pozwalający na przełączenie na inny.
290 -Dclassic_mode=true \
293 %ninja_build -C build
296 rm -rf $RPM_BUILD_ROOT
298 %ninja_install -C build
303 rm -rf $RPM_BUILD_ROOT
305 %post -n gnome-classic-session
306 %glib_compile_schemas
308 %postun -n gnome-classic-session
309 %glib_compile_schemas
311 %post -n %{ext_prefix}-apps-menu
312 %glib_compile_schemas
314 %postun -n %{ext_prefix}-apps-menu
315 %glib_compile_schemas
317 %post -n %{ext_prefix}-auto-move-windows
318 %glib_compile_schemas
320 %postun -n %{ext_prefix}-auto-move-windows
321 %glib_compile_schemas
323 %post -n %{ext_prefix}-native-window-placement
324 %glib_compile_schemas
326 %postun -n %{ext_prefix}-native-window-placement
327 %glib_compile_schemas
329 %post -n %{ext_prefix}-screenshot-window-sizer
330 %glib_compile_schemas
332 %postun -n %{ext_prefix}-screenshot-window-sizer
333 %glib_compile_schemas
335 %post -n %{ext_prefix}-user-theme
336 %glib_compile_schemas
338 %postun -n %{ext_prefix}-user-theme
339 %glib_compile_schemas
341 %post -n %{ext_prefix}-window-list
342 %glib_compile_schemas
344 %postun -n %{ext_prefix}-window-list
345 %glib_compile_schemas
347 %files common -f %{name}.lang
348 %defattr(644,root,root,755)
350 %dir %{_datadir}/gnome-shell/extensions
352 %files -n gnome-classic-session
353 %defattr(644,root,root,755)
354 %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override
355 %dir %{_datadir}/gnome-shell/modes
356 %{_datadir}/gnome-shell/modes/classic.json
357 %{_datadir}/wayland-sessions/gnome-classic.desktop
358 %{_datadir}/wayland-sessions/gnome-classic-wayland.desktop
359 %{_datadir}/xsessions/gnome-classic.desktop
360 %{_datadir}/xsessions/gnome-classic-xorg.desktop
362 %files -n %{ext_prefix}-apps-menu
363 %defattr(644,root,root,755)
364 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.apps-menu.gschema.xml
365 %{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com
367 %files -n %{ext_prefix}-auto-move-windows
368 %defattr(644,root,root,755)
369 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
370 %{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com
372 %files -n %{ext_prefix}-drive-menu
373 %defattr(644,root,root,755)
374 %{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com
376 %files -n %{ext_prefix}-launch-new-instance
377 %defattr(644,root,root,755)
378 %{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com
380 %files -n %{ext_prefix}-light-style
381 %defattr(644,root,root,755)
382 %{_datadir}/gnome-shell/extensions/light-style@gnome-shell-extensions.gcampax.github.com
384 %files -n %{ext_prefix}-native-window-placement
385 %defattr(644,root,root,755)
386 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
387 %{_datadir}/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com
389 %files -n %{ext_prefix}-places-menu
390 %defattr(644,root,root,755)
391 %{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com
393 %files -n %{ext_prefix}-screenshot-window-sizer
394 %defattr(644,root,root,755)
395 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
396 %{_datadir}/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
398 %files -n %{ext_prefix}-user-theme
399 %defattr(644,root,root,755)
400 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
401 %{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com
403 %files -n %{ext_prefix}-window-list
404 %defattr(644,root,root,755)
405 %{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com
406 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
408 %files -n %{ext_prefix}-windowsNavigator
409 %defattr(644,root,root,755)
410 %{_datadir}/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com
412 %files -n %{ext_prefix}-workspace-indicator
413 %defattr(644,root,root,755)
414 %{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com