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