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