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