]> git.pld-linux.org Git - packages/gnome-shell-extensions.git/blobdiff - gnome-shell-extensions.spec
- package theme dir that is no longer packaged with gnome-shell
[packages/gnome-shell-extensions.git] / gnome-shell-extensions.spec
index 5f994838f80e51212f587f0543f90b8946dbafb7..d04ce536d7c4afd65d13a7163c4f3f469b7adcb3 100644 (file)
@@ -1,27 +1,24 @@
-%define                major_version           3.8
+%define                major_version           3.16
 # Minimum GNOME Shell version supported
 %define                global min_gs_version   %{major_version}.0
 
 Summary:       Modify and extend GNOME Shell functionality and behavior
 Name:          gnome-shell-extensions
-Version:       %{major_version}.1
+Version:       %{major_version}.0
 Release:       1
 Group:         X11/Applications
 # The entire source code is GPLv2+ except lib/convenience.js which is BSD
 License:       GPLv2+ and BSD
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.16/%{name}-%{version}.tar.xz
+# Source0-md5: 36bae7d65c3ced1ff4f10e9c012ba23a
 URL:           http://live.gnome.org/GnomeShell/Extensions
-# Using git archive since upstream doesn't publish tarballs on ftp.gnome.org
-# anymore
-# $ git clone git://git.gnome.org/gnome-shell-extensions/
-# $ cd gnome-shell-extensions/
-# $ git archive --format=tar --prefix=%{name}-%{version}/ %{version} | xz > ../%{name}-%{version}.tar.xz
-#Source0:      %{name}-%{version}.tar.xz
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.8/%{name}-%{version}.tar.xz
-# Source0-md5: 37aaa4731e9355f7904fbcddd56a0e86
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.10
 BuildRequires: gnome-common
 BuildRequires: gnome-desktop-devel
 BuildRequires: intltool
