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