File xfce4-settings.spec of Package xfce4-settings
#
# spec file for package xfce4-settings
#
# Copyright (c) 2011 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/
#
Name: xfce4-settings
Version: 4.8.3
Release: 5
License: GPLv2 and GPLv2+
Summary: Tools for Managing Xfce Settings
Url: http://www.xfce.org/projects/xfce4-settings
Group: System/GUI/XFCE
Source: %{name}-%{version}.tar.bz2
BuildRequires: intltool
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(exo-1)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libwnck-1.0)
BuildRequires: pkgconfig(libxfce4ui-1)
BuildRequires: pkgconfig(libxfce4util-1.0)
BuildRequires: pkgconfig(libxfconf-0)
BuildRequires: pkgconfig(libxklavier)
BuildRequires: pkgconfig(libxfce4kbd-private-2)
BuildRequires: pkgconfig(libcanberra)
BuildRequires: xorg-x11-devel
BuildRequires: update-desktop-files
Recommends: %{name}-lang = %{version}
Requires: %{name}-branding >= %{version}
Provides: xfce-mcs-manager = %{version}
Obsoletes: xfce-mcs-manager < %{version}
Provides: xfce-mcs-plugins = %{version}
Obsoletes: xfce-mcs-plugins < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package provides a number of tools for managing settings in the Xfce
desktop environment. xfce4-settings-manager provides a graphical frontend for
customizing the desktop environment and configuring certain hardware features.
xfce4-settings-helper is a daemon which provides features such as keyboard
shortcuts, AccessX notification and updates of keyboard and mouse-pointer data.
xfce4-settings-editor is an editor for raw xfconf properties and xfsettingsd is
a daemon which exports XSettings to applications.
%package branding-upstream
License: GPLv2 and GPLv2+
Summary: Upstream Branding of xfce4-settings
Supplements: packageand(%{name}:branding-upstream)
Provides: %{name}-branding = %{version}
Conflicts: otherproviders(%{name}-branding)
#BRAND: xsettings.xml: Determines diverse settings including the default theme
#BRAND: and anti-aliasing default settings.
BuildArch: noarch
%description branding-upstream
This package provides the upstream look and feel for Xfce.
%lang_package
%prep
%setup -q
%build
%configure \
--enable-sound-settings \
--enable-pluggable-dialogs
make %{?_smp_mflags} V=1
%install
%make_install
%suse_update_desktop_file xfce-display-settings
%suse_update_desktop_file xfce-keyboard-settings
%suse_update_desktop_file xfce-mouse-settings
%suse_update_desktop_file xfce4-settings-editor
%suse_update_desktop_file xfce4-accessibility-settings
%suse_update_desktop_file xfce-ui-settings
%suse_update_desktop_file xfce-settings-manager
%suse_update_desktop_file xfce4-settings-helper-autostart
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK}
%find_lang %{name}
%clean
rm -rf %{buildroot}
%if 0%{?suse_version} >= 1140
%post
%desktop_database_post
%postun
%desktop_database_postun
%endif
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS TODO
%{_bindir}/xfce4-accessibility-settings
%{_bindir}/xfce4-appearance-settings
%{_bindir}/xfce4-display-settings
%{_bindir}/xfce4-keyboard-settings
%{_bindir}/xfce4-mouse-settings
%{_bindir}/xfce4-settings-editor
%{_bindir}/xfce4-settings-helper
%{_bindir}/xfce4-settings-manager
%{_bindir}/xfsettingsd
%{_datadir}/applications/*.desktop
%{_sysconfdir}/xdg/autostart/xfce4-settings-helper-autostart.desktop
%files lang -f %name.lang
%files branding-upstream
%defattr(-,root,root)
%dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
%changelog