2009-12-26 13:39:53 +01:00
|
|
|
#
|
2011-05-31 17:19:20 +02:00
|
|
|
# spec file for package lxsession
|
2009-12-26 13:39:53 +01:00
|
|
|
#
|
2014-11-30 11:24:00 +01:00
|
|
|
# Copyright (c) 2014 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: lxsession
|
2014-11-30 11:24:00 +01:00
|
|
|
Version: 0.5.2
|
2013-09-10 12:42:51 +02:00
|
|
|
Release: 0
|
2009-12-26 13:39:53 +01:00
|
|
|
Summary: LXDE Session Manager, required for running the desktop environment
|
2013-09-10 12:42:51 +02:00
|
|
|
License: GPL-2.0
|
2010-07-14 00:31:45 +02:00
|
|
|
Group: System/GUI/LXDE
|
2009-12-26 13:39:53 +01:00
|
|
|
Url: http://www.lxde.org/
|
2014-10-21 09:57:07 +02:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2013-09-10 12:42:51 +02:00
|
|
|
BuildRequires: dbus-1-glib-devel
|
|
|
|
BuildRequires: docbook-utils
|
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libgee-devel
|
2013-09-15 16:09:25 +02:00
|
|
|
BuildRequires: libtool
|
2014-11-30 11:24:00 +01:00
|
|
|
BuildRequires: libunique1-devel
|
2013-09-15 16:09:25 +02:00
|
|
|
BuildRequires: libxslt
|
2013-09-10 12:42:51 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: polkit-devel
|
2014-11-30 11:24:00 +01:00
|
|
|
BuildRequires: vala >= 0.16
|
|
|
|
Obsoletes: lxsession-edit <= 0.2.0
|
|
|
|
Obsoletes: lxpolkit <= 0.1.0
|
|
|
|
Provides: lxsession-edit > 0.2.0
|
|
|
|
Provides: lxpolkit > 0.1.0
|
2009-12-26 13:39:53 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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
|
2013-09-10 12:42:51 +02:00
|
|
|
use when a user logs out and to restart them the next time the user logs in.
|
2009-12-26 13:39:53 +01:00
|
|
|
|
|
|
|
%prep
|
2013-09-10 12:42:51 +02:00
|
|
|
%setup -q
|
2009-12-26 13:39:53 +01:00
|
|
|
|
|
|
|
%build
|
2013-09-10 12:42:51 +02:00
|
|
|
%configure \
|
|
|
|
--enable-man
|
|
|
|
make %{?_smp_mflags} V=1
|
2009-12-26 13:39:53 +01:00
|
|
|
|
|
|
|
%install
|
2013-09-10 12:42:51 +02:00
|
|
|
%make_install
|
2009-12-26 13:39:53 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2013-09-10 12:42:51 +02:00
|
|
|
# fix icon problems
|
|
|
|
# no such icon lxsession-default-apps
|
|
|
|
sed -i "3d" %{buildroot}%{_datadir}/applications/lxsession-default-apps.desktop
|
|
|
|
# why lxde use xfwm4 icon ?
|
|
|
|
sed -i "3d" %{buildroot}%{_datadir}/applications/lxsession-edit.desktop
|
|
|
|
|
|
|
|
%fdupes %{buildroot}
|
2009-12-26 13:39:53 +01:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,0755)
|
2013-09-10 12:42:51 +02:00
|
|
|
%doc AUTHORS ChangeLog README COPYING TODO
|
2010-12-04 20:07:37 +01:00
|
|
|
%{_bindir}/lxlock
|
2009-12-26 13:39:53 +01:00
|
|
|
%{_bindir}/lxsession
|
|
|
|
%{_bindir}/lxsession-logout
|
2013-09-10 12:42:51 +02:00
|
|
|
%{_bindir}/lxclipboard
|
|
|
|
%{_bindir}/lxpolkit
|
|
|
|
%{_bindir}/lxsession-default
|
|
|
|
%{_bindir}/lxsession-default-apps
|
|
|
|
%{_bindir}/lxsession-default-terminal
|
2014-10-21 10:10:50 +02:00
|
|
|
%{_bindir}/lxsession-xdg-autostart
|
2013-09-10 12:42:51 +02:00
|
|
|
%{_bindir}/lxsession-edit
|
2013-09-15 16:09:25 +02:00
|
|
|
%{_bindir}/lxsession-db
|
|
|
|
%{_bindir}/lxsession-xsettings
|
|
|
|
%{_bindir}/lxsettings-daemon
|
2013-09-10 12:42:51 +02:00
|
|
|
%{_datadir}/lxsession/
|
|
|
|
%{_datadir}/applications/lxsession-default-apps.desktop
|
|
|
|
%{_datadir}/applications/lxsession-edit.desktop
|
|
|
|
%{_mandir}/man1/*.1.gz
|
2014-10-21 10:10:50 +02:00
|
|
|
%{_sysconfdir}/xdg/autostart/lxpolkit.desktop
|
2009-12-26 13:39:53 +01:00
|
|
|
|
|
|
|
%changelog
|