Bernard Johnson aa2b6dd
%global         _module_name Net-FTP-AutoReconnect
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
Name:           perl-%{_module_name}
Bernard Johnson aa2b6dd
Version:        0.3
5935d0e
Release:        25%{?dist}
Bernard Johnson aa2b6dd
Summary:        FTP client class with automatic reconnect on failure
Bernard Johnson aa2b6dd
License:        GPL+ or Artistic
76ee7da
URL:            https://metacpan.org/release/%{_module_name}-%{version}
76ee7da
Source0:        https://cpan.metacpan.org/authors/id/G/GI/GIFF/%{_module_name}-%{version}.tar.gz
Bernard Johnson aa2b6dd
BuildArch:      noarch
d89b164
BuildRequires:  coreutils
d89b164
BuildRequires:  findutils
d89b164
BuildRequires:  make
7a0f51a
BuildRequires:  perl-interpreter
a1d8b8d
BuildRequires:  perl-generators
d89b164
BuildRequires:  perl(ExtUtils::MakeMaker)
d89b164
# Run-time:
d89b164
BuildRequires:  perl(Net::FTP)
d89b164
BuildRequires:  perl(strict)
d89b164
BuildRequires:  perl(warnings)
d89b164
# Tests:
d89b164
BuildRequires:  perl(Test::More)
875fe56
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
%{?perl_default_filter}
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
%description
Bernard Johnson aa2b6dd
This is a FTP client class with automatic reconnect on failure.
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
%prep
Bernard Johnson aa2b6dd
%setup -q -n %{_module_name}-%{version}
875fe56
chmod a-x lib/Net/FTP/AutoReconnect.pm
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
%build
875fe56
perl Makefile.PL INSTALLDIRS=vendor
Bernard Johnson aa2b6dd
make %{?_smp_mflags}
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
%install
Bernard Johnson aa2b6dd
make pure_install DESTDIR=$RPM_BUILD_ROOT
875fe56
find $RPM_BUILD_ROOT -type f -name .packlist -delete
Bernard Johnson aa2b6dd
%{_fixperms} $RPM_BUILD_ROOT/*
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
%check
Bernard Johnson aa2b6dd
make test
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
%files
Bernard Johnson aa2b6dd
%{perl_vendorlib}/*
Bernard Johnson aa2b6dd
%{_mandir}/man3/*.3*
Bernard Johnson aa2b6dd
%doc t
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
%changelog
5935d0e
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-25
5935d0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5935d0e
7ae9f21
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-24
7ae9f21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7ae9f21
deb994f
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.3-23
deb994f
- Perl 5.28 rebuild
deb994f
1dcea2d
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-22
1dcea2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1dcea2d
36be816
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-21
36be816
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
36be816
0f0ec7a
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.3-20
0f0ec7a
- Perl 5.26 rebuild
0f0ec7a
e4fc3d3
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-19
e4fc3d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e4fc3d3
875fe56
* Wed Jun 29 2016 Petr Pisar <ppisar@redhat.com> - 0.3-18
875fe56
- Modernize spec file
875fe56
5149f47
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.3-17
5149f47
- Perl 5.24 rebuild
5149f47
2194ca3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-16
2194ca3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2194ca3
d89b164
* Tue Jul 14 2015 Petr Pisar <ppisar@redhat.com> - 0.3-15
d89b164
- Specify all dependencies (bug #1242790)
d89b164
d125aa2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-14
d125aa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d125aa2
6f3391c
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.3-13
6f3391c
- Perl 5.22 rebuild
6f3391c
5b7d9b5
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.3-12
5b7d9b5
- Perl 5.20 rebuild
5b7d9b5
b9fcd7f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-11
b9fcd7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b9fcd7f
f646d39
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-10
f646d39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f646d39
4294dc4
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.3-9
4294dc4
- Perl 5.18 rebuild
4294dc4
ec177a6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-8
ec177a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ec177a6
1ed8b26
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-7
1ed8b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1ed8b26
d3cbe7c
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.3-6
d3cbe7c
- Perl 5.16 rebuild
d3cbe7c
b47e280
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-5
b47e280
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b47e280
Petr Sabata c55fd17
* Fri Jul 22 2011 Petr Sabata <contyk@redhat.com> - 0.3-4
Petr Sabata c55fd17
- Perl mass rebuild
Petr Sabata c55fd17
Bernard Johnson aa2b6dd
* Mon Jul 18 2011 Bernard Johnson <bjohnson@symetrix.com> - 0.3-3
Bernard Johnson aa2b6dd
- remove duplicated doc spec
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
* Sun Jul 17 2011 Bernard Johnson <bjohnson@symetrix.com> - 0.3-2
Bernard Johnson aa2b6dd
- add test cases for doc
Bernard Johnson aa2b6dd
Bernard Johnson aa2b6dd
* Fri Jul 08 2011 Bernard Johnson <bjohnson@symetrix.com> - 0.3-1
Bernard Johnson aa2b6dd
- initial package