A new user interface for you! Read more...

File lightdm-remote-session-x2go.spec of Package lightdm-remote-session-x2go

#
# spec file for package lightdm-remote-session-x2go
#
# Copyright (c) 2013 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/
#


Name:           lightdm-remote-session-x2go
Version:        0.0.1.0
Release:        0
Summary:        Log into x2go sessions via lightdm
License:        GPL-3.0
Group:          Productivity/Networking/Remote Desktop
Url:            http://x2go.org/

#DL-URL:	http://code.x2go.org/releases/source/lightdm-remote-session-x2go/
#Git-Clone:	git://code.x2go.org/lightdm-remote-session-x2go
#Git-Web:	http://code.x2go.org/gitweb?p=lightdm-remote-session-x2go.git
Source:         http://code.x2go.org/releases/source/%name/%name-%version.tar.gz
Source2:        http://code.x2go.org/releases/source/%name/%name-%version.tar.gz.asc
Source3:        %name.keyring
Patch1:         0001-build-continue-to-run-even-in-the-absence-of-AM_SILE.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gnome-common
Requires:       lightdm >= 1.3.3
Requires:       pam_x2go
Requires:       pyhoca-cli >= 0.2.1.0
Requires:       socat
Requires:       zenity

%description
The configuration files needed and scripts required to login to a
full screen x2go session using LightDM and pyhoca/python-x2go.

%prep
%setup -q
%patch -P 1 -p1

%build
if [ ! -e configure ]; then
	NOCONFIGURE=1 ./autogen.sh;
fi;
%configure
make %{?_smp_mflags};

%install
b="%buildroot";
make install DESTDIR="$b";

%files
%defattr(-,root,root)
%config %_sysconfdir/apparmor.d
%config(noreplace) %_sysconfdir/pam.d
%_libexecdir/x2go-session-wrapper
%_datadir/lightdm
%_datadir/%name

%changelog