File bareftp.spec of Package bareftp

# spec file for package bareftp
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Packman project
# 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

Name:           bareftp
Version:        0.3.10
Release:        0
Summary:        A file transfer client for FTP/FTPS/SFTP
License:        GPL-2.0
Group:          Productivity/Networking/Ftp/Clients
# PATCH-FIX-OPENSUSE- bareftp-dotnet4.patch -- Build for .Net 4.0 target. Upstream is 'dead' (busy porting to python).
Patch0:         bareftp-dotnet4.patch
Requires:       gconf-sharp2
Requires:       gnome-keyring-sharp
Requires:       gtk-sharp2
Requires:       mono-core

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

BuildRequires:  gconf-sharp2
BuildRequires:  glib2-devel
BuildRequires:  gnome-keyring-sharp-devel
BuildRequires:  gnome-sharp2
BuildRequires:  gnome-vfs-sharp2
BuildRequires:  gtk-sharp2
BuildRequires:  intltool
# Needed for patch0
BuildRequires:  libtool
BuildRequires:  mono-data
BuildRequires:  mono-web
BuildRequires:  perl-XML-Parser
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files

bareFTP is a file transfer client supporting the FTP, FTP over SSL/TLS (FTPS)
and SSH File Transfer Protocol (SFTP). It is written in C#, targeting the
Mono framework and the GNOME desktop environment. bareFTP is released under
the terms of the GPL license. 

%setup -q
%patch0 -p1

# Needed for patch0
autoreconf -fiv -I m4/shamrock
%__sed -i -e "s|mono)/|mono)/usr/|g" configure
%configure --with-keyring=no --disable-static
%__make %{?jobs:-j%{jobs}}

find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
%__install -D -m 644 data/%{name}.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
%suse_update_desktop_file %{name} Network FileTransfer
%find_lang %{name}

%files -f %{name}.lang

openSUSE Build Service is sponsored by