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