File xdg-user-dirs-gtk.spec of Package xdg-user-dirs-gtk

# spec file for package xdg-user-dirs-gtk
# 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

# norootforbuild

Name:           xdg-user-dirs-gtk
BuildRequires:  gtk2-devel intltool perl-XML-Parser translation-update-upstream update-desktop-files xdg-user-dirs
License:        GPLv2+
Group:          System/GUI/GNOME
Summary:        xdg-user-dir support for Gnome and Gtk+ applications
Version:        0.8
Release:        13
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM xdg-user-dirs-gtk-LXDE-autostart.patch fdo#26553 bnc#561145 -- Make xdg-user-dirs-gtk autostart on lxde session too
Patch0:         %{name}-LXDE-autostart.patch
# PATCH-FIX-UPSTREAM xdg-user-dirs-gtk-XFCE-LXDE-autostart.patch fdo#33107 -- Start xdg-user-dirs-gtk in Xfce sessions as well
Patch1:         %{name}-XFCE-autostart.patch
Requires:       xdg-user-dirs %{name}-lang = %{version}

A companion to xdg-user-dirs that integrates it into the Gnome desktop
and Gtk+ applications.	Presents a dialog when a user changes locales
to help move they standard user directories to the correct names.

    Alexander Larsson -

%setup -q
%patch0 -p1
%patch1 -p1

%__make %{?jobs:-j %jobs}

%suse_update_desktop_file $RPM_BUILD_ROOT/%{_sysconfdir}/xdg/autostart/*.desktop
%find_lang %{name}



%files lang -f %{name}.lang

openSUSE Build Service is sponsored by