2006-08-07 01:25:39 +00:00
|
|
|
Name: perl-DateTime-Format-HTTP
|
2009-05-17 05:44:48 +00:00
|
|
|
Version: 0.38
|
2009-12-07 12:14:51 +00:00
|
|
|
Release: 4%{?dist}
|
2009-05-17 05:44:48 +00:00
|
|
|
Summary: HTTP protocol date conversion routines
|
2006-08-07 01:25:39 +00:00
|
|
|
|
|
|
|
Group: Development/Libraries
|
2009-05-17 05:44:48 +00:00
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/DateTime-Format-HTTP
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-HTTP-%{version}.tar.gz
|
2006-08-07 01:25:39 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2009-05-17 05:44:48 +00:00
|
|
|
BuildRequires: perl(DateTime) >= 0.17
|
|
|
|
BuildRequires: perl(HTTP::Date) => 1.44
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
BuildRequires: perl(Module::Build)
|
2006-08-07 01:25:39 +00:00
|
|
|
BuildRequires: perl(File::Find::Rule)
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
2009-05-17 05:44:48 +00:00
|
|
|
This module provides functions that deal with the date formats used by the
|
2006-08-07 01:25:39 +00:00
|
|
|
HTTP protocol (and then some).
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n DateTime-Format-HTTP-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
2009-05-17 05:44:48 +00:00
|
|
|
%{_fixperms} %{buildroot}/*
|
2006-08-07 01:25:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
# These will be VERY noisy. Don't Panic.
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2009-05-17 05:57:56 +00:00
|
|
|
%doc LICENSE Changes CREDITS README
|
2006-08-07 01:25:39 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2009-12-07 12:14:51 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.38-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 05:36:34 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-05-17 05:57:56 +00:00
|
|
|
* Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.38-2
|
|
|
|
- rearrange the files in doc as the tarball has changed contents
|
|
|
|
|
2009-05-17 05:44:48 +00:00
|
|
|
* Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.38-1
|
|
|
|
- auto-update to 0.38 (by cpan-spec-update 0.01)
|
|
|
|
|
2009-02-26 14:53:06 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-03-04 19:26:59 +00:00
|
|
|
* Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.37-3
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2006-09-01 04:00:47 +00:00
|
|
|
* Thu Aug 31 2006 Chris Weyl <cweyl.drew.edu> 0.37-2
|
|
|
|
- bump for mass rebuild
|
|
|
|
|
2006-08-10 01:47:11 +00:00
|
|
|
* Wed Aug 09 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.37-1
|
|
|
|
- update to 0.37
|
|
|
|
- nix the SIGNATURE checking bits of the spec file as the author has dropped
|
|
|
|
it from this version
|
|
|
|
|
2006-08-07 01:29:15 +00:00
|
|
|
* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.36-3
|
|
|
|
- bump for build & release
|
|
|
|
|
2006-08-07 01:25:39 +00:00
|
|
|
* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.36-2
|
|
|
|
- add missing buildrequires: perl(File::Find::Rule)
|
|
|
|
|
2009-05-17 05:44:48 +00:00
|
|
|
* Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.36-1
|
2006-08-07 01:25:39 +00:00
|
|
|
- Initial spec file for F-E
|