File x2goplasmabindings.spec of Package x2goplasmabindings

#
# spec file for package x2goplasmabindings
#
# 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:           x2goplasmabindings
Summary:        Plasma widget for controlling x2go sessions
Version:        3.0.2.2
Release:        0
Group:          Productivity/Networking/Remote Desktop
License:        GPL-2.0
Url:            http://x2go.org/

#Git-Clone:	git://code.x2go.org/x2goplasmabindings
#Git-Web:	http://code.x2go.org/gitweb?p=x2goplasmabindings.git;a=summary
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
Source4:	%name-rpmlintrc

BuildRequires:	cmake, gcc-c++, libkde4-devel >= 4.4
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:	x2goserver >= 3.1.1.2
%{?kde4_runtime_requires}

%description
This package adds a plasma widget (KDE4) for controlling your x2go
session.

%prep
%setup -q

%build
cmake . \
	-DCMAKE_C_FLAGS:STRING="%optflags" \
	-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
	-DINSTALL_LIB:PATH="%_libdir"
make %{?_smp_mflags};

%install
make install DESTDIR="%buildroot";
%find_lang plasma_applet_x2goplasmoid

%files -f plasma_applet_x2goplasmoid.lang
%defattr(-,root,root)
%_libdir/kde4
%_datadir/icons/*
%_datadir/kde4

%changelog
openSUSE Build Service is sponsored by