Blob Blame History Raw
%global         _module_name Net-FTP-AutoReconnect

Name:           perl-%{_module_name}
Version:        0.3
Release:        4%{?dist}
Summary:        FTP client class with automatic reconnect on failure

Group:          Development/Libraries
License:        GPL+ or Artistic
URL:  {_module_name}-%{version}/
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch

BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))


This is a FTP client class with automatic reconnect on failure.

%setup -q -n %{_module_name}-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/*
chmod a-x $RPM_BUILD_ROOT/%{perl_vendorlib}/Net/FTP/*pm

make test


%doc t

* Fri Jul 22 2011 Petr Sabata <> - 0.3-4
- Perl mass rebuild

* Mon Jul 18 2011 Bernard Johnson <> - 0.3-3
- remove duplicated doc spec

* Sun Jul 17 2011 Bernard Johnson <> - 0.3-2
- add test cases for doc

* Fri Jul 08 2011 Bernard Johnson <> - 0.3-1
- initial package