]> git.pld-linux.org Git - packages/gnome-shell-extensions.git/blame - gnome-shell-extensions.spec
- updated to 40.4
[packages/gnome-shell-extensions.git] / gnome-shell-extensions.spec
CommitLineData
e4efee35 1%define gshell_ver 40.4
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
e4efee35 6Version: 40.4
a1e4294b 7Release: 1
902bacda 8Group: X11/Applications
097fd3fe 9License: GPL v2+
6fc2b158 10Source0: https://download.gnome.org/sources/gnome-shell-extensions/40/%{name}-%{version}.tar.xz
e4efee35 11# Source0-md5: 25a9bd6a27a0fb34f31e256e842058ca
097fd3fe 12URL: https://wiki.gnome.org/Projects/GnomeShell/Extensions
097fd3fe
JB
13BuildRequires: meson >= 0.44.0
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
JB
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
097fd3fe
JB
51 - launch-new-instance
52 - native-window-placement
53 - places-menu
54 - screenshot-window-sizer
55 - user-theme
56 - window-list
57 - windowsNavigator
58 - workspace-indicator
902bacda
JR
59
60%package common
61Summary: Files common to GNOME Shell Extensions
097fd3fe 62Summary(pl.UTF-8): Pliki wspólne rozszerzeń powłoki GNOME
902bacda 63Group: X11/Applications
097fd3fe 64Requires: gnome-shell >= %{gshell_ver}
59f7bf9e 65Obsoletes: gnome-shell-extension-alternative-status-menu < 3.10.1
097fd3fe 66Obsoletes: gnome-shell-extension-alternate-tab < 3.32.0
2c661f56 67Obsoletes: gnome-shell-extension-default-min-max < 3.8.3.1
86f5e0d7
MB
68Obsoletes: gnome-shell-extension-dock < 3.8.0
69Obsoletes: gnome-shell-extension-gajim < 3.8.0
6fc2b158 70Obsoletes: gnome-shell-extension-horizontal-workspaces < 40.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
86f5e0d7
MB
148%package -n %{ext_prefix}-launch-new-instance
149Summary: Always launch a new application instance for GNOME Shell
097fd3fe 150Summary(pl.UTF-8): Uruchamianie zawsze nowej instancji aplikacji w powłoce GNOME
902bacda 151Group: X11/Applications
86f5e0d7 152Requires: %{name}-common = %{version}-%{release}
902bacda 153
86f5e0d7
MB
154%description -n %{ext_prefix}-launch-new-instance
155This GNOME Shell extension modifies the behavior of clicking in the
156dash and app launcher to always launch a new application instance.
902bacda 157
097fd3fe
JB
158%description -n %{ext_prefix}-launch-new-instance -l pl.UTF-8
159To rozszerzenie powłoki GNOME modyfikuje zachowanie kliknięcia w
160myślnik oraz uruchamianiu aplikacji, aby zawsze uruchamiało nową
161instancję aplikacji.
162
86f5e0d7 163%package -n %{ext_prefix}-native-window-placement
902bacda 164Summary: Arrange windows in overview in a more native way
097fd3fe 165Summary(pl.UTF-8): Układanie okien w podglądzie w bardziej natywny sposób
902bacda 166Group: X11/Applications
86f5e0d7 167Requires: %{name}-common = %{version}-%{release}
902bacda 168
86f5e0d7 169%description -n %{ext_prefix}-native-window-placement
902bacda
JR
170This extension employs an algorithm (taken from KDE) for layouting the
171thumbnails in the overview that more closely reflects the positions
172and relative sizes of the actual windows, instead of using a fixed
173grid.
174
097fd3fe
JB
175%description -n %{ext_prefix}-native-window-placement -l pl.UTF-8
176To rozszerzenie wprowadza pewnien algorytm (zaczerpnięty z KDE)
177układania miniatur w podglądzie, bliżej odzwierciedlający położenia i
178rozmiary względne właściwych okien, zamiast używania stałej siatki.
179
86f5e0d7 180%package -n %{ext_prefix}-places-menu
902bacda 181Summary: Places menu indicator in the system status area
097fd3fe 182Summary(pl.UTF-8): Menu Miejsca w obszarze stanu systemu
902bacda 183Group: X11/Applications
86f5e0d7 184Requires: %{name}-common = %{version}-%{release}
902bacda 185
86f5e0d7 186%description -n %{ext_prefix}-places-menu
902bacda 187Adds a menu in the system status area that resembles the Places menu
097fd3fe
JB
188from GNOME 2.x.
189
190%description -n %{ext_prefix}-places-menu -l pl.UTF-8
191To rozszerzenie dodaje w obszarze stanu systemu menu, przypominające
192menu Miejsca z GNOME 2.x.
902bacda 193
c9215cc5
MB
194%package -n %{ext_prefix}-screenshot-window-sizer
195Summary: Screenshot window sizer for GNOME Shell
097fd3fe 196Summary(pl.UTF-8): Ustalanie rozmiaru okien w powłoce GNOME przy zrzutach ekranu
c9215cc5
MB
197Group: X11/Applications
198Requires: %{name}-common = %{version}-%{release}
199
200%description -n %{ext_prefix}-screenshot-window-sizer
201This GNOME Shell extension allows to easily resize windows for GNOME
202Software screenshots.
203
097fd3fe
JB
204%description -n %{ext_prefix}-screenshot-window-sizer -l pl.UTF-8
205To rozszerzenie powłoki GNOME pozwala łatwo zmieniać rozmiary okien na
206potrzeby zrzutów ekranu GNOME Software.
207
86f5e0d7 208%package -n %{ext_prefix}-user-theme
097fd3fe
JB
209Summary: Let the user select a custom theme for the shell
210Summary(pl.UTF-8): Wybór własnego motywu powłoki przez użytkownika
902bacda 211Group: X11/Applications
86f5e0d7 212Requires: %{name}-common = %{version}-%{release}
902bacda 213
86f5e0d7 214%description -n %{ext_prefix}-user-theme
902bacda
JR
215Lets the user select a custom theme for the Gnome shell. It will allow
216you to apply a style from
097fd3fe
JB
217<~/.themes/[themeName]/gnome-shell/gnome-shell.css>.
218
219%description -n %{ext_prefix}-user-theme -l pl.UTF-8
220To rozszerzenie pozwala użytkownikowi wybrać własny motyw powłoki
221GNOME. Pozwala zaaplikować styl z pliku
222<~/.themes/[nazwaMotywu]/gnome-shell/gnome-shell.css>.
902bacda 223
86f5e0d7
MB
224%package -n %{ext_prefix}-window-list
225Summary: Display a window list at the bottom of the screen in GNOME Shell
097fd3fe 226Summary(pl.UTF-8): Wyświetlanie listy okien na dole ekranu w powłoce GNOME
86f5e0d7
MB
227Group: X11/Applications
228Requires: %{name}-common = %{version}-%{release}
229
230%description -n %{ext_prefix}-window-list
231This GNOME Shell extension displays a window list at the bottom of the
232screen.
233
097fd3fe
JB
234%description -n %{ext_prefix}-window-list -l pl.UTF-8
235To rozszerzenie powłoki GNOME wyświetla listę okien na dole ekranu.
236
86f5e0d7 237%package -n %{ext_prefix}-windowsNavigator
902bacda 238Summary: Keyboard selection of windows and work-spaces in overlay mode
097fd3fe 239Summary(pl.UTF-8): Wybór okien i pulpitów w trybie nakładkowym z poziomu klawiatury
902bacda 240Group: X11/Applications
86f5e0d7 241Requires: %{name}-common = %{version}-%{release}
902bacda 242
86f5e0d7 243%description -n %{ext_prefix}-windowsNavigator
902bacda 244Allow keyboard selection of windows and work-spaces in overlay mode in
097fd3fe
JB
245GNOME Shell. Switch to overview mode (press the Win or Alt+F1 key) and
246press the Alt key to show numbers over windows. Press any number to
247switch to the corresponding window.
248
249%description -n %{ext_prefix}-windowsNavigator -l pl.UTF-8
250To rozszerzenie pozwala na wybieranie okien i pulpitów w trybie
251nakładkowym powłoki GNOME z poziomu klawiatury. Przełączenie na tryb
252podglądu (naciśnięcie klawisza Win lub Alt+F1) i naciśnięcie klawisa
253Alt wyświetla numery na oknach. Wpisanie liczby przełącza na
254odpowiednie okno.
902bacda 255
86f5e0d7 256%package -n %{ext_prefix}-workspace-indicator
902bacda 257Summary: Workspace Indicator
097fd3fe 258Summary(pl.UTF-8): Kontrolka pulpitów
902bacda 259Group: X11/Applications
86f5e0d7 260Requires: %{name}-common = %{version}-%{release}
902bacda 261
86f5e0d7 262%description -n %{ext_prefix}-workspace-indicator
902bacda
JR
263Put an indicator on the panel signaling in which workspace you are,
264and give you the possibility of switching to another one.
265
097fd3fe
JB
266%description -n %{ext_prefix}-workspace-indicator -l pl.UTF-8
267To rozszerzenie umieszcza w panelu kontrolkę sygnalizującą aktualny
268pulpit i pozwalający na przełączenie na inny.
269
902bacda
JR
270%prep
271%setup -q
86f5e0d7
MB
272
273%build
097fd3fe
JB
274%meson build \
275 -Dclassic_mode=true \
276 -Dextension_set=all
902bacda 277
097fd3fe 278%ninja_build -C build
902bacda
JR
279
280%install
281rm -rf $RPM_BUILD_ROOT
282
097fd3fe 283%ninja_install -C build
902bacda 284
86f5e0d7 285# Drop useless example extension
097fd3fe
JB
286#%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example*
287#%{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml
86f5e0d7 288
902bacda
JR
289%find_lang %{name}
290
291%clean
292rm -rf $RPM_BUILD_ROOT
293
2c661f56
MB
294%post -n gnome-classic-session
295%glib_compile_schemas
296
297%postun -n gnome-classic-session
298%glib_compile_schemas
299
86f5e0d7 300%post -n %{ext_prefix}-auto-move-windows
902bacda
JR
301%glib_compile_schemas
302
86f5e0d7 303%postun -n %{ext_prefix}-auto-move-windows
902bacda
JR
304%glib_compile_schemas
305
86f5e0d7 306%post -n %{ext_prefix}-native-window-placement
902bacda
JR
307%glib_compile_schemas
308
86f5e0d7 309%postun -n %{ext_prefix}-native-window-placement
902bacda
JR
310%glib_compile_schemas
311
c9215cc5
MB
312%post -n %{ext_prefix}-screenshot-window-sizer
313%glib_compile_schemas
314
315%postun -n %{ext_prefix}-screenshot-window-sizer
316%glib_compile_schemas
317
86f5e0d7 318%post -n %{ext_prefix}-user-theme
902bacda
JR
319%glib_compile_schemas
320
86f5e0d7 321%postun -n %{ext_prefix}-user-theme
902bacda
JR
322%glib_compile_schemas
323
86f5e0d7 324%post -n %{ext_prefix}-window-list
902bacda
JR
325%glib_compile_schemas
326
86f5e0d7 327%postun -n %{ext_prefix}-window-list
902bacda
JR
328%glib_compile_schemas
329
330%files common -f %{name}.lang
331%defattr(644,root,root,755)
097fd3fe 332%doc NEWS README.md
902bacda
JR
333%dir %{_datadir}/gnome-shell/extensions
334
86f5e0d7
MB
335%files -n gnome-classic-session
336%defattr(644,root,root,755)
097fd3fe 337%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override
86f5e0d7
MB
338%dir %{_datadir}/gnome-shell/modes
339%{_datadir}/gnome-shell/modes/classic.json
56964769 340%dir %{_datadir}/gnome-shell/theme
097fd3fe
JB
341%{_datadir}/gnome-shell/theme/calendar-today.svg
342%{_datadir}/gnome-shell/theme/classic-*.svg
86f5e0d7 343%{_datadir}/gnome-shell/theme/gnome-classic.css
d966c06e 344%{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css
86f5e0d7
MB
345%{_datadir}/xsessions/gnome-classic.desktop
346
86f5e0d7 347%files -n %{ext_prefix}-apps-menu
902bacda 348%defattr(644,root,root,755)
097fd3fe 349%{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com
902bacda 350
86f5e0d7 351%files -n %{ext_prefix}-auto-move-windows
902bacda
JR
352%defattr(644,root,root,755)
353%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
097fd3fe 354%{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com
902bacda 355
86f5e0d7 356%files -n %{ext_prefix}-drive-menu
902bacda 357%defattr(644,root,root,755)
097fd3fe
JB
358%{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com
359
86f5e0d7 360%files -n %{ext_prefix}-launch-new-instance
902bacda 361%defattr(644,root,root,755)
097fd3fe 362%{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com
902bacda 363
86f5e0d7 364%files -n %{ext_prefix}-native-window-placement
902bacda
JR
365%defattr(644,root,root,755)
366%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
097fd3fe 367%{_datadir}/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com
902bacda 368
86f5e0d7 369%files -n %{ext_prefix}-places-menu
902bacda 370%defattr(644,root,root,755)
097fd3fe 371%{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com
902bacda 372
c9215cc5
MB
373%files -n %{ext_prefix}-screenshot-window-sizer
374%defattr(644,root,root,755)
375%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
097fd3fe 376%{_datadir}/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
c9215cc5 377
86f5e0d7 378%files -n %{ext_prefix}-user-theme
902bacda
JR
379%defattr(644,root,root,755)
380%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
097fd3fe 381%{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com
902bacda 382
86f5e0d7
MB
383%files -n %{ext_prefix}-window-list
384%defattr(644,root,root,755)
097fd3fe 385%{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com
86f5e0d7
MB
386%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
387
388%files -n %{ext_prefix}-windowsNavigator
902bacda 389%defattr(644,root,root,755)
097fd3fe 390%{_datadir}/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com
902bacda 391
86f5e0d7 392%files -n %{ext_prefix}-workspace-indicator
902bacda 393%defattr(644,root,root,755)
097fd3fe 394%{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com
This page took 1.254045 seconds and 4 git commands to generate.