3a5e48
Name:           perl-File-Listing
3a5e48
Version:        6.04
3a5e48
Release:        17%{?dist}
3a5e48
Summary:        Parse directory listing
3a5e48
License:        GPL+ or Artistic
3a5e48
Group:          Development/Libraries
3a5e48
URL:            http://search.cpan.org/dist/File-Listing/
3a5e48
Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/File-Listing-%{version}.tar.gz
3a5e48
BuildArch:      noarch
3a5e48
BuildRequires:  perl-interpreter
3a5e48
BuildRequires:  perl-generators
3a5e48
BuildRequires:  perl(Carp)
3a5e48
BuildRequires:  perl(Exporter)
3a5e48
BuildRequires:  perl(ExtUtils::MakeMaker)
3a5e48
BuildRequires:  perl(HTTP::Date) >= 6
3a5e48
BuildRequires:  perl(strict)
3a5e48
BuildRequires:  perl(Time::Local)
3a5e48
BuildRequires:  perl(vars)
3a5e48
# Tests:
3a5e48
# Do not BuildRequire optinal perl(LWP::Simple) to break dependency circle.
3a5e48
BuildRequires:  perl(Test)
3a5e48
BuildRequires:  perl(Test::More)
3a5e48
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
3a5e48
Requires:       perl(HTTP::Date) >= 6
3a5e48
Requires:       perl(Time::Local)
3a5e48
Conflicts:      perl-libwww-perl < 6
3a5e48
3a5e48
# RPM 4.9 style
3a5e48
# Remove underspecified dependencies
3a5e48
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(HTTP::Date\\)\s*$
3a5e48
# Do not provide private modules
3a5e48
%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(File::Listing::
3a5e48
3a5e48
%description
3a5e48
This module exports a single function called parse_dir(), which can be used
3a5e48
to parse directory listings.
3a5e48
3a5e48
%prep
3a5e48
%setup -q -n File-Listing-%{version}
3a5e48
3a5e48
%build
3a5e48
perl Makefile.PL INSTALLDIRS=vendor
3a5e48
make %{?_smp_mflags}
3a5e48
3a5e48
%install
3a5e48
make pure_install DESTDIR=%{buildroot}
3a5e48
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
3a5e48
%{_fixperms} %{buildroot}/*
3a5e48
3a5e48
%check
3a5e48
make test
3a5e48
3a5e48
%files
3a5e48
%doc Changes README
3a5e48
%{perl_vendorlib}/*
3a5e48
%{_mandir}/man3/*
3a5e48
3a5e48
%changelog
3a5e48
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-17
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3a5e48
3a5e48
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-16
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3a5e48
3a5e48
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6.04-15
3a5e48
- Perl 5.26 rebuild
3a5e48
3a5e48
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-14
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3a5e48
3a5e48
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 6.04-13
3a5e48
- Perl 5.24 rebuild
3a5e48
3a5e48
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.04-12
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3a5e48
3a5e48
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-11
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3a5e48
3a5e48
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.04-10
3a5e48
- Perl 5.22 rebuild
3a5e48
3a5e48
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.04-9
3a5e48
- Perl 5.20 rebuild
3a5e48
3a5e48
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-8
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3a5e48
3a5e48
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-7
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3a5e48
3a5e48
* Thu Jul 25 2013 Petr Šabata <contyk@redhat.com> - 6.04-6
3a5e48
- Add missing built-time dependencies
3a5e48
- Modernize the spec a bit
3a5e48
3a5e48
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 6.04-5
3a5e48
- Perl 5.18 rebuild
3a5e48
3a5e48
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-4
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3a5e48
3a5e48
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-3
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3a5e48
3a5e48
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.04-2
3a5e48
- Perl 5.16 rebuild
3a5e48
3a5e48
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.04-1
3a5e48
- 6.04 bump
3a5e48
3a5e48
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-2
3a5e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3a5e48
3a5e48
* Tue Sep 20 2011 Petr Pisar <ppisar@redhat.com> - 6.03-1
3a5e48
- 6.03 bump
3a5e48
- Build-require perl(Test::More) needed for tests
3a5e48
3a5e48
* Mon Jul 25 2011 Petr Pisar <ppisar@redhat.com> - 6.02-3
3a5e48
- RPM 4.9 dependency filtering added
3a5e48
3a5e48
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.02-2
3a5e48
- Perl mass rebuild
3a5e48
3a5e48
* Wed Mar 23 2011 Petr Pisar <ppisar@redhat.com> - 6.02-1
3a5e48
- 6.02 bump
3a5e48
3a5e48
* Wed Mar 16 2011 Petr Pisar <ppisar@redhat.com> 6.01-1
3a5e48
- Specfile autogenerated by cpanspec 1.78.
3a5e48
- Remove BuildRoot stuff
3a5e48
- Conflict with perl-libwww-perl-5* and older
3a5e48
- Do not provide private modules