]> git.pld-linux.org Git - packages/gnome-shell-extensions.git/blame - gnome-shell-extensions.spec
- updated to 3.36.3
[packages/gnome-shell-extensions.git] / gnome-shell-extensions.spec
CommitLineData
7f8d787e 1%define gshell_ver 3.36.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
39d2b753 6Version: 3.36.3
a1e4294b 7Release: 1
902bacda 8Group: X11/Applications
097fd3fe 9License: GPL v2+
7f8d787e 10Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.36/%{name}-%{version}.tar.xz
39d2b753 11# Source0-md5: b7771b4851fc3f16dcada5e16ceb53ab
097fd3fe 12URL: https://wiki.gnome.org/Projects/GnomeShell/Extensions
7f8d787e 13BuildRequires: mozjs68 >= 68
097fd3fe
JB
14BuildRequires: meson >= 0.44.0
15BuildRequires: ninja >= 1.5
59f7bf9e 16BuildRequires: pkgconfig >= 1:0.22
097fd3fe 17BuildRequires: sassc
7f8d787e 18BuildRequires: rpmbuild(macros) >= 1.736
097fd3fe
JB
19BuildRequires: tar >= 1:1.22
20BuildRequires: xz
21Requires: gnome-shell >= %{gshell_ver}
902bacda
JR
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
86f5e0d7
MB
24%define ext_prefix gnome-shell-extension
25
902bacda
JR
26%description
27GNOME Shell Extensions is a collection of extensions providing
28additional and optional functionality to GNOME Shell.
29
30Enabled extensions:
097fd3fe
JB
31 - apps-menu
32 - auto-move-windows
33 - drive-menu
34 - horizontal-workspaces
35 - launch-new-instance
36 - native-window-placement
37 - places-menu
38 - screenshot-window-sizer
39 - user-theme
40 - window-list
41 - windowsNavigator
42 - workspace-indicator
43
44%description -l pl.UTF-8
45GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
46opcjonalne funkcje powłoki GNOME.
47
48Dostępne rozszerzenia:
49 - apps-menu
50 - auto-move-windows
51 - drive-menu
52 - horizontal-workspaces
53 - launch-new-instance
54 - native-window-placement
55 - places-menu
56 - screenshot-window-sizer
57 - user-theme
58 - window-list
59 - windowsNavigator
60 - workspace-indicator
902bacda
JR
61
62%package common
63Summary: Files common to GNOME Shell Extensions
097fd3fe 64Summary(pl.UTF-8): Pliki wspólne rozszerzeń powłoki GNOME
902bacda 65Group: X11/Applications
097fd3fe 66Requires: gnome-shell >= %{gshell_ver}
59f7bf9e 67Obsoletes: gnome-shell-extension-alternative-status-menu < 3.10.1
097fd3fe 68Obsoletes: gnome-shell-extension-alternate-tab < 3.32.0
2c661f56 69Obsoletes: gnome-shell-extension-default-min-max < 3.8.3.1
86f5e0d7
MB
70Obsoletes: gnome-shell-extension-dock < 3.8.0
71Obsoletes: gnome-shell-extension-gajim < 3.8.0
2c661f56 72Obsoletes: gnome-shell-extension-static-workspaces < 3.8.3.1
59f7bf9e 73Obsoletes: gnome-shell-extension-xrandr-indicator < 3.10.1
d966c06e 74Obsoletes: gnome-shell-extension-systemMonitor < 3.16.0
902bacda 75
86f5e0d7 76%description common
902bacda
JR
77GNOME Shell Extensions is a collection of extensions providing
78additional and optional functionality to GNOME Shell. Common files and
79directories needed by extensions are provided here.
80
097fd3fe
JB
81%description common -l pl.UTF-8
82GNOME Shell Extensions to zbiór rozszerzeń zapewniających dodatkowe i
83opcjonalne funkcje powłoki GNOME. Ten pakiet zawiera wspólne pliki i
84katalogi wymagane przez rozszerzenia.
85
86f5e0d7
MB
86%package -n gnome-classic-session
87Summary: GNOME "classic" mode session
097fd3fe 88Summary(pl.UTF-8): Sesja trybu "klasycznego" GNOME
86f5e0d7 89Group: X11/Applications
2c661f56 90Requires(post,postun): glib2 >= 1:2.26.0
86f5e0d7 91Requires: %{ext_prefix}-apps-menu = %{version}-%{release}
86f5e0d7
MB
92Requires: %{ext_prefix}-launch-new-instance = %{version}-%{release}
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
149%package -n %{ext_prefix}-horizontal-workspaces
150Summary: Use a horizontal workspace layout
151Summary(pl.UTF-8): Użycie poziomego układu pulpitów
152Group: X11/Applications
153Requires: %{name}-common = %{version}-%{release}
154
155%description -n %{ext_prefix}-horizontal-workspaces
156This extension allows to use a horizontal workspace layout.
157
158%description -n %{ext_prefix}-horizontal-workspaces -l pl.UTF-8
159To rozszerzenie pozwala na użycie poziomego układu pulpitów.
160
86f5e0d7
MB
161%package -n %{ext_prefix}-launch-new-instance
162Summary: Always launch a new application instance for GNOME Shell
097fd3fe 163Summary(pl.UTF-8): Uruchamianie zawsze nowej instancji aplikacji w powłoce GNOME
902bacda 164Group: X11/Applications
86f5e0d7 165Requires: %{name}-common = %{version}-%{release}
902bacda 166
86f5e0d7
MB
167%description -n %{ext_prefix}-launch-new-instance
168This GNOME Shell extension modifies the behavior of clicking in the
169dash and app launcher to always launch a new application instance.
902bacda 170
097fd3fe
JB
171%description -n %{ext_prefix}-launch-new-instance -l pl.UTF-8
172To rozszerzenie powłoki GNOME modyfikuje zachowanie kliknięcia w
173myślnik oraz uruchamianiu aplikacji, aby zawsze uruchamiało nową
174instancję aplikacji.
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
86f5e0d7 221%package -n %{ext_prefix}-user-theme
097fd3fe
JB
222Summary: Let the user select a custom theme for the shell
223Summary(pl.UTF-8): Wybór własnego motywu powłoki przez użytkownika
902bacda 224Group: X11/Applications
86f5e0d7 225Requires: %{name}-common = %{version}-%{release}
902bacda 226
86f5e0d7 227%description -n %{ext_prefix}-user-theme
902bacda
JR
228Lets the user select a custom theme for the Gnome shell. It will allow
229you to apply a style from
097fd3fe
JB
230<~/.themes/[themeName]/gnome-shell/gnome-shell.css>.
231
232%description -n %{ext_prefix}-user-theme -l pl.UTF-8
233To rozszerzenie pozwala użytkownikowi wybrać własny motyw powłoki
234GNOME. Pozwala zaaplikować styl z pliku
235<~/.themes/[nazwaMotywu]/gnome-shell/gnome-shell.css>.
902bacda 236
86f5e0d7
MB
237%package -n %{ext_prefix}-window-list
238Summary: Display a window list at the bottom of the screen in GNOME Shell
097fd3fe 239Summary(pl.UTF-8): Wyświetlanie listy okien na dole ekranu w powłoce GNOME
86f5e0d7
MB
240Group: X11/Applications
241Requires: %{name}-common = %{version}-%{release}
242
243%description -n %{ext_prefix}-window-list
244This GNOME Shell extension displays a window list at the bottom of the
245screen.
246
097fd3fe
JB
247%description -n %{ext_prefix}-window-list -l pl.UTF-8
248To rozszerzenie powłoki GNOME wyświetla listę okien na dole ekranu.
249
86f5e0d7 250%package -n %{ext_prefix}-windowsNavigator
902bacda 251Summary: Keyboard selection of windows and work-spaces in overlay mode
097fd3fe 252Summary(pl.UTF-8): Wybór okien i pulpitów w trybie nakładkowym z poziomu klawiatury
902bacda 253Group: X11/Applications
86f5e0d7 254Requires: %{name}-common = %{version}-%{release}
902bacda 255
86f5e0d7 256%description -n %{ext_prefix}-windowsNavigator
902bacda 257Allow keyboard selection of windows and work-spaces in overlay mode in
097fd3fe
JB
258GNOME Shell. Switch to overview mode (press the Win or Alt+F1 key) and
259press the Alt key to show numbers over windows. Press any number to
260switch to the corresponding window.
261
262%description -n %{ext_prefix}-windowsNavigator -l pl.UTF-8
263To rozszerzenie pozwala na wybieranie okien i pulpitów w trybie
264nakładkowym powłoki GNOME z poziomu klawiatury. Przełączenie na tryb
265podglądu (naciśnięcie klawisza Win lub Alt+F1) i naciśnięcie klawisa
266Alt wyświetla numery na oknach. Wpisanie liczby przełącza na
267odpowiednie okno.
902bacda 268
86f5e0d7 269%package -n %{ext_prefix}-workspace-indicator
902bacda 270Summary: Workspace Indicator
097fd3fe 271Summary(pl.UTF-8): Kontrolka pulpitów
902bacda 272Group: X11/Applications
86f5e0d7 273Requires: %{name}-common = %{version}-%{release}
902bacda 274
86f5e0d7 275%description -n %{ext_prefix}-workspace-indicator
902bacda
JR
276Put an indicator on the panel signaling in which workspace you are,
277and give you the possibility of switching to another one.
278
097fd3fe
JB
279%description -n %{ext_prefix}-workspace-indicator -l pl.UTF-8
280To rozszerzenie umieszcza w panelu kontrolkę sygnalizującą aktualny
281pulpit i pozwalający na przełączenie na inny.
282
902bacda
JR
283%prep
284%setup -q
86f5e0d7
MB
285
286%build
097fd3fe
JB
287%meson build \
288 -Dclassic_mode=true \
289 -Dextension_set=all
902bacda 290
097fd3fe 291%ninja_build -C build
902bacda
JR
292
293%install
294rm -rf $RPM_BUILD_ROOT
295
097fd3fe 296%ninja_install -C build
902bacda 297
86f5e0d7 298# Drop useless example extension
097fd3fe
JB
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
86f5e0d7 301
902bacda
JR
302%find_lang %{name}
303
304%clean
305rm -rf $RPM_BUILD_ROOT
306
2c661f56
MB
307%post -n gnome-classic-session
308%glib_compile_schemas
309
310%postun -n gnome-classic-session
311%glib_compile_schemas
312
86f5e0d7 313%post -n %{ext_prefix}-auto-move-windows
902bacda
JR
314%glib_compile_schemas
315
86f5e0d7 316%postun -n %{ext_prefix}-auto-move-windows
902bacda
JR
317%glib_compile_schemas
318
86f5e0d7 319%post -n %{ext_prefix}-native-window-placement
902bacda
JR
320%glib_compile_schemas
321
86f5e0d7 322%postun -n %{ext_prefix}-native-window-placement
902bacda
JR
323%glib_compile_schemas
324
c9215cc5
MB
325%post -n %{ext_prefix}-screenshot-window-sizer
326%glib_compile_schemas
327
328%postun -n %{ext_prefix}-screenshot-window-sizer
329%glib_compile_schemas
330
86f5e0d7 331%post -n %{ext_prefix}-user-theme
902bacda
JR
332%glib_compile_schemas
333
86f5e0d7 334%postun -n %{ext_prefix}-user-theme
902bacda
JR
335%glib_compile_schemas
336
86f5e0d7 337%post -n %{ext_prefix}-window-list
902bacda
JR
338%glib_compile_schemas
339
86f5e0d7 340%postun -n %{ext_prefix}-window-list
902bacda
JR
341%glib_compile_schemas
342
343%files common -f %{name}.lang
344%defattr(644,root,root,755)
097fd3fe 345%doc NEWS README.md
902bacda
JR
346%dir %{_datadir}/gnome-shell/extensions
347
86f5e0d7
MB
348%files -n gnome-classic-session
349%defattr(644,root,root,755)
097fd3fe 350%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override
86f5e0d7
MB
351%{_datadir}/gnome-session/sessions/gnome-classic.session
352%dir %{_datadir}/gnome-shell/modes
353%{_datadir}/gnome-shell/modes/classic.json
56964769 354%dir %{_datadir}/gnome-shell/theme
097fd3fe
JB
355%{_datadir}/gnome-shell/theme/calendar-today.svg
356%{_datadir}/gnome-shell/theme/classic-*.svg
86f5e0d7 357%{_datadir}/gnome-shell/theme/gnome-classic.css
d966c06e 358%{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css
86f5e0d7
MB
359%{_datadir}/xsessions/gnome-classic.desktop
360
86f5e0d7 361%files -n %{ext_prefix}-apps-menu
902bacda 362%defattr(644,root,root,755)
097fd3fe 363%{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com
902bacda 364
86f5e0d7 365%files -n %{ext_prefix}-auto-move-windows
902bacda
JR
366%defattr(644,root,root,755)
367%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
097fd3fe 368%{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com
902bacda 369
86f5e0d7 370%files -n %{ext_prefix}-drive-menu
902bacda 371%defattr(644,root,root,755)
097fd3fe
JB
372%{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com
373
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
902bacda 377
86f5e0d7 378%files -n %{ext_prefix}-launch-new-instance
902bacda 379%defattr(644,root,root,755)
097fd3fe 380%{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com
902bacda 381
86f5e0d7 382%files -n %{ext_prefix}-native-window-placement
902bacda
JR
383%defattr(644,root,root,755)
384%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
097fd3fe 385%{_datadir}/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com
902bacda 386
86f5e0d7 387%files -n %{ext_prefix}-places-menu
902bacda 388%defattr(644,root,root,755)
097fd3fe 389%{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com
902bacda 390
c9215cc5
MB
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
097fd3fe 394%{_datadir}/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
c9215cc5 395
86f5e0d7 396%files -n %{ext_prefix}-user-theme
902bacda
JR
397%defattr(644,root,root,755)
398%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
097fd3fe 399%{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com
902bacda 400
86f5e0d7
MB
401%files -n %{ext_prefix}-window-list
402%defattr(644,root,root,755)
097fd3fe 403%{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com
86f5e0d7
MB
404%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
405
406%files -n %{ext_prefix}-windowsNavigator
902bacda 407%defattr(644,root,root,755)
097fd3fe 408%{_datadir}/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com
902bacda 409
86f5e0d7 410%files -n %{ext_prefix}-workspace-indicator
902bacda 411%defattr(644,root,root,755)
097fd3fe 412%{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com
This page took 0.938203 seconds and 4 git commands to generate.