1 %define gshell_ver 3.36.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: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.36/%{name}-%{version}.tar.xz
11 # Source0-md5: b7771b4851fc3f16dcada5e16ceb53ab
12 URL: https://wiki.gnome.org/Projects/GnomeShell/Extensions
13 BuildRequires: mozjs68 >= 68
14 BuildRequires: meson >= 0.44.0
15 BuildRequires: ninja >= 1.5
16 BuildRequires: pkgconfig >= 1:0.22
18 BuildRequires: rpmbuild(macros) >= 1.736
19 BuildRequires: tar >= 1:1.22
21 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.
34 - horizontal-workspaces
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:
52 - horizontal-workspaces
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-static-workspaces < 3.8.3.1
73 Obsoletes: gnome-shell-extension-xrandr-indicator < 3.10.1
74 Obsoletes: gnome-shell-extension-systemMonitor < 3.16.0
77 GNOME Shell Extensions is a collection of extensions providing
78 additional and optional functionality to GNOME Shell. Common files and
79 directories needed by extensions are provided here.
81 %description common -l pl.UTF-8
82 GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
83 opcjonalne funkcje powłoki GNOME. Ten pakiet zawiera wspólne pliki i
84 katalogi wymagane przez rozszerzenia.
86 %package -n gnome-classic-session
87 Summary: GNOME "classic" mode session
88 Summary(pl.UTF-8): Sesja trybu "klasycznego" GNOME
89 Group: X11/Applications
90 Requires(post,postun): glib2 >= 1:2.26.0
91 Requires: %{ext_prefix}-apps-menu = %{version}-%{release}
92 Requires: %{ext_prefix}-launch-new-instance = %{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}-horizontal-workspaces
150 Summary: Use a horizontal workspace layout
151 Summary(pl.UTF-8): Użycie poziomego układu pulpitów
152 Group: X11/Applications
153 Requires: %{name}-common = %{version}-%{release}
155 %description -n %{ext_prefix}-horizontal-workspaces
156 This extension allows to use a horizontal workspace layout.
158 %description -n %{ext_prefix}-horizontal-workspaces -l pl.UTF-8
159 To rozszerzenie pozwala na użycie poziomego układu pulpitów.
161 %package -n %{ext_prefix}-launch-new-instance
162 Summary: Always launch a new application instance for GNOME Shell
163 Summary(pl.UTF-8): Uruchamianie zawsze nowej instancji aplikacji w powłoce GNOME
164 Group: X11/Applications
165 Requires: %{name}-common = %{version}-%{release}
167 %description -n %{ext_prefix}-launch-new-instance
168 This GNOME Shell extension modifies the behavior of clicking in the
169 dash and app launcher to always launch a new application instance.
171 %description -n %{ext_prefix}-launch-new-instance -l pl.UTF-8
172 To rozszerzenie powłoki GNOME modyfikuje zachowanie kliknięcia w
173 myślnik oraz uruchamianiu aplikacji, aby zawsze uruchamiało nową
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}-user-theme
222 Summary: Let the user select a custom theme for the shell
223 Summary(pl.UTF-8): Wybór własnego motywu powłoki przez użytkownika
224 Group: X11/Applications
225 Requires: %{name}-common = %{version}-%{release}
227 %description -n %{ext_prefix}-user-theme
228 Lets the user select a custom theme for the Gnome shell. It will allow
229 you to apply a style from
230 <~/.themes/[themeName]/gnome-shell/gnome-shell.css>.
232 %description -n %{ext_prefix}-user-theme -l pl.UTF-8
233 To rozszerzenie pozwala użytkownikowi wybrać własny motyw powłoki
234 GNOME. Pozwala zaaplikować styl z pliku
235 <~/.themes/[nazwaMotywu]/gnome-shell/gnome-shell.css>.
237 %package -n %{ext_prefix}-window-list
238 Summary: Display a window list at the bottom of the screen in GNOME Shell
239 Summary(pl.UTF-8): Wyświetlanie listy okien na dole ekranu w powłoce GNOME
240 Group: X11/Applications
241 Requires: %{name}-common = %{version}-%{release}
243 %description -n %{ext_prefix}-window-list
244 This GNOME Shell extension displays a window list at the bottom of the
247 %description -n %{ext_prefix}-window-list -l pl.UTF-8
248 To rozszerzenie powłoki GNOME wyświetla listę okien na dole ekranu.
250 %package -n %{ext_prefix}-windowsNavigator
251 Summary: Keyboard selection of windows and work-spaces in overlay mode
252 Summary(pl.UTF-8): Wybór okien i pulpitów w trybie nakładkowym z poziomu klawiatury
253 Group: X11/Applications
254 Requires: %{name}-common = %{version}-%{release}
256 %description -n %{ext_prefix}-windowsNavigator
257 Allow keyboard selection of windows and work-spaces in overlay mode in
258 GNOME Shell. Switch to overview mode (press the Win or Alt+F1 key) and
259 press the Alt key to show numbers over windows. Press any number to
260 switch to the corresponding window.
262 %description -n %{ext_prefix}-windowsNavigator -l pl.UTF-8
263 To rozszerzenie pozwala na wybieranie okien i pulpitów w trybie
264 nakładkowym powłoki GNOME z poziomu klawiatury. Przełączenie na tryb
265 podglądu (naciśnięcie klawisza Win lub Alt+F1) i naciśnięcie klawisa
266 Alt wyświetla numery na oknach. Wpisanie liczby przełącza na
269 %package -n %{ext_prefix}-workspace-indicator
270 Summary: Workspace Indicator
271 Summary(pl.UTF-8): Kontrolka pulpitów
272 Group: X11/Applications
273 Requires: %{name}-common = %{version}-%{release}
275 %description -n %{ext_prefix}-workspace-indicator
276 Put an indicator on the panel signaling in which workspace you are,
277 and give you the possibility of switching to another one.
279 %description -n %{ext_prefix}-workspace-indicator -l pl.UTF-8
280 To rozszerzenie umieszcza w panelu kontrolkę sygnalizującą aktualny
281 pulpit i pozwalający na przełączenie na inny.
288 -Dclassic_mode=true \
291 %ninja_build -C build
294 rm -rf $RPM_BUILD_ROOT
296 %ninja_install -C build
298 # Drop useless example extension
299 #%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example*
300 #%{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml
305 rm -rf $RPM_BUILD_ROOT
307 %post -n gnome-classic-session
308 %glib_compile_schemas
310 %postun -n gnome-classic-session
311 %glib_compile_schemas
313 %post -n %{ext_prefix}-auto-move-windows
314 %glib_compile_schemas
316 %postun -n %{ext_prefix}-auto-move-windows
317 %glib_compile_schemas
319 %post -n %{ext_prefix}-native-window-placement
320 %glib_compile_schemas
322 %postun -n %{ext_prefix}-native-window-placement
323 %glib_compile_schemas
325 %post -n %{ext_prefix}-screenshot-window-sizer
326 %glib_compile_schemas
328 %postun -n %{ext_prefix}-screenshot-window-sizer
329 %glib_compile_schemas
331 %post -n %{ext_prefix}-user-theme
332 %glib_compile_schemas
334 %postun -n %{ext_prefix}-user-theme
335 %glib_compile_schemas
337 %post -n %{ext_prefix}-window-list
338 %glib_compile_schemas
340 %postun -n %{ext_prefix}-window-list
341 %glib_compile_schemas
343 %files common -f %{name}.lang
344 %defattr(644,root,root,755)
346 %dir %{_datadir}/gnome-shell/extensions
348 %files -n gnome-classic-session
349 %defattr(644,root,root,755)
350 %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override
351 %{_datadir}/gnome-session/sessions/gnome-classic.session
352 %dir %{_datadir}/gnome-shell/modes
353 %{_datadir}/gnome-shell/modes/classic.json
354 %dir %{_datadir}/gnome-shell/theme
355 %{_datadir}/gnome-shell/theme/calendar-today.svg
356 %{_datadir}/gnome-shell/theme/classic-*.svg
357 %{_datadir}/gnome-shell/theme/gnome-classic.css
358 %{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css
359 %{_datadir}/xsessions/gnome-classic.desktop
361 %files -n %{ext_prefix}-apps-menu
362 %defattr(644,root,root,755)
363 %{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com
365 %files -n %{ext_prefix}-auto-move-windows
366 %defattr(644,root,root,755)
367 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
368 %{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com
370 %files -n %{ext_prefix}-drive-menu
371 %defattr(644,root,root,755)
372 %{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com
374 %files -n %{ext_prefix}-horizontal-workspaces
375 %defattr(644,root,root,755)
376 %{_datadir}/gnome-shell/extensions/horizontal-workspaces@gnome-shell-extensions.gcampax.github.com
378 %files -n %{ext_prefix}-launch-new-instance
379 %defattr(644,root,root,755)
380 %{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com
382 %files -n %{ext_prefix}-native-window-placement
383 %defattr(644,root,root,755)
384 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
385 %{_datadir}/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com
387 %files -n %{ext_prefix}-places-menu
388 %defattr(644,root,root,755)
389 %{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com
391 %files -n %{ext_prefix}-screenshot-window-sizer
392 %defattr(644,root,root,755)
393 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
394 %{_datadir}/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
396 %files -n %{ext_prefix}-user-theme
397 %defattr(644,root,root,755)
398 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
399 %{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com
401 %files -n %{ext_prefix}-window-list
402 %defattr(644,root,root,755)
403 %{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com
404 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
406 %files -n %{ext_prefix}-windowsNavigator
407 %defattr(644,root,root,755)
408 %{_datadir}/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com
410 %files -n %{ext_prefix}-workspace-indicator
411 %defattr(644,root,root,755)
412 %{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com