]> git.pld-linux.org Git - packages/gnome-shell-extensions.git/blame - gnome-shell-extensions.spec
- updated to 46.1; added system-monitor extension
[packages/gnome-shell-extensions.git] / gnome-shell-extensions.spec
CommitLineData
e7c59330 1%define gshell_ver 46.0
902bacda
JR
2
3Summary: Modify and extend GNOME Shell functionality and behavior
097fd3fe 4Summary(pl.UTF-8): Modyfikacje i rozszerzenia funkcjonalności i zachowania powłoki GNOME
902bacda 5Name: gnome-shell-extensions
e7c59330 6Version: 46.1
a1e4294b 7Release: 1
902bacda 8Group: X11/Applications
097fd3fe 9License: GPL v2+
e7c59330
JB
10Source0: https://download.gnome.org/sources/gnome-shell-extensions/46/%{name}-%{version}.tar.xz
11# Source0-md5: acb8af32c832fabf613c08e833dd195b
097fd3fe 12URL: https://wiki.gnome.org/Projects/GnomeShell/Extensions
6bf69209 13BuildRequires: meson >= 0.58.0
097fd3fe 14BuildRequires: ninja >= 1.5
59f7bf9e 15BuildRequires: pkgconfig >= 1:0.22
097fd3fe 16BuildRequires: sassc
7f8d787e 17BuildRequires: rpmbuild(macros) >= 1.736
097fd3fe
JB
18BuildRequires: tar >= 1:1.22
19BuildRequires: xz
6fc2b158 20BuildArch: noarch
902bacda
JR
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
86f5e0d7
MB
23%define ext_prefix gnome-shell-extension
24
902bacda
JR
25%description
26GNOME Shell Extensions is a collection of extensions providing
27additional and optional functionality to GNOME Shell.
28
29Enabled extensions:
097fd3fe
JB
30 - apps-menu
31 - auto-move-windows
32 - drive-menu
097fd3fe 33 - launch-new-instance
2bc081f4 34 - light-style
097fd3fe
JB
35 - native-window-placement
36 - places-menu
37 - screenshot-window-sizer
38 - user-theme
39 - window-list
40 - windowsNavigator
41 - workspace-indicator
42
43%description -l pl.UTF-8
44GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
45opcjonalne funkcje powłoki GNOME.
46
47Dostępne rozszerzenia:
48 - apps-menu
49 - auto-move-windows
50 - drive-menu
097fd3fe 51 - launch-new-instance
2bc081f4 52 - light-style
097fd3fe
JB
53 - native-window-placement
54 - places-menu
55 - screenshot-window-sizer
56 - user-theme
57 - window-list
58 - windowsNavigator
59 - workspace-indicator
902bacda
JR
60
61%package common
62Summary: Files common to GNOME Shell Extensions
097fd3fe 63Summary(pl.UTF-8): Pliki wspólne rozszerzeń powłoki GNOME
902bacda 64Group: X11/Applications
097fd3fe 65Requires: gnome-shell >= %{gshell_ver}
59f7bf9e 66Obsoletes: gnome-shell-extension-alternative-status-menu < 3.10.1
097fd3fe 67Obsoletes: gnome-shell-extension-alternate-tab < 3.32.0
2c661f56 68Obsoletes: gnome-shell-extension-default-min-max < 3.8.3.1
86f5e0d7
MB
69Obsoletes: gnome-shell-extension-dock < 3.8.0
70Obsoletes: gnome-shell-extension-gajim < 3.8.0
6fc2b158 71Obsoletes: gnome-shell-extension-horizontal-workspaces < 40.0
2c661f56 72Obsoletes: gnome-shell-extension-static-workspaces < 3.8.3.1
59f7bf9e 73Obsoletes: gnome-shell-extension-xrandr-indicator < 3.10.1
902bacda 74
86f5e0d7 75%description common
902bacda
JR
76GNOME Shell Extensions is a collection of extensions providing
77additional and optional functionality to GNOME Shell. Common files and
78directories needed by extensions are provided here.
79
097fd3fe
JB
80%description common -l pl.UTF-8
81GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
82opcjonalne funkcje powłoki GNOME. Ten pakiet zawiera wspólne pliki i
83katalogi wymagane przez rozszerzenia.
84
86f5e0d7
MB
85%package -n gnome-classic-session
86Summary: GNOME "classic" mode session
097fd3fe 87Summary(pl.UTF-8): Sesja trybu "klasycznego" GNOME
86f5e0d7 88Group: X11/Applications
2c661f56 89Requires(post,postun): glib2 >= 1:2.26.0
86f5e0d7 90Requires: %{ext_prefix}-apps-menu = %{version}-%{release}
86f5e0d7 91Requires: %{ext_prefix}-launch-new-instance = %{version}-%{release}
2bc081f4 92Requires: %{ext_prefix}-light-style = %{version}-%{release}
86f5e0d7 93Requires: %{ext_prefix}-places-menu = %{version}-%{release}
86f5e0d7 94Requires: %{ext_prefix}-window-list = %{version}-%{release}
c9215cc5 95Requires: gnome-session >= 1:3.14.0
86f5e0d7
MB
96
97%description -n gnome-classic-session
98This package contains the required components for the GNOME Shell
99"classic" mode, which aims to provide a GNOME 2-like user interface.
100
097fd3fe
JB
101%description -n gnome-classic-session -l pl.UTF-8
102Ten pakiet zawiera komponenty wymagane dla trybu "klasycznego" powłoki
103GNOME, mającego na celu udostępnienie interfejsu użytkownika w stylu
104GNOME 2.
902bacda 105
86f5e0d7 106%package -n %{ext_prefix}-apps-menu
902bacda 107Summary: Application menu for GNOME Shell
097fd3fe 108Summary(pl.UTF-8): Menu aplikacji dla powłoki GNOME
902bacda 109Group: X11/Applications
86f5e0d7 110Requires: %{name}-common = %{version}-%{release}
902bacda 111
86f5e0d7 112%description -n %{ext_prefix}-apps-menu
902bacda
JR
113Add a GNOME 2.x style menu for applications.
114
097fd3fe
JB
115%description -n %{ext_prefix}-apps-menu -l pl.UTF-8
116To rozszerzenie dodaje menu w stylu GNOME 2.x dla aplikacji.
117
86f5e0d7 118%package -n %{ext_prefix}-auto-move-windows
902bacda 119Summary: Assign specific workspaces to applications
097fd3fe 120Summary(pl.UTF-8): Przypisywanie konkretnych pulpitów do aplikacji
902bacda 121Group: X11/Applications
86f5e0d7 122Requires: %{name}-common = %{version}-%{release}
902bacda 123
86f5e0d7 124%description -n %{ext_prefix}-auto-move-windows
902bacda
JR
125Lets you manage your workspaces more easily, assigning a specific
126workspace to each application as soon as it creates a window, in a
127manner configurable with a GSettings key.
128
097fd3fe
JB
129%description -n %{ext_prefix}-auto-move-windows -l pl.UTF-8
130To rozszerzenie pozwala łatwiej zarządzać pulpitami, przypisując
131określony pulpit do każdej aplikacji zaraz po utworzeniu okna, w
132sposób konfigurowany kluczem GSettings.
133
86f5e0d7 134%package -n %{ext_prefix}-drive-menu
902bacda 135Summary: Disk device manager in the system status area
097fd3fe 136Summary(pl.UTF-8): Zarządca urządzeń dyskowych w obszarze stanu systemu
902bacda 137Group: X11/Applications
86f5e0d7 138Requires: %{name}-common = %{version}-%{release}
902bacda 139
86f5e0d7 140%description -n %{ext_prefix}-drive-menu
902bacda
JR
141Adds a menu in the system status area that tracks removable disk
142devices attached and offers to browse them and eject/unmount them.
143
097fd3fe
JB
144%description -n %{ext_prefix}-drive-menu -l pl.UTF-8
145To rozszerzenie dodaje w obszarze stanu systemu menu śledzące
146podłączone odłączalne urządzenia dyskowe i pozwalające wysuwać lub
147odmontowywać je.
148
86f5e0d7
MB
149%package -n %{ext_prefix}-launch-new-instance
150Summary: Always launch a new application instance for GNOME Shell
097fd3fe 151Summary(pl.UTF-8): Uruchamianie zawsze nowej instancji aplikacji w powłoce GNOME
902bacda 152Group: X11/Applications
86f5e0d7 153Requires: %{name}-common = %{version}-%{release}
902bacda 154
86f5e0d7
MB
155%description -n %{ext_prefix}-launch-new-instance
156This GNOME Shell extension modifies the behavior of clicking in the
157dash and app launcher to always launch a new application instance.
902bacda 158
097fd3fe
JB
159%description -n %{ext_prefix}-launch-new-instance -l pl.UTF-8
160To rozszerzenie powłoki GNOME modyfikuje zachowanie kliknięcia w
161myślnik oraz uruchamianiu aplikacji, aby zawsze uruchamiało nową
162instancję aplikacji.
163
2bc081f4
JB
164%package -n %{ext_prefix}-light-style
165Summary: Switch default to light style
166Summary(pl.UTF-8): Przełączenie na domyślny styl jasny
167Group: X11/Applications
168Requires: %{name}-common = %{version}-%{release}
169
170%description -n %{ext_prefix}-light-style
171Switch default to light style.
172
173%description -n %{ext_prefix}-light-style -l pl.UTF-8
174Przełączenie na domyślny styl jasny.
175
86f5e0d7 176%package -n %{ext_prefix}-native-window-placement
902bacda 177Summary: Arrange windows in overview in a more native way
097fd3fe 178Summary(pl.UTF-8): Układanie okien w podglądzie w bardziej natywny sposób
902bacda 179Group: X11/Applications
86f5e0d7 180Requires: %{name}-common = %{version}-%{release}
902bacda 181
86f5e0d7 182%description -n %{ext_prefix}-native-window-placement
902bacda
JR
183This extension employs an algorithm (taken from KDE) for layouting the
184thumbnails in the overview that more closely reflects the positions
185and relative sizes of the actual windows, instead of using a fixed
186grid.
187
097fd3fe
JB
188%description -n %{ext_prefix}-native-window-placement -l pl.UTF-8
189To rozszerzenie wprowadza pewnien algorytm (zaczerpnięty z KDE)
190układania miniatur w podglądzie, bliżej odzwierciedlający położenia i
191rozmiary względne właściwych okien, zamiast używania stałej siatki.
192
86f5e0d7 193%package -n %{ext_prefix}-places-menu
902bacda 194Summary: Places menu indicator in the system status area
097fd3fe 195Summary(pl.UTF-8): Menu Miejsca w obszarze stanu systemu
902bacda 196Group: X11/Applications
86f5e0d7 197Requires: %{name}-common = %{version}-%{release}
902bacda 198
86f5e0d7 199%description -n %{ext_prefix}-places-menu
902bacda 200Adds a menu in the system status area that resembles the Places menu
097fd3fe
JB
201from GNOME 2.x.
202
203%description -n %{ext_prefix}-places-menu -l pl.UTF-8
204To rozszerzenie dodaje w obszarze stanu systemu menu, przypominające
205menu Miejsca z GNOME 2.x.
902bacda 206
c9215cc5
MB
207%package -n %{ext_prefix}-screenshot-window-sizer
208Summary: Screenshot window sizer for GNOME Shell
097fd3fe 209Summary(pl.UTF-8): Ustalanie rozmiaru okien w powłoce GNOME przy zrzutach ekranu
c9215cc5
MB
210Group: X11/Applications
211Requires: %{name}-common = %{version}-%{release}
212
213%description -n %{ext_prefix}-screenshot-window-sizer
214This GNOME Shell extension allows to easily resize windows for GNOME
215Software screenshots.
216
097fd3fe
JB
217%description -n %{ext_prefix}-screenshot-window-sizer -l pl.UTF-8
218To rozszerzenie powłoki GNOME pozwala łatwo zmieniać rozmiary okien na
219potrzeby zrzutów ekranu GNOME Software.
220
e7c59330
JB
221%package -n %{ext_prefix}-system-monitor
222Summary: Monitor system from the top bar
223Summary(pl.UTF-8): Monitorowanie systemu z górnej belki
224Group: X11/Applications
225Requires: %{name}-common = %{version}-%{release}
226Obsoletes: gnome-shell-extension-systemMonitor < 3.16.0
227
228%description -n %{ext_prefix}-system-monitor
229GNOME extension to monitor system from the top bar.
230
231%description -n %{ext_prefix}-system-monitor -l pl.UTF-8
232Rozszerzenie GNOME do monitorowania systemu z górnej belki.
233
86f5e0d7 234%package -n %{ext_prefix}-user-theme
097fd3fe
JB
235Summary: Let the user select a custom theme for the shell
236Summary(pl.UTF-8): Wybór własnego motywu powłoki przez użytkownika
902bacda 237Group: X11/Applications
86f5e0d7 238Requires: %{name}-common = %{version}-%{release}
902bacda 239
86f5e0d7 240%description -n %{ext_prefix}-user-theme
902bacda
JR
241Lets the user select a custom theme for the Gnome shell. It will allow
242you to apply a style from
097fd3fe
JB
243<~/.themes/[themeName]/gnome-shell/gnome-shell.css>.
244
245%description -n %{ext_prefix}-user-theme -l pl.UTF-8
246To rozszerzenie pozwala użytkownikowi wybrać własny motyw powłoki
247GNOME. Pozwala zaaplikować styl z pliku
248<~/.themes/[nazwaMotywu]/gnome-shell/gnome-shell.css>.
902bacda 249
86f5e0d7
MB
250%package -n %{ext_prefix}-window-list
251Summary: Display a window list at the bottom of the screen in GNOME Shell
097fd3fe 252Summary(pl.UTF-8): Wyświetlanie listy okien na dole ekranu w powłoce GNOME
86f5e0d7
MB
253Group: X11/Applications
254Requires: %{name}-common = %{version}-%{release}
255
256%description -n %{ext_prefix}-window-list
257This GNOME Shell extension displays a window list at the bottom of the
258screen.
259
097fd3fe
JB
260%description -n %{ext_prefix}-window-list -l pl.UTF-8
261To rozszerzenie powłoki GNOME wyświetla listę okien na dole ekranu.
262
86f5e0d7 263%package -n %{ext_prefix}-windowsNavigator
902bacda 264Summary: Keyboard selection of windows and work-spaces in overlay mode
097fd3fe 265Summary(pl.UTF-8): Wybór okien i pulpitów w trybie nakładkowym z poziomu klawiatury
902bacda 266Group: X11/Applications
86f5e0d7 267Requires: %{name}-common = %{version}-%{release}
902bacda 268
86f5e0d7 269%description -n %{ext_prefix}-windowsNavigator
902bacda 270Allow keyboard selection of windows and work-spaces in overlay mode in
097fd3fe
JB
271GNOME Shell. Switch to overview mode (press the Win or Alt+F1 key) and
272press the Alt key to show numbers over windows. Press any number to
273switch to the corresponding window.
274
275%description -n %{ext_prefix}-windowsNavigator -l pl.UTF-8
276To rozszerzenie pozwala na wybieranie okien i pulpitów w trybie
277nakładkowym powłoki GNOME z poziomu klawiatury. Przełączenie na tryb
278podglądu (naciśnięcie klawisza Win lub Alt+F1) i naciśnięcie klawisa
279Alt wyświetla numery na oknach. Wpisanie liczby przełącza na
280odpowiednie okno.
902bacda 281
86f5e0d7 282%package -n %{ext_prefix}-workspace-indicator
902bacda 283Summary: Workspace Indicator
097fd3fe 284Summary(pl.UTF-8): Kontrolka pulpitów
902bacda 285Group: X11/Applications
86f5e0d7 286Requires: %{name}-common = %{version}-%{release}
902bacda 287
86f5e0d7 288%description -n %{ext_prefix}-workspace-indicator
902bacda
JR
289Put an indicator on the panel signaling in which workspace you are,
290and give you the possibility of switching to another one.
291
097fd3fe
JB
292%description -n %{ext_prefix}-workspace-indicator -l pl.UTF-8
293To rozszerzenie umieszcza w panelu kontrolkę sygnalizującą aktualny
294pulpit i pozwalający na przełączenie na inny.
295
902bacda
JR
296%prep
297%setup -q
86f5e0d7
MB
298
299%build
097fd3fe
JB
300%meson build \
301 -Dclassic_mode=true \
302 -Dextension_set=all
902bacda 303
097fd3fe 304%ninja_build -C build
902bacda
JR
305
306%install
307rm -rf $RPM_BUILD_ROOT
308
097fd3fe 309%ninja_install -C build
902bacda
JR
310
311%find_lang %{name}
312
313%clean
314rm -rf $RPM_BUILD_ROOT
315
2c661f56
MB
316%post -n gnome-classic-session
317%glib_compile_schemas
318
319%postun -n gnome-classic-session
320%glib_compile_schemas
321
910e9da2
JB
322%post -n %{ext_prefix}-apps-menu
323%glib_compile_schemas
324
325%postun -n %{ext_prefix}-apps-menu
326%glib_compile_schemas
327
86f5e0d7 328%post -n %{ext_prefix}-auto-move-windows
902bacda
JR
329%glib_compile_schemas
330
86f5e0d7 331%postun -n %{ext_prefix}-auto-move-windows
902bacda
JR
332%glib_compile_schemas
333
86f5e0d7 334%post -n %{ext_prefix}-native-window-placement
902bacda
JR
335%glib_compile_schemas
336
86f5e0d7 337%postun -n %{ext_prefix}-native-window-placement
902bacda
JR
338%glib_compile_schemas
339
c9215cc5
MB
340%post -n %{ext_prefix}-screenshot-window-sizer
341%glib_compile_schemas
342
343%postun -n %{ext_prefix}-screenshot-window-sizer
344%glib_compile_schemas
345
e7c59330
JB
346%post -n %{ext_prefix}-system-monitor
347%glib_compile_schemas
348
349%postun -n %{ext_prefix}-system-monitor
350%glib_compile_schemas
351
86f5e0d7 352%post -n %{ext_prefix}-user-theme
902bacda
JR
353%glib_compile_schemas
354
86f5e0d7 355%postun -n %{ext_prefix}-user-theme
902bacda
JR
356%glib_compile_schemas
357
86f5e0d7 358%post -n %{ext_prefix}-window-list
902bacda
JR
359%glib_compile_schemas
360
86f5e0d7 361%postun -n %{ext_prefix}-window-list
902bacda
JR
362%glib_compile_schemas
363
364%files common -f %{name}.lang
365%defattr(644,root,root,755)
097fd3fe 366%doc NEWS README.md
902bacda
JR
367%dir %{_datadir}/gnome-shell/extensions
368
86f5e0d7
MB
369%files -n gnome-classic-session
370%defattr(644,root,root,755)
097fd3fe 371%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override
86f5e0d7
MB
372%dir %{_datadir}/gnome-shell/modes
373%{_datadir}/gnome-shell/modes/classic.json
3632908c
JB
374%{_datadir}/wayland-sessions/gnome-classic.desktop
375%{_datadir}/wayland-sessions/gnome-classic-wayland.desktop
86f5e0d7 376%{_datadir}/xsessions/gnome-classic.desktop
3632908c 377%{_datadir}/xsessions/gnome-classic-xorg.desktop
86f5e0d7 378
86f5e0d7 379%files -n %{ext_prefix}-apps-menu
902bacda 380%defattr(644,root,root,755)
910e9da2 381%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.apps-menu.gschema.xml
097fd3fe 382%{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com
902bacda 383
86f5e0d7 384%files -n %{ext_prefix}-auto-move-windows
902bacda
JR
385%defattr(644,root,root,755)
386%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
097fd3fe 387%{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com
902bacda 388
86f5e0d7 389%files -n %{ext_prefix}-drive-menu
902bacda 390%defattr(644,root,root,755)
097fd3fe
JB
391%{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com
392
86f5e0d7 393%files -n %{ext_prefix}-launch-new-instance
902bacda 394%defattr(644,root,root,755)
097fd3fe 395%{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com
902bacda 396
2bc081f4
JB
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
400
86f5e0d7 401%files -n %{ext_prefix}-native-window-placement
902bacda
JR
402%defattr(644,root,root,755)
403%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
097fd3fe 404%{_datadir}/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com
902bacda 405
86f5e0d7 406%files -n %{ext_prefix}-places-menu
902bacda 407%defattr(644,root,root,755)
097fd3fe 408%{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com
902bacda 409
c9215cc5
MB
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
097fd3fe 413%{_datadir}/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
c9215cc5 414
e7c59330
JB
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
419
86f5e0d7 420%files -n %{ext_prefix}-user-theme
902bacda
JR
421%defattr(644,root,root,755)
422%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
097fd3fe 423%{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com
902bacda 424
86f5e0d7
MB
425%files -n %{ext_prefix}-window-list
426%defattr(644,root,root,755)
097fd3fe 427%{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com
86f5e0d7
MB
428%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
429
430%files -n %{ext_prefix}-windowsNavigator
902bacda 431%defattr(644,root,root,755)
097fd3fe 432%{_datadir}/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com
902bacda 433
86f5e0d7 434%files -n %{ext_prefix}-workspace-indicator
902bacda 435%defattr(644,root,root,755)
097fd3fe 436%{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com
This page took 1.655846 seconds and 5 git commands to generate.