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