2009-12-26 13:39:53 +01:00
|
|
|
#
|
2010-03-18 22:43:04 +01:00
|
|
|
# spec file for package lxsession (Version 0.4.3)
|
2009-12-26 13:39:53 +01:00
|
|
|
#
|
2010-03-11 01:46:51 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-12-26 13:39:53 +01:00
|
|
|
#
|
|
|
|
# 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
|
2010-03-18 22:43:04 +01:00
|
|
|
Version: 0.4.3
|
2010-03-18 22:00:57 +01:00
|
|
|
Release: 2
|
2009-12-26 13:39:53 +01:00
|
|
|
Summary: LXDE Session Manager, required for running the desktop environment
|
|
|
|
Group: System/GUI/Other
|
|
|
|
License: GPL
|
|
|
|
Url: http://www.lxde.org/
|
2010-03-11 01:46:51 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2010-03-18 22:43:04 +01:00
|
|
|
Patch0: %name-0.4.3-fix-buttons-position.patch
|
2009-12-26 13:39:53 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Hong Jen Yee (aka PCMan) <pcman.tw@gmail.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %name-%version
|
2010-03-11 01:46:51 +01:00
|
|
|
%patch0 -p1
|
2009-12-26 13:39:53 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
%configure --enable-man
|
|
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2010-03-11 01:46:51 +01:00
|
|
|
%__rm -rf %buildroot/%_datadir/locale/frp
|
2009-12-26 13:39:53 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
%fdupes -s %buildroot
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%doc ChangeLog README COPYING
|
|
|
|
%{_bindir}/lxsession
|
|
|
|
%{_bindir}/lxsession-logout
|
|
|
|
%dir %{_datadir}/lxsession
|
|
|
|
%dir %{_datadir}/lxsession/images
|
|
|
|
%{_datadir}/lxsession/images/*.png
|
|
|
|
%_mandir/man1/*.1.gz
|
|
|
|
|
|
|
|
%changelog
|