File bareftp.spec of Package bareftp
#
# spec file for package bareftp
#
# Copyright (c) 2015 SUSE LINUX 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 http://bugs.opensuse.org/
#
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
Url: http://www.bareftp.org/
Source0: http://www.bareftp.org/release/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE- bareftp-dotnet4.patch dimstar@opensuse.org -- 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-devel
BuildRequires: mono-web
BuildRequires: perl-XML-Parser
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
%description
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.
%prep
%setup -q
%patch0 -p1
%build
# Needed for patch0
autoreconf -fiv -I m4/shamrock
%configure --with-keyring=no --disable-static
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
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
%defattr(-,root,root,-)
%doc COPYING README ChangeLog AUTHORS
%{_bindir}/%{name}
%{_libdir}/%{name}/
%{_libexecdir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/man1/%{name}.1.gz
%changelog