-BuildRequires: libgtop-devel
+BuildRequires: libgtop-devel >= 2.28.3
+BuildRequires: pkgconfig >= 1:0.22
 Requires:      gnome-shell >= %{min_gs_version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,29 +30,30 @@ additional and optional functionality to GNOME Shell.
 
 Enabled extensions:
   - alternate-tab
-  - alternative-status-menu
   - apps-menu
   - auto-move-windows
-  - default-min-max
   - drive-menu
   - launch-new-instance
   - native-window-placement
   - places-menu
-  - static-workspaces
-  - systemMonitor
+  - screenshot-window-sizer
   - user-theme
   - window-list
   - windowsNavigator
   - workspace-indicator
-  - xrandr-indicator
 
 %package common
 Summary:       Files common to GNOME Shell Extensions
 License:       GPL v2+
 Group:         X11/Applications
 Requires:      gnome-shell >= %{min_gs_version}
+Obsoletes:     gnome-shell-extension-alternative-status-menu < 3.10.1
+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-static-workspaces < 3.8.3.1
+Obsoletes:     gnome-shell-extension-xrandr-indicator < 3.10.1
+Obsoletes:     gnome-shell-extension-systemMonitor < 3.16.0
 
 %description common
 GNOME Shell Extensions is a collection of extensions providing
@@ -66,14 +64,13 @@ directories needed by extensions are provided here.
 Summary:       GNOME "classic" mode session
 License:       GPL v2+
 Group:         X11/Applications
+Requires(post,postun): glib2 >= 1:2.26.0
 Requires:      %{ext_prefix}-alternate-tab = %{version}-%{release}
 Requires:      %{ext_prefix}-apps-menu = %{version}-%{release}
-Requires:      %{ext_prefix}-default-min-max = %{version}-%{release}
 Requires:      %{ext_prefix}-launch-new-instance = %{version}-%{release}
 Requires:      %{ext_prefix}-places-menu = %{version}-%{release}
-Requires:      %{ext_prefix}-static-workspaces = %{version}-%{release}
 Requires:      %{ext_prefix}-window-list = %{version}-%{release}
-Requires:      gnome-session >= 1:3.8.0
+Requires:      gnome-session >= 1:3.14.0
 
 %description -n gnome-classic-session
 This package contains the required components for the GNOME Shell
@@ -90,17 +87,6 @@ Lets you use classic Alt+Tab (window-based instead of app-based) in
 GNOME Shell. GNOME Shell groups multiple instances of the same
 application together. This extension disables grouping.
 
-%package -n %{ext_prefix}-alternative-status-menu
-Summary:       For those who want a power off item visible at all the time
-License:       GPL v2+
-Group:         X11/Applications
-Requires:      %{name}-common = %{version}-%{release}
-
-%description -n %{ext_prefix}-alternative-status-menu
-For those who want a power off item visible at all the time, replaces
-GNOME Shell status menu with one featuring separate Suspend and Power
-Off. Adds the ability to hibernate as well.
-
 %package -n %{ext_prefix}-apps-menu
 Summary:       Application menu for GNOME Shell
 License:       GPL v2+
@@ -121,16 +107,6 @@ Lets you manage your workspaces more easily, assigning a specific
 workspace to each application as soon as it creates a window, in a
 manner configurable with a GSettings key.
 
-%package -n %{ext_prefix}-default-min-max
-Summary:       Add minimize and maximize titlebar buttons in GNOME Shell
-License:       GPL v2+
-Group:         X11/Applications
-Requires:      %{name}-common = %{version}-%{release}
-
-%description -n %{ext_prefix}-default-min-max
-This GNOME Shell extension adds minimize and maximize buttons to the
-titlebar by default.
-
 %package -n %{ext_prefix}-drive-menu
 Summary:       Disk device manager in the system status area
 License:       GPL v2+
@@ -173,24 +149,15 @@ Requires: %{name}-common = %{version}-%{release}
 Adds a menu in the system status area that resembles the Places menu
 from GNOME 2.x
 
-%package -n %{ext_prefix}-static-workspaces
-Summary:       Disable dynamic workspace management in GNOME Shell
-License:       GPL v2+
-Group:         X11/Applications
-Requires:      %{name}-common = %{version}-%{release}
-
-%description -n %{ext_prefix}-static-workspaces
-This GNOME Shell extension disables dynamic workspace management.
-
-%package -n %{ext_prefix}-systemMonitor
-Summary:       Monitor your system status
+%package -n %{ext_prefix}-screenshot-window-sizer
+Summary:       Screenshot window sizer for GNOME Shell
 License:       GPL v2+
 Group:         X11/Applications
 Requires:      %{name}-common = %{version}-%{release}
-Requires:      libgtop
 
-%description -n %{ext_prefix}-systemMonitor
-Monitor your system status
+%description -n %{ext_prefix}-screenshot-window-sizer
+This GNOME Shell extension allows to easily resize windows for GNOME
+Software screenshots.
 
 %package -n %{ext_prefix}-user-theme
 Summary:       Lets the user select a custom theme for the shell
@@ -235,16 +202,6 @@ Requires:  %{name}-common = %{version}-%{release}
 Put an indicator on the panel signaling in which workspace you are,
 and give you the possibility of switching to another one.
 
-%package -n %{ext_prefix}-xrandr-indicator
-Summary:       Monitor status indicator
-License:       GPL v2+
-Group:         X11/Applications
-Requires:      %{name}-common = %{version}-%{release}
-
-%description  -n %{ext_prefix}-xrandr-indicator
-This extension adds a systems status menu for rotating monitors
-(overrides what is currently provided by gnome-settings-daemon.
-
 %prep
 %setup -q
 
@@ -275,10 +232,10 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -n %{ext_prefix}-alternative-status-menu
+%post -n gnome-classic-session
 %glib_compile_schemas
 
-%postun -n %{ext_prefix}-alternative-status-menu
+%postun -n gnome-classic-session
 %glib_compile_schemas
 
 %post -n %{ext_prefix}-auto-move-windows
@@ -293,6 +250,12 @@ rm -rf $RPM_BUILD_ROOT
 %postun -n %{ext_prefix}-native-window-placement
 %glib_compile_schemas
 
+%post -n %{ext_prefix}-screenshot-window-sizer
+%glib_compile_schemas
+
+%postun -n %{ext_prefix}-screenshot-window-sizer
+%glib_compile_schemas
+
 %post -n %{ext_prefix}-user-theme
 %glib_compile_schemas
 
@@ -312,23 +275,20 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n gnome-classic-session
 %defattr(644,root,root,755)
-%{_desktopdir}/gnome-shell-classic.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml
 %{_datadir}/gnome-session/sessions/gnome-classic.session
 %dir %{_datadir}/gnome-shell/modes
 %{_datadir}/gnome-shell/modes/classic.json
+%dir %{_datadir}/gnome-shell/theme
 %{_datadir}/gnome-shell/theme/*.svg
 %{_datadir}/gnome-shell/theme/gnome-classic.css
+%{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css
 %{_datadir}/xsessions/gnome-classic.desktop
 
 %files -n %{ext_prefix}-alternate-tab
 %defattr(644,root,root,755)
 %{_datadir}/gnome-shell/extensions/alternate-tab*
 
-%files -n %{ext_prefix}-alternative-status-menu
-%defattr(644,root,root,755)
-%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternative-status-menu.gschema.xml
-%{_datadir}/gnome-shell/extensions/alternative-status-menu*
-
 %files -n %{ext_prefix}-apps-menu
 %defattr(644,root,root,755)
 %{_datadir}/gnome-shell/extensions/apps-menu*
@@ -338,10 +298,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
 %{_datadir}/gnome-shell/extensions/auto-move-windows*
 
-%files -n %{ext_prefix}-default-min-max
-%defattr(644,root,root,755)
-%{_datadir}/gnome-shell/extensions/default-min-max*
-
 %files -n %{ext_prefix}-drive-menu
 %defattr(644,root,root,755)
 %{_datadir}/gnome-shell/extensions/drive-menu*
@@ -359,13 +315,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/gnome-shell/extensions/places-menu*
 
-%files -n %{ext_prefix}-static-workspaces
+%files -n %{ext_prefix}-screenshot-window-sizer
 %defattr(644,root,root,755)
-%{_datadir}/gnome-shell/extensions/static-workspaces*
-
-%files -n %{ext_prefix}-systemMonitor
-%defattr(644,root,root,755)
-%{_datadir}/gnome-shell/extensions/systemMonitor*
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml
+%{_datadir}/gnome-shell/extensions/screenshot-window-sizer*
 
 %files -n %{ext_prefix}-user-theme
 %defattr(644,root,root,755)
@@ -384,7 +337,3 @@ rm -rf $RPM_BUILD_ROOT
 %files -n %{ext_prefix}-workspace-indicator
 %defattr(644,root,root,755)
 %{_datadir}/gnome-shell/extensions/workspace-indicator*
-
-%files -n %{ext_prefix}-xrandr-indicator
-%defattr(644,root,root,755)
-%{_datadir}/gnome-shell/extensions/xrandr-indicator*
This page took 0.153156 seconds and 4 git commands to generate.