forked from pool/gnome-control-center
Dominique Leuenberger
19fb293fda
- Update to version 3.10.3: + Background: Chooser dialog is too wide. + Color: - Fix a crash if the user closes the window after calibrating. - Show the whitepoint selector. + Display: - Hide unsupported UI elements. - Add an 'upside-down' button. + Info: - Crash if PackageKit is not present. - Use gnome-software for showing the list of updates if installed. + Network: - Fix build with NM 0.9.8.x. - Can't assign IP address without gateway. - Can't create team connection. + Online Accounts: Panel is too wide. + Power: Wrong battery indicator when fully charged (99% instead of 100%). + Printers: Show correct time of print job. + Sharing: - Fix crash when turning off Sharing. - Make it possible to add new folders. - Not able to enable bluetooth. + Shell: - Activate application when launching a panel. - Overview is too wide. + Users: - Improve logged-in check when deleting users. + Wacom: OBS-URL: https://build.opensuse.org/request/show/224528 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=235
291 lines
11 KiB
RPMSpec
291 lines
11 KiB
RPMSpec
#
|
|
# spec file for package gnome-control-center
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
# Allow to enable/disable ibus, as GNOME is rather strict on new versions.
|
|
%define with_ibus 1
|
|
|
|
# Wacom input support
|
|
%ifarch s390 s390x
|
|
%define with_wacom 0
|
|
%else
|
|
%define with_wacom 1
|
|
%endif
|
|
|
|
Name: gnome-control-center
|
|
Version: 3.10.3
|
|
Release: 0
|
|
# FIXME: in 12.3 and later, check if we still need patch2 (gnome-control-center-hide-region-system-tab.patch) (see bnc#703833)
|
|
Summary: The GNOME Control Center
|
|
License: GPL-2.0+
|
|
Group: System/GUI/GNOME
|
|
Url: http://www.gnome.org
|
|
Source: http://download.gnome.org/sources/gnome-control-center/3.10/%{name}-%{version}.tar.xz
|
|
# PATCH-FEATURE-OPENSUSE gnome-control-center-allow-yast-in-shell.patch vuntz@opensuse.org -- Allow the launch of the yast shell from the g-c-c shell; it's quite ugly, but on the other hand, we don't want to change the behavior of the shell except for yast...
|
|
Patch0: gnome-control-center-allow-yast-in-shell.patch
|
|
# PATCH-NEEDS-REBASE gnome-control-center-system-proxy-configuration.patch -- this needs to be reimplemented to be more distro-generic before submitting upstream - docs at http://en.opensuse.org/GNOME/Proxy_configuration (was PATCH-FEATURE-OPENSUSE)
|
|
Patch14: gnome-control-center-system-proxy-configuration.patch
|
|
# PATCH-FIX-UPSTREAM gcc-private-connection.patch bnc#751211 bgo#646187 dimstar@opensuse.org -- network: create private connections if the user if not authorized
|
|
Patch15: gcc-private-connection.patch
|
|
# PATCH-FIX-UPSTREAM gnome-control-center-probe-radius-server-cert.patch bnc#574266 glin@suse.com -- network: Probe the RADIUS server certificate
|
|
Patch16: gnome-control-center-probe-radius-server-cert.patch
|
|
# PATCH-FEATURE-UPSTREAM gnome-control-center-upower-fix-build.patch mgorse@suse.com -- Build fix for UPower 0.99
|
|
Patch18: gnome-control-center-upower-fix-build.patch
|
|
# PATCH-FEATURE-UPSTREAM gnome-control-center-upower-DeviceChanged-signal.patch mgorse@suse.com -- DeviceChanged signal no longer exists in upower-glib 0.99
|
|
Patch19: gnome-control-center-upower-DeviceChanged-signal.patch
|
|
# PATCH-FEATURE-UPSTREAM gnome-control-center-upower-icons.patch mgorse@suse.com -- Use UPower icons
|
|
Patch20: gnome-control-center-upower-icons.patch
|
|
# PATCH-FEATURE-UPSTREAM gnome-control-center-upower-display.patch mgorse@suse.com -- Use new display device
|
|
Patch21: gnome-control-center-upower-display.patch
|
|
# PATCH-FEATURE-UPSTREAM gnome-control-center-upower-changed-signal.patch mgorse@suse.com -- Update for libupower-glib API changes
|
|
Patch22: gnome-control-center-upower-changed-signal.patch
|
|
BuildRequires: cups-devel
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: fdupes
|
|
BuildRequires: gnome-common
|
|
BuildRequires: intltool
|
|
BuildRequires: krb5-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(accountsservice) >= 0.6.30
|
|
BuildRequires: pkgconfig(cheese)
|
|
BuildRequires: pkgconfig(cheese-gtk) >= 3.3.91
|
|
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
|
BuildRequires: pkgconfig(colord) >= 0.1.34
|
|
BuildRequires: pkgconfig(colord-gtk) >= 0.1.24
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
BuildRequires: pkgconfig(gconf-2.0)
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
BuildRequires: pkgconfig(gl)
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.37.7
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
|
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.5.5
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.9.90
|
|
BuildRequires: pkgconfig(gnome-settings-daemon) >= 3.7.3
|
|
BuildRequires: pkgconfig(goa-1.0) >= 3.9.90
|
|
BuildRequires: pkgconfig(goa-backend-1.0)
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.9.91
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.12
|
|
%if %{with_ibus}
|
|
BuildRequires: pkgconfig(ibus-1.0) >= 1.5.2
|
|
%endif
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
BuildRequires: pkgconfig(libgnome-menu-3.0)
|
|
BuildRequires: pkgconfig(libgtop-2.0)
|
|
BuildRequires: pkgconfig(libnm-glib) >= 0.9.8
|
|
BuildRequires: pkgconfig(libnm-glib-vpn) >= 0.9.8
|
|
BuildRequires: pkgconfig(libnm-gtk) >= 0.9.8
|
|
BuildRequires: pkgconfig(libpulse) >= 2.0
|
|
BuildRequires: pkgconfig(libpulse-mainloop-glib) >= 2.0
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
|
BuildRequires: pkgconfig(libsystemd-login)
|
|
%if %{with_wacom}
|
|
BuildRequires: pkgconfig(libwacom) >= 0.7
|
|
%endif
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
BuildRequires: pkgconfig(mm-glib) >= 0.7
|
|
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103
|
|
BuildRequires: pkgconfig(pwquality) >= 1.2.2
|
|
BuildRequires: pkgconfig(smbclient)
|
|
BuildRequires: pkgconfig(upower-glib) >= 0.99.0
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xcursor)
|
|
BuildRequires: pkgconfig(xft)
|
|
BuildRequires: pkgconfig(xi) >= 1.2
|
|
# needed for glxinfo, used by System info panel
|
|
Requires: Mesa-demo-x
|
|
# needed for printers panel
|
|
Requires: cups-pk-helper
|
|
Requires: gnome-menus
|
|
Requires: gnome-settings-daemon
|
|
# needed for universal access panel
|
|
Requires: gnome-themes-accessibility
|
|
Requires: gnome-version
|
|
Requires: iso-codes
|
|
Requires: nautilus
|
|
Recommends: %{name}-lang
|
|
Recommends: %{name}-user-faces
|
|
# the printers panel can use the dbus service
|
|
Recommends: system-config-printer-dbus-service
|
|
Provides: acme
|
|
Provides: fontilus
|
|
Provides: themus
|
|
Obsoletes: acme
|
|
Obsoletes: fontilus
|
|
Obsoletes: themus
|
|
Provides: control-center2 = 2.22.1
|
|
Obsoletes: control-center2 < 2.22.1
|
|
# gnome-control-center-branding was obsoleted with g-c-c 3.8.0 (after openSUSE 12.3)
|
|
Obsoletes: gnome-control-center-branding <= 12.3
|
|
Obsoletes: gnome-control-center-branding-openSUSE <= 12.3
|
|
Obsoletes: gnome-control-center-branding-upstream <= 12.3
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
The control center is GNOME's main interface for configuration of
|
|
various aspects of your desktop.
|
|
|
|
%package user-faces
|
|
Summary: Login Managers user avatars
|
|
Group: System/GUI/GNOME
|
|
|
|
%description user-faces
|
|
This package provides user avatars to be used by display managers
|
|
|
|
%package devel
|
|
Summary: Header files for the GNOME Control Center
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version}
|
|
Provides: control-center2-devel = 2.22.1
|
|
Obsoletes: control-center2-devel < 2.22.1
|
|
|
|
%description devel
|
|
The control center is GNOME's main interface for configuration of
|
|
various aspects of your desktop.
|
|
|
|
%package color
|
|
Summary: Configuration panel for color management
|
|
Group: System/GUI/GNOME
|
|
Requires: %{name} = %{version}
|
|
# The color panel requires colord to be present for the glib schema
|
|
Requires: colord
|
|
# The color panel interacts with binaries from gnome-color-manager
|
|
Requires: gnome-color-manager
|
|
Supplements: %{name}
|
|
|
|
%description color
|
|
This package provides the color management configuration panel for
|
|
GNOME control center.
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
%patch0 -p1
|
|
%patch15 -p1
|
|
%patch16 -p1
|
|
%patch18 -p1
|
|
%patch19 -p1
|
|
%patch20 -p1
|
|
%patch21 -p1
|
|
%patch22 -p1
|
|
#NEEDS-REBASE
|
|
#patch14 -p1
|
|
|
|
%build
|
|
ACLOCAL_FLAGS="-I libgd" NOCONFIGURE=1 gnome-autogen.sh
|
|
|
|
%configure --with-pic\
|
|
--disable-static\
|
|
--disable-maintainer-mode\
|
|
%if %{with_ibus}
|
|
--enable-ibus
|
|
%else
|
|
--disable-ibus
|
|
%endif
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
# We do not package gnome-control-center.rules (bnc#804966)
|
|
rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
|
|
%find_lang %{name}-2.0 %{?no_lang_C}
|
|
%find_lang %{name}-2.0-timezones %{name}-2.0.lang
|
|
%suse_update_desktop_file gnome-control-center
|
|
# capplets
|
|
%suse_update_desktop_file gnome-background-panel X-SuSE-ControlCenter-LookAndFeel
|
|
%suse_update_desktop_file gnome-color-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-datetime-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-display-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-info-panel X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file gnome-keyboard-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-mouse-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-online-accounts-panel X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file gnome-power-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-printers-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-region-panel X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file gnome-sound-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-universal-access-panel X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file gnome-user-accounts-panel X-SuSE-ControlCenter-Personal
|
|
%if %{with_wacom}
|
|
%suse_update_desktop_file gnome-wacom-panel X-SuSE-ControlCenter-Hardware
|
|
%endif
|
|
%fdupes %{buildroot}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_bindir}/*
|
|
%exclude %{_datadir}/applications/gnome-color-panel.desktop
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/bash-completion/completions/gnome-control-center
|
|
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.service
|
|
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service
|
|
%{_datadir}/gnome-control-center/
|
|
%dir %{_datadir}/gnome-shell/
|
|
%dir %{_datadir}/gnome-shell/search-providers/
|
|
%{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini
|
|
%{_datadir}/icons/hicolor/*/*/*.png
|
|
%{_datadir}/icons/hicolor/*/*/*.svg
|
|
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy
|
|
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy
|
|
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy
|
|
# We do not package gnome-control-center.rules
|
|
#{_datadir}/polkit-1/rules.d/gnome-control-center.rules
|
|
%dir %{_datadir}/sounds/gnome
|
|
%dir %{_datadir}/sounds/gnome/default
|
|
%dir %{_datadir}/sounds/gnome/default/alerts
|
|
%{_datadir}/sounds/gnome/default/alerts/*.ogg
|
|
%{_libexecdir}/cc-remote-login-helper
|
|
%{_libexecdir}/gnome-control-center-search-provider
|
|
|
|
%{_mandir}/man1/gnome-control-center.1%{?ext_man}
|
|
|
|
%files lang -f %{name}-2.0.lang
|
|
|
|
%files user-faces
|
|
%defattr (-, root, root)
|
|
%{_datadir}/pixmaps/faces/
|
|
|
|
%files color
|
|
%defattr(-,root,root)
|
|
%{_datadir}/applications/gnome-color-panel.desktop
|
|
|
|
%files devel
|
|
%defattr (-, root, root)
|
|
%{_datadir}/pkgconfig/gnome-keybindings.pc
|
|
|
|
%changelog
|