gnome-shell-extensions/gnome-shell-extensions.spec

287 lines
9.0 KiB
RPMSpec
Raw Normal View History

2012-07-22 21:25:24 +00:00
# Minimum GNOME Shell version supported
%global min_gs_version %%(cut -d "." -f 1 <<<%{version})
%global pkg_prefix gnome-shell-extension
2021-03-16 15:56:10 +00:00
%global tarball_version %%(echo %{version} | tr '~' '.')
%global major_version %%(cut -d "." -f 1 <<<%{tarball_version})
2011-04-09 00:30:38 +00:00
Name: gnome-shell-extensions
2024-01-07 09:34:26 +00:00
Version: 46~alpha
2023-07-06 19:01:11 +00:00
Release: %autorelease
2011-04-09 00:30:38 +00:00
Summary: Modify and extend GNOME Shell functionality and behavior
2011-10-03 22:22:47 +00:00
License: GPLv2+
2016-10-07 12:31:52 +00:00
URL: http://wiki.gnome.org/Projects/GnomeShell/Extensions
2021-03-16 15:56:10 +00:00
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz
2018-02-22 12:50:33 +00:00
BuildRequires: meson
BuildRequires: git
2016-08-19 21:41:00 +00:00
BuildRequires: gettext >= 0.19.6
BuildRequires: glib2%{?_isa}
2012-02-28 22:25:47 +00:00
Requires: gnome-shell >= %{min_gs_version}
2011-04-09 00:30:38 +00:00
BuildArch: noarch
%description
GNOME Shell Extensions is a collection of extensions providing additional and
optional functionality to GNOME Shell.
2011-04-09 00:30:38 +00:00
Enabled extensions:
* apps-menu
2011-04-11 18:02:05 +00:00
* auto-move-windows
* drive-menu
2013-02-07 12:05:30 +00:00
* launch-new-instance
2023-07-06 19:13:44 +00:00
* light-style
* native-window-placement
* places-menu
2014-09-17 05:36:42 +00:00
* screenshot-window-sizer
2024-01-07 09:34:26 +00:00
* system-monitor
* user-theme
2013-02-07 12:05:30 +00:00
* window-list
* windowsNavigator
* workspace-indicator
2011-04-09 00:30:38 +00:00
%package -n %{pkg_prefix}-common
2011-04-09 00:30:38 +00:00
Summary: Files common to GNOME Shell Extensions
License: GPLv2+
2012-02-28 22:25:47 +00:00
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.
2011-04-09 00:30:38 +00:00
%package -n gnome-classic-session
Summary: GNOME "classic" mode session
License: GPLv2+
Requires: %{pkg_prefix}-apps-menu = %{version}-%{release}
2013-02-07 11:36:53 +00:00
Requires: %{pkg_prefix}-launch-new-instance = %{version}-%{release}
Requires: %{pkg_prefix}-places-menu = %{version}-%{release}
Requires: %{pkg_prefix}-window-list = %{version}-%{release}
Requires: nautilus
2013-03-02 18:29:16 +00:00
2013-01-01 16:50:48 +00:00
%description -n gnome-classic-session
This package contains the required components for the GNOME Shell "classic"
mode, which aims to provide a GNOME 2-like user interface.
%package -n %{pkg_prefix}-apps-menu
Summary: Application menu for GNOME Shell
License: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
Requires: gnome-menus
%description -n %{pkg_prefix}-apps-menu
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: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
2011-04-11 18:02:05 +00:00
%description -n %{pkg_prefix}-auto-move-windows
This GNOME Shell extension enables easy workspace management. A specific
workspace can be assigned to each application as soon as it creates a window, in
a manner configurable with a GSettings key.
%package -n %{pkg_prefix}-drive-menu
Summary: Drive status menu for GNOME Shell
License: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
%description -n %{pkg_prefix}-drive-menu
This GNOME Shell extension provides a panel status menu for accessing and
unmounting removable devices.
2013-02-07 11:36:53 +00:00
%package -n %{pkg_prefix}-launch-new-instance
Summary: Always launch a new application instance for GNOME Shell
License: GPLv2+
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
launcher to always launch a new application instance.
2023-07-06 19:13:44 +00:00
%package -n %{pkg_prefix}-light-style
Summary: Use light style in GNOME Shell
License: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
%description -n %{pkg_prefix}-light-style
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: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
%description -n %{pkg_prefix}-native-window-placement
This GNOME Shell extension provides additional configurability for the window
layout in the overview, including a mechanism similar to KDE4.
2013-02-07 11:36:53 +00:00
%package -n %{pkg_prefix}-places-menu
Summary: Places status menu for GNOME Shell
License: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
%description -n %{pkg_prefix}-places-menu
This GNOME Shell extension add a system status menu for quickly navigating
places in the system.
2014-09-17 05:36:42 +00:00
%package -n %{pkg_prefix}-screenshot-window-sizer
Summary: Screenshot window sizer for GNOME Shell
License: GPLv2+
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
screenshots.
2024-01-07 09:34:26 +00:00
%package -n %{pkg_prefix}-system-monitor
Summary: System monitor for GNOME Shell
License: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
%description -n %{pkg_prefix}-system-monitor
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: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
%description -n %{pkg_prefix}-user-theme
This GNOME Shell extension enables loading a GNOME Shell theme from
~/.themes/<name>/gnome-shell/.
2013-02-07 11:36:53 +00:00
%package -n %{pkg_prefix}-window-list
Summary: Display a window list at the bottom of the screen in GNOME Shell
License: GPLv2+
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.
%package -n %{pkg_prefix}-windowsNavigator
Summary: Support for keyboard selection of windows and workspaces in GNOME Shell
License: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
%description -n %{pkg_prefix}-windowsNavigator
This GNOME Shell extension enables keyboard selection of windows and workspaces
in overlay mode, by pressing the Alt and Ctrl key respectively.
%package -n %{pkg_prefix}-workspace-indicator
Summary: Workspace indicator for GNOME Shell
License: GPLv2+
Requires: %{pkg_prefix}-common = %{version}-%{release}
%description -n %{pkg_prefix}-workspace-indicator
This GNOME Shell extension add a system status menu for quickly changing
workspaces.
2011-04-09 00:30:38 +00:00
%prep
2021-03-16 15:56:10 +00:00
%autosetup -S git -n %{name}-%{tarball_version}
2011-04-09 00:30:38 +00:00
2011-04-09 00:30:38 +00:00
%build
2018-02-22 12:50:33 +00:00
%meson -Dextension_set="all" -Dclassic_mode=true
%meson_build
2011-04-09 00:30:38 +00:00
2011-04-09 00:30:38 +00:00
%install
2018-02-22 12:50:33 +00:00
%meson_install
2011-04-09 00:30:38 +00:00
%find_lang %{name}
%files -n %{pkg_prefix}-common -f %{name}.lang
%doc NEWS README.md
%license COPYING
2011-04-09 00:30:38 +00:00
2013-02-07 11:36:53 +00:00
2013-01-01 16:50:48 +00:00
%files -n gnome-classic-session
%{_datadir}/gnome-shell/modes/classic.json
%{_datadir}/xsessions/gnome-classic.desktop
%{_datadir}/xsessions/gnome-classic-xorg.desktop
%{_datadir}/wayland-sessions/gnome-classic.desktop
%{_datadir}/wayland-sessions/gnome-classic-wayland.desktop
%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override
2013-02-07 11:36:53 +00:00
%files -n %{pkg_prefix}-apps-menu
2021-09-06 00:20:52 +00:00
%{_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
2011-04-11 18:02:05 +00:00
%{_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
%{_datadir}/gnome-shell/extensions/drive-menu*/
2012-07-18 01:54:37 +00:00
2013-02-07 11:36:53 +00:00
%files -n %{pkg_prefix}-launch-new-instance
%{_datadir}/gnome-shell/extensions/launch-new-instance*/
2023-07-06 19:13:44 +00:00
%files -n %{pkg_prefix}-light-style
%{_datadir}/gnome-shell/extensions/light-style*/
%files -n %{pkg_prefix}-native-window-placement
%{_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
%{_datadir}/gnome-shell/extensions/places-menu*/
2014-09-17 05:36:42 +00:00
%files -n %{pkg_prefix}-screenshot-window-sizer
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
%{_datadir}/gnome-shell/extensions/screenshot-window-sizer*/
2024-01-07 09:34:26 +00:00
%files -n %{pkg_prefix}-system-monitor
%{_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
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
%{_datadir}/gnome-shell/extensions/user-theme*/
2013-02-07 11:36:53 +00:00
%files -n %{pkg_prefix}-window-list
%{_datadir}/gnome-shell/extensions/window-list*/
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
%files -n %{pkg_prefix}-windowsNavigator
%{_datadir}/gnome-shell/extensions/windowsNavigator*/
%files -n %{pkg_prefix}-workspace-indicator
%{_datadir}/gnome-shell/extensions/workspace-indicator*/
2011-04-09 00:30:38 +00:00
%changelog
2023-07-06 19:01:11 +00:00
%autochangelog