File lxsession-edit.spec of Package lxsession-edit

# spec file for package lxsession-edit
# 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:           lxsession-edit
Version:        0.2.0
Release:        1
License:        GPL-3.0
Source0:        %{name}-%version.tar.bz2
Source1:        lxsession-edit.png
Patch0:         %{name}-0.1.1-icon.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gtk2-devel pkgconfig
BuildRequires:  python python-xml update-desktop-files
BuildRequires:  docbook-xsl-stylesheets intltool
BuildRequires:  docbook-utils fdupes libxslt
Group:          System/GUI/LXDE
Summary:        A tool manage lxsession-lite

LXSession is the default X11 session manager of LXDE.
(LXDE: Lightweight X11 Desktop Environment)

lxsession-edit is a tool used to manage desktop session autostarts, 
especially for lxsession lite.

%setup -q
%patch0 -p1

%__make %{?jobs:-j%{jobs}} V=1

%__install -d %buildroot/%_datadir/pixmaps
%__cp %SOURCE1 %buildroot/%_datadir/pixmaps/
%find_lang %{name}
%suse_update_desktop_file lxsession-edit
%fdupes -s %buildroot

rm -rf "$RPM_BUILD_ROOT"

%if 0%{?suse_version} >= 1140



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