File wput.spec of Package wput

#
# spec file for package wput
#
# Copyright (c) 2017 SUSE LINUX 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:           wput
Version:        0.6.2
Release:        0.pm.0
Summary:        A utility for uploading files or whole directories to remote ftp-servers
License:        GPL-2.0
Group:          Productivity/Networking/Web/Utilities
Url:            http://wput.sourceforge.net/
Source:         http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch0:         wput-destdir.patch
BuildRequires:  gettext
BuildRequires:  gnutls-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Wput is a command-line ftp-client that looks like wget but instead of
downloading, uploads files or whole directories to remote ftp-servers.

%lang_package

%prep
%setup -q
%patch0

%build
%configure
make %{?_smp_mflags}

%install
%make_install
%find_lang %{name}

%files lang -f %{name}.lang
%defattr(-,root,root,-)

%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING TODO doc/USAGE.* doc/wputrc
%{_bindir}/wput
%{_bindir}/wdel
%{_mandir}/man1/wput.1%{ext_man}
%{_mandir}/man1/wdel.1%{ext_man}

%changelog
openSUSE Build Service is sponsored by