X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=gnome-shell-extensions.spec;h=46d59821812130ee0eda38652c960b1a4d032732;hb=4bc2b7bb65218fa207d169d84c95a95de6f6afdd;hp=4c384606e9d383e623f85563b3ebbe585adc1f29;hpb=d11f3f1552c343139934f70875ee18d0b065d45f;p=packages%2Fgnome-shell-extensions.git diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index 4c38460..46d5982 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -1,16 +1,16 @@ -%define gshell_ver 3.38.0 +%define gshell_ver 43.0 Summary: Modify and extend GNOME Shell functionality and behavior Summary(pl.UTF-8): Modyfikacje i rozszerzenia funkcjonalności i zachowania powłoki GNOME Name: gnome-shell-extensions -Version: 3.38.1 +Version: 43.1 Release: 1 Group: X11/Applications License: GPL v2+ -Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.38/%{name}-%{version}.tar.xz -# Source0-md5: 717e1b7f04cdb0bac27fd509c3128801 +Source0: https://download.gnome.org/sources/gnome-shell-extensions/43/%{name}-%{version}.tar.xz +# Source0-md5: b6feeb8c79e4861d8f67b3b390960144 URL: https://wiki.gnome.org/Projects/GnomeShell/Extensions -BuildRequires: meson >= 0.44.0 +BuildRequires: meson >= 0.53.0 BuildRequires: ninja >= 1.5 BuildRequires: pkgconfig >= 1:0.22 BuildRequires: sassc @@ -18,6 +18,7 @@ BuildRequires: rpmbuild(macros) >= 1.736 BuildRequires: tar >= 1:1.22 BuildRequires: xz Requires: gnome-shell >= %{gshell_ver} +BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define ext_prefix gnome-shell-extension @@ -30,7 +31,6 @@ Enabled extensions: - apps-menu - auto-move-windows - drive-menu - - horizontal-workspaces - launch-new-instance - native-window-placement - places-menu @@ -48,7 +48,6 @@ Dostępne rozszerzenia: - apps-menu - auto-move-windows - drive-menu - - horizontal-workspaces - launch-new-instance - native-window-placement - places-menu @@ -68,6 +67,7 @@ Obsoletes: gnome-shell-extension-alternate-tab < 3.32.0 Obsoletes: gnome-shell-extension-default-min-max < 3.8.3.1 Obsoletes: gnome-shell-extension-dock < 3.8.0 Obsoletes: gnome-shell-extension-gajim < 3.8.0 +Obsoletes: gnome-shell-extension-horizontal-workspaces < 40.0 Obsoletes: gnome-shell-extension-static-workspaces < 3.8.3.1 Obsoletes: gnome-shell-extension-xrandr-indicator < 3.10.1 Obsoletes: gnome-shell-extension-systemMonitor < 3.16.0 @@ -145,18 +145,6 @@ To rozszerzenie dodaje w obszarze stanu systemu menu śledzące podłączone odłączalne urządzenia dyskowe i pozwalające wysuwać lub odmontowywać je. -%package -n %{ext_prefix}-horizontal-workspaces -Summary: Use a horizontal workspace layout -Summary(pl.UTF-8): Użycie poziomego układu pulpitów -Group: X11/Applications -Requires: %{name}-common = %{version}-%{release} - -%description -n %{ext_prefix}-horizontal-workspaces -This extension allows to use a horizontal workspace layout. - -%description -n %{ext_prefix}-horizontal-workspaces -l pl.UTF-8 -To rozszerzenie pozwala na użycie poziomego układu pulpitów. - %package -n %{ext_prefix}-launch-new-instance Summary: Always launch a new application instance for GNOME Shell Summary(pl.UTF-8): Uruchamianie zawsze nowej instancji aplikacji w powłoce GNOME @@ -294,10 +282,6 @@ rm -rf $RPM_BUILD_ROOT %ninja_install -C build -# Drop useless example extension -#%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/example* -#%{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.example.gschema.xml - %find_lang %{name} %clean @@ -309,6 +293,12 @@ rm -rf $RPM_BUILD_ROOT %postun -n gnome-classic-session %glib_compile_schemas +%post -n %{ext_prefix}-apps-menu +%glib_compile_schemas + +%postun -n %{ext_prefix}-apps-menu +%glib_compile_schemas + %post -n %{ext_prefix}-auto-move-windows %glib_compile_schemas @@ -350,14 +340,17 @@ rm -rf $RPM_BUILD_ROOT %dir %{_datadir}/gnome-shell/modes %{_datadir}/gnome-shell/modes/classic.json %dir %{_datadir}/gnome-shell/theme -%{_datadir}/gnome-shell/theme/calendar-today.svg %{_datadir}/gnome-shell/theme/classic-*.svg %{_datadir}/gnome-shell/theme/gnome-classic.css %{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css +%{_datadir}/wayland-sessions/gnome-classic.desktop +%{_datadir}/wayland-sessions/gnome-classic-wayland.desktop %{_datadir}/xsessions/gnome-classic.desktop +%{_datadir}/xsessions/gnome-classic-xorg.desktop %files -n %{ext_prefix}-apps-menu %defattr(644,root,root,755) +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.apps-menu.gschema.xml %{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com %files -n %{ext_prefix}-auto-move-windows @@ -369,10 +362,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{_datadir}/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com -%files -n %{ext_prefix}-horizontal-workspaces -%defattr(644,root,root,755) -%{_datadir}/gnome-shell/extensions/horizontal-workspaces@gnome-shell-extensions.gcampax.github.com - %files -n %{ext_prefix}-launch-new-instance %defattr(644,root,root,755) %{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com