%global extdir %{_datadir}/gnome-shell/extensions %global gschemadir %{_datadir}/glib-2.0/schemas Name: gnome-shell-frippery Version: 49.0 Release: %autorelease Summary: Extensions to provide a user experience more like that of GNOME 2 License: GPL-2.0-or-later URL: http://frippery.org/extensions Source: %{url}/%{name}-%{version}.tgz BuildArch: noarch %description This package contains some GNOME Shell extensions to provide a user experience more like that of GNOME 2. %package -n gnome-shell-extension-frippery-applications-menu Summary: Replace Activities button with an Applications menu Requires: (gnome-shell-extension-common >= 46 and gnome-shell-extension-common < 50) %description -n gnome-shell-extension-frippery-applications-menu This GNOME Shell extension replaces the Activities button in the panel with an Applications menu. %package -n gnome-shell-extension-frippery-bottom-panel Summary: Add a bottom panel to the shell Requires: (gnome-shell-extension-common >= 49 and gnome-shell-extension-common < 50) %description -n gnome-shell-extension-frippery-bottom-panel This GNOME Shell extension adds a bottom panel, including a window list and workspace switcher. %package -n gnome-shell-extension-frippery-move-clock Summary: Move clock to left of status menu button Requires: (gnome-shell-extension-common >= 46 and gnome-shell-extension-common < 50) %description -n gnome-shell-extension-frippery-move-clock This GNOME Shell extension moves the clock from the centre of the panel towards the right. %package -n gnome-shell-extension-frippery-panel-favorites Summary: Add launchers for Favorites to the panel Requires: (gnome-shell-extension-common >= 49 and gnome-shell-extension-common < 50) %description -n gnome-shell-extension-frippery-panel-favorites This GNOME Shell extension places a launcher for each favourite application in the panel. Right clicking on the icons invokes a menu that lets one perform various operations on the application. %prep %autosetup -c %{name}-%{version} -p1 mv .local/share/gnome-shell/extensions . mv .local/share/gnome-shell/gnome-shell-frippery/* . %build %install mkdir -p %{buildroot}%{extdir} cp -PR extensions/* %{buildroot}%{extdir} # Install glib2 schema in the proper location mkdir -p %{buildroot}%{gschemadir} cp -P extensions/*/schemas/*.gschema.xml %{buildroot}%{gschemadir} rm -r %{buildroot}%{extdir}/*/schemas %find_lang frippery-applications-menu %find_lang frippery-bottom-panel %files -n gnome-shell-extension-frippery-applications-menu -f frippery-applications-menu.lang %doc README CHANGELOG %license COPYING %{extdir}/Applications_Menu@rmy.pobox.com %{gschemadir}/org.frippery.applications-menu.gschema.xml %files -n gnome-shell-extension-frippery-bottom-panel -f frippery-bottom-panel.lang %doc README CHANGELOG %license COPYING %{extdir}/Bottom_Panel@rmy.pobox.com %{gschemadir}/org.frippery.bottom-panel.gschema.xml %files -n gnome-shell-extension-frippery-move-clock %doc README CHANGELOG %license COPYING %{extdir}/Move_Clock@rmy.pobox.com %files -n gnome-shell-extension-frippery-panel-favorites %doc README CHANGELOG %license COPYING %{extdir}/Panel_Favorites@rmy.pobox.com %{gschemadir}/org.frippery.panel-favorites.gschema.xml %changelog %autochangelog