]> git.pld-linux.org Git - packages/gnome-shell-extensions.git/blame - gnome-shell-extensions.spec
- updated to 3.38.2
[packages/gnome-shell-extensions.git] / gnome-shell-extensions.spec
CommitLineData
334f577e 1%define gshell_ver 3.38.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
9bde5981 6Version: 3.38.2
a1e4294b 7Release: 1
902bacda 8Group: X11/Applications
097fd3fe 9License: GPL v2+
9bde5981
JB
10Source0: https://download.gnome.org/sources/gnome-shell-extensions/3.38/%{name}-%{version}.tar.xz
11# Source0-md5: 527017400c2a22748f97f0603f070dda
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}
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%dir %{_datadir}/gnome-shell/modes
351%{_datadir}/gnome-shell/modes/classic.json
56964769 352%dir %{_datadir}/gnome-shell/theme
097fd3fe
JB
353%{_datadir}/gnome-shell/theme/calendar-today.svg
354%{_datadir}/gnome-shell/theme/classic-*.svg
86f5e0d7 355%{_datadir}/gnome-shell/theme/gnome-classic.css
d966c06e 356%{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css
86f5e0d7
MB
357%{_datadir}/xsessions/gnome-classic.desktop
358
86f5e0d7 359%files -n %{ext_prefix}-apps-menu
902bacda 360%defattr(644,root,root,755)
097fd3fe 361%{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com
902bacda 362
86f5e0d7 363%files -n %{ext_prefix}-auto-move-windows
902bacda
JR
364%defattr(644,root,root,755)
365%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
097fd3fe 366%{_datadir}/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com
902bacda 367
86f5e0d7 368%files -n %{ext_prefix}-drive-menu
902bacda 369%defattr(644,root,root,755)
097fd3fe
JB
370%{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com
371
372%files -n %{ext_prefix}-horizontal-workspaces
373%defattr(644,root,root,755)
374%{_datadir}/gnome-shell/extensions/horizontal-workspaces@gnome-shell-extensions.gcampax.github.com
902bacda 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
86f5e0d7 380%files -n %{ext_prefix}-native-window-placement
902bacda
JR
381%defattr(644,root,root,755)
382%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
097fd3fe 383%{_datadir}/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com
902bacda 384
86f5e0d7 385%files -n %{ext_prefix}-places-menu
902bacda 386%defattr(644,root,root,755)
097fd3fe 387%{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com
902bacda 388
c9215cc5
MB
389%files -n %{ext_prefix}-screenshot-window-sizer
390%defattr(644,root,root,755)
391%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
097fd3fe 392%{_datadir}/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
c9215cc5 393
86f5e0d7 394%files -n %{ext_prefix}-user-theme
902bacda
JR
395%defattr(644,root,root,755)
396%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
097fd3fe 397%{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com
902bacda 398
86f5e0d7
MB
399%files -n %{ext_prefix}-window-list
400%defattr(644,root,root,755)
097fd3fe 401%{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com
86f5e0d7
MB
402%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
403
404%files -n %{ext_prefix}-windowsNavigator
902bacda 405%defattr(644,root,root,755)
097fd3fe 406%{_datadir}/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com
902bacda 407
86f5e0d7 408%files -n %{ext_prefix}-workspace-indicator
902bacda 409%defattr(644,root,root,755)
097fd3fe 410%{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com
This page took 0.159231 seconds and 4 git commands to generate.