File lxsession.spec of Package lxsession

# spec file for package lxsession (Version 0.4.5)
# Copyright (c) 2010 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:           lxsession
Version:        0.4.5
Release:        2
Summary:        LXDE Session Manager, required for running the desktop environment
Group:          System/GUI/LXDE
License:        GPL
Source0:        %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM lxsession-0.4.5-lock-screen-bnc622083.patch bnc#622083
# lxsession-logout should lock the screen before suspending/hibernating/switching users
Patch0:         %name-0.4.5-lock-screen-bnc622083.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  dbus-1-glib-devel fdupes gtk2-devel intltool pkg-config
BuildRequires:  docbook-utils docbook-xsl-stylesheets hal-devel libxslt

LXSession is the standard session manager used by LXDE. The LXSession manager
is used to automatically start a set of applications and set up a working desktop
environment. Moreover, the session manager is able to remember the applications in
use when a user logs out and to restart them the next time the user logs in. 

    Hong Jen Yee (aka PCMan) <>

%setup -q -n %name-%version
%patch0 -p1

autoreconf -fi
%configure --enable-man
%__make %{?jobs:-j%jobs}

%__rm -rf %buildroot/%_datadir/locale/{frp,es_VE,ur_PK}
%find_lang %{name}
%fdupes -s %buildroot


%files -f %{name}.lang
%dir %{_datadir}/lxsession
%dir %{_datadir}/lxsession/images

openSUSE Build Service is sponsored by