LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File x2golxdebindings.spec of Package x2golxdebindings (Project X11:RemoteDesktop:x2go)

#
# spec file for package x2golxdebindings
#
# Copyright (c) 2012 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:           x2golxdebindings
Version:        1.0.1.2
Release:        0
License:        AGPL-3.0+
Url:            http://x2go.org/

#DL-URL:	http://code.x2go.org/releases/source/x2golxdebindings/
#Git-Clone:	git://code.x2go.org/x2golxdebindings
#Git-Web:	http://code.x2go.org/gitweb?p=x2golxdebindings.git;a=summary
Source:         %name-%version.tar.xz
Source2:	%name-rpmlintrc
Summary:        LXDE bindings for X2go
Group:          Productivity/Networking/Remote Desktop

BuildRequires:	xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
x2golxdebindings contains LXDE MIME type information for X2go's local
folder sharing.

%prep
%if 0%{?__xz:1}
%setup -qn %{name}_%version
%else
tar -xf "%{S:0}" --use=xz;
%setup -DTqn %{name}_%version
%endif

%build

%install
b="%buildroot";
c="$b/%_datadir/x2go/versions";
mkdir -p "$c";
install -pm0644 VERSION.x2golxdebindings "$c/";
mkdir -p "$b/%_datadir";
cp -a share/* "$b/%_datadir/";
mkdir -p "$b/%_bindir";
cp -a x2gopcmanfm/* "$b/%_bindir/";

%files
%defattr(-,root,root)
%_bindir/x2gopcmanfm
%_datadir/applications/x2gopcmanfm.desktop
%_datadir/mime/packages/*
%_datadir/x2go

%changelog