File x2goclient-gtk.spec of Package x2goclient-gtk

#
# spec file for package x2goclient-gtk (Version 3.01)
#
# Copyright (c) 2009 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/
#

# norootforbuild

Name:           x2goclient-gtk
Version:        3.01
Release:        1
License:        GPL v2
Url:            http://www.x2go.org/
Source:         %{name}-%{version}.tar.gz
# PATCH-FIX-SUSE remove_sigc_compatibility.patch gburt@novell.com
Patch0:         remove_sigc_compatibility.patch
Summary:        X2GO Client for GNOME
Group:          Productivity/Networking/Remote Desktop
BuildRequires:  automake gtkmm2-devel libglademm-devel libldapcpp-devel cups-devel libsigc++2-devel
BuildRequires:  intltool
BuildRequires:  pkg-config
BuildRequires:  update-desktop-files
Requires:       %{name}-lang = %{version}
Requires:       gtkmm2 libglademm libldapcpp cups libsigc++2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
X2GO Client for GNOME

%lang_package
%prep
%setup -q
%patch0 -p0

%build
%configure
%__make %{?jobs: -j%jobs}

%install
%makeinstall
%find_lang %{name}

%files
%defattr(-, root, root)
%doc COPYING AUTHORS
%{_prefix}/bin/x2goclient_gtk
%dir %{_datadir}/x2goclient_gtk
%dir %{_datadir}/x2goclient_gtk/glade
%dir %{_datadir}/x2goclient_gtk/png
%dir %{_datadir}/x2goclient_gtk/png/icons
%dir %{_datadir}/x2goclient_gtk/png/icons/*
%{_datadir}/x2goclient_gtk/glade/*
%{_datadir}/x2goclient_gtk/png/icons/*/*

%files lang -f %{name}.lang

%changelog