A new user interface for you! Read more...

File perl-Net-FTPSSL.spec of Package perl-Net-FTPSSL

# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-Net-FTPSSL
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org>
#
# 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/
#


# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           perl-Net-FTPSSL
Version:        0.15
Release:        0
Summary:        FTP over SSL/TLS
License:        GPL-2.0+ or Artistic-1.0
Group:          Development/Libraries/Perl
Source:         http://search.cpan.org/CPAN/authors/id/C/CL/CLEACH/Net-FTPSSL-%{version}.tar.gz
Url:            http://search.cpan.org/dist/Net-FTPSSL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  make
BuildRequires:  perl-macros
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(File::Basename)
BuildRequires:  perl(File::Copy)
BuildRequires:  perl(IO::Socket::SSL) >= 1.08
BuildRequires:  perl(Net::SSLeay::Handle)
BuildRequires:  perl(Sys::Hostname)
BuildRequires:  perl(Time::Local)
Requires:       perl(File::Basename)
Requires:       perl(File::Copy)
Requires:       perl(IO::Socket::SSL) >= 1.08
Requires:       perl(Net::SSLeay::Handle)
Requires:       perl(Sys::Hostname)
Requires:       perl(Time::Local)
#%if 0%{?suse_version} >= 1120
BuildArch:      noarch
#%endif

%description
Net::FTPSSL is a class implementing a simple FTP client over a Secure Shell
Layer (SSL) connection written in Perl as described in RFC959 and RFC2228.

%prep
%setup -q -n "Net-FTPSSL-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL

%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?_smp_flags}

%install
%perl_make_install
%perl_process_packlist

%check
%__make test

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/Net
%{perl_vendorlib}/Net/FTPSSL.pm
%doc %{perl_man3dir}/Net::FTPSSL.%{perl_man3ext}%{ext_man}

%changelog