File x2gognomebindings.spec of Package x2gognomebindings
#
# spec file for package x2gognomebindings
#
# 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: x2gognomebindings
Version: 2.0.2.2
Release: 0
Summary: GNOME mimetypes for x2go
License: GPL-2.0+
Group: Productivity/Networking/Remote Desktop
Url: http://x2go.org/
#DL-URL: http://code.x2go.org/releases/source/x2gognomebindings/
#Git-Clone: git://code.x2go.org/x2gognomebindings
#Git-Web: http://code.x2go.org/gitweb?p=x2gognomebindings.git;a=summary
%define oops_version 2.1.0.7
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: autoconf >= 2.52
BuildRequires: automake
BuildRequires: gconf2-devel
BuildRequires: gnome-common
BuildRequires: intltool
BuildRequires: libtool
%if 0%{?suse_version} >= 1210
BuildRequires: pkgconfig(glib-2.0) >= 2.4.0
BuildRequires: pkgconfig(gmodule-2.0) >= 2.4.0
BuildRequires: pkgconfig(gtk+-2.0) >= 2.4.0
BuildRequires: pkgconfig(libgnome-2.0) >= 2.7.0
BuildRequires: pkgconfig(libnautilus-extension)
%else
BuildRequires: glib2-devel >= 2.4.0
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: libgnome-devel >= 2.7.0
BuildRequires: nautilus-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
x2gognomebindings contains MIME type information for x2go if used
with GNOME desktops.
%prep
%setup -q
%build
./autogen.sh
%configure
make %{?_smp_mflags};
%install
b="%buildroot";
make install DESTDIR="$b";
find "$b" -type f -name "*.la" -delete;
%files
%defattr(-,root,root)
%_libdir/nautilus
%changelog