forked from pool/gnome-control-center
191 lines
6.7 KiB
RPMSpec
191 lines
6.7 KiB
RPMSpec
#
|
|
# spec file for package gnome-control-center (Version 2.27.4.1)
|
|
#
|
|
# Copyright (c) 2009 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: gnome-control-center
|
|
BuildRequires: PolicyKit-gnome-devel
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: evolution-data-server-devel
|
|
BuildRequires: fdupes
|
|
BuildRequires: gnome-common
|
|
BuildRequires: gnome-desktop-devel
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: gnome-menus-devel
|
|
BuildRequires: gnome-panel-devel
|
|
BuildRequires: gnome-settings-daemon-devel
|
|
BuildRequires: gstreamer010-plugins-base-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libglade2-devel
|
|
BuildRequires: libgnomekbd-devel
|
|
BuildRequires: librsvg-devel
|
|
BuildRequires: libxklavier-devel
|
|
BuildRequires: metacity-devel
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: xorg-x11
|
|
License: GPL v2 or later
|
|
Group: System/GUI/GNOME
|
|
Obsoletes: fontilus themus acme
|
|
Provides: fontilus themus acme
|
|
Version: 2.27.4.1
|
|
Release: 1
|
|
Summary: The GNOME Control Center
|
|
Source: %{name}-%{version}.tar.bz2
|
|
# PATCH-FIX-UPSTREAM gnome-control-center-bnc427745-force-dpi.patch bnc427745 bgo553652 vuntz@novell.com -- Force the DPI to 96 right now to avoid big fonts.
|
|
Patch1: gnome-control-center-bnc427745-force-dpi.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-FEATURE-OPENSUSE gnome-control-center-use-settings-menu.patch
|
|
Patch28: gnome-control-center-use-settings-menu.patch
|
|
# PATCH-FIX-OPENSUSE gnome-control-center-bnc373197-layout-switch-keybinding.patch bnc373197 vuntz@novell.com -- this is a temporary hack to change the default layout switching keybinding
|
|
Patch30: gnome-control-center-bnc373197-layout-switch-keybinding.patch
|
|
# PATCH-FIX-UPSTREAM gnome-control-center-bnc436206-add-to-default.patch bnc436206 sreeves@novell.com -- Add groupwise to defaults list
|
|
Patch31: gnome-control-center-bnc436206-add-to-default.patch
|
|
Url: http://www.gnome.org
|
|
Requires: nautilus gnome-settings-daemon gnome-menus libcanberra-gtk
|
|
Requires: %{name}-lang = %{version}
|
|
PreReq: permissions
|
|
Recommends: gnome-audio
|
|
Provides: control-center2 = 2.22.1
|
|
Obsoletes: control-center2 <= 2.22.1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%gconf_schemas_prereq
|
|
|
|
%description
|
|
This package contains the control center for the GNOME 2.x Desktop.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Jonathan Blandford <jrb@redhat.com>
|
|
|
|
%package devel
|
|
License: GPL v2 or later
|
|
Summary: Header files for the GNOME Control Center
|
|
Group: System/GUI/GNOME
|
|
Requires: %{name} = %{version} dbus-1-devel glib2-devel gtk2-devel gnome-desktop-devel gnome-menus-devel libglade2-devel libgnomeui-devel librsvg-devel pango-devel
|
|
Requires: dbus-1-glib-devel
|
|
Provides: control-center2-devel = 2.22.1
|
|
Obsoletes: control-center2-devel <= 2.22.1
|
|
|
|
%description devel
|
|
This package contains the control center for the GNOME 2.x Desktop.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Jonathan Blandford <jrb@redhat.com>
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
%patch1 -p1
|
|
#NEEDS-REBASE
|
|
#%patch14 -p1
|
|
%patch28
|
|
%patch30 -p1
|
|
%patch31 -p1
|
|
|
|
%build
|
|
autoreconf -f -i
|
|
%configure --with-pic\
|
|
--libexecdir=%{_prefix}/lib/control-center-2.0\
|
|
--disable-static\
|
|
--disable-scrollkeeper\
|
|
--disable-update-mimedb\
|
|
--enable-aboutme
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%suse_update_desktop_file -N "Control Center" -G "Personal Settings" -C "Configure the desktop" gnomecc DesktopSettings
|
|
# capplets
|
|
%suse_update_desktop_file at-properties X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file default-applications X-SuSE-ControlCenter-System DesktopSettings AdvancedSettings
|
|
%suse_update_desktop_file display-properties X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-about-me X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file gnome-network-properties X-SuSE-ControlCenter-System AdvancedSettings
|
|
%suse_update_desktop_file gnome-settings-mouse X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-appearance-properties X-SuSE-ControlCenter-LookAndFeel
|
|
%suse_update_desktop_file keybinding X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file keyboard X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file window-properties X-SuSE-ControlCenter-LookAndFeel
|
|
%suse_update_desktop_file gnome-at-session
|
|
%suse_update_desktop_file gnome-font-viewer
|
|
%suse_update_desktop_file gnome-theme-installer
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/mimeinfo.cache
|
|
%find_lang %{name}-2.0
|
|
%find_lang control-center %{name}-2.0.lang
|
|
%find_gconf_schemas
|
|
cat %{name}.schemas_list >gnome-%{name}.lst
|
|
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
|
|
%fdupes $RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
if test -x usr/bin/update-mime-database ; then
|
|
usr/bin/update-mime-database usr/share/mime >/dev/null
|
|
fi
|
|
%run_permissions
|
|
%verifyscript
|
|
%verify_permissions -e %{_sbindir}/change-passwd
|
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
if test -x usr/bin/update-mime-database ; then
|
|
usr/bin/update-mime-database usr/share/mime >/dev/null
|
|
fi
|
|
|
|
%files -f gnome-%{name}.lst
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
%{_bindir}/*
|
|
%{_sysconfdir}/xdg/autostart/*.desktop
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/desktop-directories/*.directory
|
|
%{_datadir}/gnome/cursor-fonts
|
|
%{_datadir}/gnome-control-center
|
|
%{_datadir}/icons/hicolor/*/*/*.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
|
%{_datadir}/mime/packages/*.xml
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/window-manager-settings
|
|
%{_sysconfdir}/xdg/menus/gnomecc.menu
|
|
|
|
%files lang -f %{name}-2.0.lang
|
|
|
|
%files devel
|
|
%defattr (-, root, root)
|
|
%{_includedir}/gnome-window-settings-2.0
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_datadir}/pkgconfig/*.pc
|
|
|
|
%changelog
|