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 http://bugs.opensuse.org/
#
# norootforbuild
Name: lxsession-edit
Version: 0.1.1
Release: 10.<RELEASE2>
License: GPLv3
Source0: %{name}-%version.tar.bz2
Source1: lxsession-edit.png
Patch0: %{name}-0.1.1-icon.patch
Patch1: %{name}-0.1.1-obsolete.patch
Patch2: %{name}-0.1.1-fix-missing-intltool-init.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gtk2-devel pkgconfig
BuildRequires: python python-xml update-desktop-files
BuildRequires: autoconf automake docbook-xsl-stylesheets intltool
BuildRequires: docbook-utils fdupes hal-devel libxslt
Group: System/GUI/LXDE
Summary: A tool manage lxsession-lite
%description
LXSession is the default X11 session manager of LXDE.
(LXDE: Lightweight X11 Desktop Environment)
http://lxde.sourceforge.net/
lxsession-edit is a tool used to manage desktop session autostarts,
especially for lxsession lite.
%prep
%setup -q -n %name-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
autoreconf -fi
%configure
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%__rm -rf %{buildroot}/%{_datadir}/locale/ur_PK
%__install -d %buildroot/%_datadir/pixmaps
%__cp %SOURCE1 %buildroot/%_datadir/pixmaps/
%find_lang %{name}
%suse_update_desktop_file lxsession-edit
%fdupes -s %buildroot
%clean
rm -rf "$RPM_BUILD_ROOT"
%files -f %{name}.lang
%defattr(-,root,root)
%doc README AUTHORS
%{_bindir}/lxsession-edit
%{_datadir}/applications/lxsession-edit.desktop
%dir %{_datadir}/lxsession-edit
%{_datadir}/lxsession-edit/lxsession-edit.ui
%{_datadir}/pixmaps/lxsession-edit.png
%changelog