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:        3.6.2
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:  libnotify
BuildRequires:  libwnck
BuildRequires:  libxfconf-devel
BuildRequires:  libxklavier
BuildRequires:  dbus-1-devel
BuildRequires:  exo-devel
BuildRequires:  glib-devel
BuildRequires:  gtk2-devel
BuildRequires:  libxfce4ui-devel
BuildRequires:  libxfce4util-devel
BuildRequires:  libcanberra0
BuildRequires:  xorg-x11-devel
BuildRequires:  update-desktop-files
Recommends:     %{name}-lang = %{version}
Requires:       %{name}-branding-SLES >= 4.8.0
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 an number of tools for managing settings in the Xfce
desktop enviornment. 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.


%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
%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

%files lang -f %name.lang

%changelog
* Wed Jan  6 2016 cleber@ssys.com.br
- updated to version 4.8.3
* Sat Aug  8 2015 cleber@ssys.com.br
- package ported for SLE 11
* Fri Feb 18 2011 gber@opensuse.org
- call %%desktop_database_post/un
* Thu Feb  3 2011 gber@opensuse.org
- update to version 4.8.1
  - bugfixes
  - tanslation updates
* Mon Jan 17 2011 gber@opensuse.org
- update to version 4.8.0
  - bugfixes
* Sat Jan 15 2011 gber@opensuse.org
- fixed typo
* Sat Jan 15 2011 gber@opensuse.org
- do not require but recommend -lang subpackage
* Tue Jan 11 2011 gber@opensuse.org
- removed dependency on xfconf
* Wed Jan  5 2011 gber@opensuse.org
- use consistent wording for the branding package
* Mon Dec 27 2010 gber@opensuse.org
- corrected URL
- corrected license
- improved summaries/descriptions
- added proper BRAND comment
- handle desktop files with %%%%suse_update_desktop_file
- mark configurations files as such
- split off -lang subpackage
- remove unsupported locales
- removed empty README
- show compiler output
- enable sound settings
- enable pluggable dialogs
* Sun Dec  5 2010 prusnak@opensuse.org
- updated to 4.7.6
  - Add checks for API change in libnotify 0.7.0.
- updated to 4.7.5
  - Use xfconf_channel_get instead of xfconf_channel_new.
  - Don't activate numlock on first launch.
  - Fix wrong capitalizations of Xfce.
  - Fix compiler warnings.
  - Drop Xfce from the settings manager .desktop name.
  - Fix free of invalid memory (bug #6909).
  - Translations updates (hu, zh_CN, he, pt, gl).
* Wed Dec  1 2010 prusnak@opensuse.org
- use pkgconfig symbol in BuildRequires
* Fri Nov 26 2010 andrea@opensuse.org
- new upstream version 4.7.4
* Wed Jan 13 2010 prusnak@suse.cz
-  updated to 4.6.4
  - Fix /Net/CursorBlinkTime property typo (bug #5488).
  - Improve error handling when setting the button map (part of bug #5004).
  - Fix the check for Xi so it does not fail with Xi2 (bug #4929).
  - Translation updates (ru, ja).
* Wed Nov 11 2009 prusnak@suse.cz
- updated to 4.6.3
* Tue Apr 21 2009 prusnak@suse.cz
- updated to 4.6.1
* Fri Feb 27 2009 prusnak@suse.cz
- updated to 4.6.0 (Xfce 4.6.0 release)
* Mon Aug 18 2008 prusnak@suse.cz
- created package (version 4.5.80)
openSUSE Build Service is sponsored by