File cbftp.spec of Package cbftp

#
# spec file for package cbftp
#
# Copyright (c) 2019-2026, Martin Hauke <mardnh@gmx.de>
#
# 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:           cbftp
Version:        r1293
Release:        0
Summary:        An advanced multi-purpose FTP/FXP client
License:        MIT
Group:          Productivity/Networking/Ftp/Clients
URL:            https://cbftp.glftpd.io/
#SVN-checkout:  https://cbftp.glftpd.io/svn/cbftp
Source:         https://cbftp.glftpd.io/%{name}-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRequires:  libopenssl-devel
BuildRequires:  ncurses-devel

%description
Cbftp is an advanced multi-purpose FTP/FXP client that focuses on efficient
large-scale data spreading, while also supporting most regular FTP/FXP use
cases in a modern way. It runs in a terminal and provides a semi-graphical
user interface through ncurses.

%prep
%autosetup -p1

%build
make %{?_smp_mflags} OPTFLAGS="%optflags"

%install
install -Dm 0755 bin/cbftp %{buildroot}%{_bindir}/cbftp
install -Dm 0755 bin/datafilecat %{buildroot}%{_bindir}/cbftp-datafilecat
install -Dm 0755 bin/datafilewrite %{buildroot}%{_bindir}/cbftp-datafilewrite

%files
%license LICENSE
%doc API README
%{_bindir}/cbftp
%{_bindir}/cbftp-datafilecat
%{_bindir}/cbftp-datafilewrite

%changelog
openSUSE Build Service is sponsored by