From f7280ac8694bf61d96dc933ee727fe21fd19333e Mon Sep 17 00:00:00 2001 From: Florian Müllner Date: Mar 11 2024 16:24:57 +0000 Subject: Drop -common subpackage It only provides license and docs, which can just as well be included in each extension package. Not having a common dependency makes it easier to update subpackages individually, for example to test a particular extension from a scratch build. --- diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index d49c42b..5a77fb5 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -41,19 +41,6 @@ Enabled extensions: * workspace-indicator -%package -n %{pkg_prefix}-common -Summary: Files common to GNOME Shell Extensions -License: GPL-2.0-or-later -Requires: gnome-shell >= %{min_gs_version} -Obsoletes: %{pkg_prefix}-horizontal-workspaces < 40.0~alpha.1-3 - -%description -n %{pkg_prefix}-common -GNOME Shell Extensions is a collection of extensions providing additional and -optional functionality to GNOME Shell. - -This package provides common data files shared by various extensions. - - %package -n gnome-classic-session Summary: GNOME "classic" mode session License: GPL-2.0-or-later @@ -83,7 +70,6 @@ mode on X11, which aims to provide a GNOME 2-like user interface. %package -n %{pkg_prefix}-apps-menu Summary: Application menu for GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} Requires: gnome-menus %description -n %{pkg_prefix}-apps-menu @@ -93,7 +79,6 @@ This GNOME Shell extension adds a GNOME 2.x style menu for applications. %package -n %{pkg_prefix}-auto-move-windows Summary: Assign specific workspaces to applications in GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-auto-move-windows This GNOME Shell extension enables easy workspace management. A specific @@ -104,7 +89,6 @@ a manner configurable with a GSettings key. %package -n %{pkg_prefix}-drive-menu Summary: Drive status menu for GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-drive-menu This GNOME Shell extension provides a panel status menu for accessing and @@ -114,7 +98,6 @@ unmounting removable devices. %package -n %{pkg_prefix}-launch-new-instance Summary: Always launch a new application instance for GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-launch-new-instance This GNOME Shell extension modifies the behavior of clicking in the dash and app @@ -124,7 +107,6 @@ launcher to always launch a new application instance. %package -n %{pkg_prefix}-light-style Summary: Use light style in GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-light-style This GNOME Shell extension changes the default style to light. @@ -133,7 +115,6 @@ This GNOME Shell extension changes the default style to light. %package -n %{pkg_prefix}-native-window-placement Summary: Native window placement for GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-native-window-placement This GNOME Shell extension provides additional configurability for the window @@ -143,7 +124,6 @@ layout in the overview, including a mechanism similar to KDE4. %package -n %{pkg_prefix}-places-menu Summary: Places status menu for GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-places-menu This GNOME Shell extension add a system status menu for quickly navigating @@ -153,7 +133,6 @@ places in the system. %package -n %{pkg_prefix}-screenshot-window-sizer Summary: Screenshot window sizer for GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-screenshot-window-sizer This GNOME Shell extension allows to easily resize windows for GNOME Software @@ -163,7 +142,6 @@ screenshots. %package -n %{pkg_prefix}-system-monitor Summary: System monitor for GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-system-monitor This GNOME Shell extension displays system usage information in the top bar. @@ -172,7 +150,6 @@ This GNOME Shell extension displays system usage information in the top bar. %package -n %{pkg_prefix}-user-theme Summary: Support for custom themes in GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-user-theme This GNOME Shell extension enables loading a GNOME Shell theme from @@ -182,7 +159,6 @@ This GNOME Shell extension enables loading a GNOME Shell theme from %package -n %{pkg_prefix}-window-list Summary: Display a window list at the bottom of the screen in GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-window-list This GNOME Shell extension displays a window list at the bottom of the screen. @@ -191,7 +167,6 @@ This GNOME Shell extension displays a window list at the bottom of the screen. %package -n %{pkg_prefix}-windowsNavigator Summary: Support for keyboard selection of windows and workspaces in GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-windowsNavigator This GNOME Shell extension enables keyboard selection of windows and workspaces @@ -201,7 +176,6 @@ in overlay mode, by pressing the Alt and Ctrl key respectively. %package -n %{pkg_prefix}-workspace-indicator Summary: Workspace indicator for GNOME Shell License: GPL-2.0-or-later -Requires: %{pkg_prefix}-common = %{version}-%{release} %description -n %{pkg_prefix}-workspace-indicator This GNOME Shell extension add a system status menu for quickly changing @@ -223,11 +197,6 @@ workspaces. %find_lang %{name} -%files -n %{pkg_prefix}-common -f %{name}.lang -%doc NEWS README.md -%license COPYING - - %files -n gnome-classic-session %{_datadir}/gnome-shell/modes/classic.json %{_datadir}/wayland-sessions/gnome-classic.desktop @@ -241,60 +210,86 @@ workspaces. %files -n %{pkg_prefix}-apps-menu +%doc NEWS README.md +%license COPYING %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.apps-menu.gschema.xml %{_datadir}/gnome-shell/extensions/apps-menu*/ %files -n %{pkg_prefix}-auto-move-windows +%doc NEWS README.md +%license COPYING %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml %{_datadir}/gnome-shell/extensions/auto-move-windows*/ %files -n %{pkg_prefix}-drive-menu +%doc NEWS README.md +%license COPYING %{_datadir}/gnome-shell/extensions/drive-menu*/ %files -n %{pkg_prefix}-launch-new-instance +%doc NEWS README.md +%license COPYING %{_datadir}/gnome-shell/extensions/launch-new-instance*/ %files -n %{pkg_prefix}-light-style +%doc NEWS README.md +%license COPYING %{_datadir}/gnome-shell/extensions/light-style*/ %files -n %{pkg_prefix}-native-window-placement +%doc NEWS README.md +%license COPYING %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml %{_datadir}/gnome-shell/extensions/native-window-placement*/ %files -n %{pkg_prefix}-places-menu +%doc NEWS README.md +%license COPYING %{_datadir}/gnome-shell/extensions/places-menu*/ %files -n %{pkg_prefix}-screenshot-window-sizer +%doc NEWS README.md +%license COPYING %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml %{_datadir}/gnome-shell/extensions/screenshot-window-sizer*/ %files -n %{pkg_prefix}-system-monitor +%doc NEWS README.md +%license COPYING %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.system-monitor.gschema.xml %{_datadir}/gnome-shell/extensions/system-monitor*/ %files -n %{pkg_prefix}-user-theme +%doc NEWS README.md +%license COPYING %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml %{_datadir}/gnome-shell/extensions/user-theme*/ %files -n %{pkg_prefix}-window-list +%doc NEWS README.md +%license COPYING %{_datadir}/gnome-shell/extensions/window-list*/ %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml %files -n %{pkg_prefix}-windowsNavigator +%doc NEWS README.md +%license COPYING %{_datadir}/gnome-shell/extensions/windowsNavigator*/ %files -n %{pkg_prefix}-workspace-indicator +%doc NEWS README.md +%license COPYING %{_datadir}/gnome-shell/extensions/workspace-indicator*/