48767c
Name:           perl-HTTP-Date
48767c
Version:        6.02
48767c
Release:        8%{?dist}
48767c
Summary:        Date conversion routines
48767c
License:        GPL+ or Artistic
48767c
Group:          Development/Libraries
48767c
URL:            http://search.cpan.org/dist/HTTP-Date/
48767c
Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Date-%{version}.tar.gz
48767c
BuildArch:      noarch
48767c
BuildRequires:  perl
48767c
BuildRequires:  perl(ExtUtils::MakeMaker)
48767c
BuildRequires:  perl(strict)
48767c
# Run-time
48767c
BuildRequires:  perl(Exporter)
48767c
BuildRequires:  perl(Time::Local)
48767c
# perl(Time::Zone) not used
48767c
BuildRequires:  perl(vars)
48767c
# Tests only:
48767c
BuildRequires:  perl(Test)
48767c
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
48767c
# Strongly recommended:
48767c
Requires:       perl(Time::Zone)
48767c
Conflicts:      perl-libwww-perl < 6
48767c
48767c
%description
48767c
This module provides functions that deal the date formats used by the HTTP
48767c
protocol (and then some more). Only the first two functions, time2str() and
48767c
str2time(), are exported by default.
48767c
48767c
%prep
48767c
%setup -q -n HTTP-Date-%{version}
48767c
48767c
%build
48767c
perl Makefile.PL INSTALLDIRS=vendor
48767c
make %{?_smp_mflags}
48767c
48767c
%install
48767c
make pure_install DESTDIR=%{buildroot}
48767c
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
48767c
%{_fixperms} %{buildroot}/*
48767c
48767c
%check
48767c
make test
48767c
48767c
%files
48767c
%doc Changes README
48767c
%{perl_vendorlib}/*
48767c
%{_mandir}/man3/*
48767c
48767c
%changelog
48767c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.02-8
48767c
- Mass rebuild 2013-12-27
48767c
48767c
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 6.02-7.1
48767c
- Don't BR Time::Zone
48767c
48767c
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 6.02-7
48767c
- Fix the dependency list
48767c
48767c
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 6.02-6
48767c
- Perl 5.18 rebuild
48767c
48767c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5
48767c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
48767c
48767c
* Tue Nov 13 2012 Petr Šabata <contyk@redhat.com> - 6.02-4
48767c
- Modernize the spec, drop command macros
48767c
48767c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-3
48767c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
48767c
48767c
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 6.02-2
48767c
- Perl 5.16 rebuild
48767c
48767c
* Mon Apr 02 2012 Petr Pisar <ppisar@redhat.com> - 6.02-1
48767c
- 6.02 bump
48767c
48767c
* Thu Feb 16 2012 Petr Pisar <ppisar@redhat.com> - 6.01-1
48767c
- 6.01 bump
48767c
48767c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.00-3
48767c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
48767c
48767c
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-2
48767c
- Perl mass rebuild
48767c
48767c
* Wed Mar 16 2011 Petr Pisar <ppisar@redhat.com> 6.00-1
48767c
- Specfile autogenerated by cpanspec 1.78.
48767c
- Remove BuildRoot stuff
48767c
- Conflict with perl-libwww-perl-5* and older