| [7292] | 1 | Name: perl-DateTime-Format-HTTP |
|---|
| [9167] | 2 | Version: 0.42 |
|---|
| [7292] | 3 | Release: 1%{?_dist_release} |
|---|
| 4 | Summary: HTTP protocol date conversion routines |
|---|
| 5 | |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | License: GPL+ or Artistic |
|---|
| 8 | URL: http://search.cpan.org/dist/DateTime-Format-HTTP |
|---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/C/CK/CKRAS/DateTime-Format-HTTP-%{version}.tar.gz |
|---|
| 10 | |
|---|
| [9167] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| [7292] | 12 | BuildArch: noarch |
|---|
| 13 | BuildRequires: perl(Class::ISA) |
|---|
| 14 | BuildRequires: perl(DateTime) >= 0.17 |
|---|
| 15 | BuildRequires: perl(HTTP::Date) => 1.44 |
|---|
| 16 | BuildRequires: perl(Test::More) >= 0.47 |
|---|
| [9167] | 17 | BuildRequires: perl(Module::Build) >= 0.38 |
|---|
| [7292] | 18 | BuildRequires: perl(File::Find::Rule) |
|---|
| 19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 20 | |
|---|
| 21 | %description |
|---|
| 22 | This module provides functions that deal with the date formats used by the |
|---|
| 23 | HTTP protocol (and then some). |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | %prep |
|---|
| 27 | %setup -q -n DateTime-Format-HTTP-%{version} |
|---|
| 28 | |
|---|
| 29 | # fix up crlf |
|---|
| 30 | sed -i -e 's/\r//' LICENSE README Changes CREDITS |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | %build |
|---|
| 34 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
|---|
| 35 | make %{?_smp_mflags} |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | %install |
|---|
| 39 | make pure_install DESTDIR=%{buildroot} |
|---|
| 40 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
|---|
| 41 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
|---|
| 42 | %{_fixperms} %{buildroot}/* |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | %check |
|---|
| 46 | # These will be VERY noisy. Don't Panic. |
|---|
| 47 | make test |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | %files |
|---|
| 51 | %defattr(-,root,root,-) |
|---|
| 52 | %doc LICENSE Changes CREDITS README |
|---|
| 53 | %{perl_vendorlib}/* |
|---|
| 54 | %{_mandir}/man3/*.3* |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | %changelog |
|---|
| [9167] | 58 | * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.42-1 |
|---|
| 59 | - updated to 0.42 |
|---|
| 60 | - built with perl 5.16.3 |
|---|
| 61 | |
|---|
| [7292] | 62 | * Sun Jan 6 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.40-1 |
|---|
| 63 | - initial build based on Fedora development package |
|---|
| 64 | |
|---|
| 65 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40-7 |
|---|
| 66 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
|---|
| 67 | |
|---|
| 68 | * Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.40-6 |
|---|
| 69 | - Perl 5.16 rebuild |
|---|
| 70 | |
|---|
| 71 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40-5 |
|---|
| 72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|---|
| 73 | |
|---|
| 74 | * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.40-4 |
|---|
| 75 | - Perl mass rebuild |
|---|
| 76 | |
|---|
| 77 | * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.40-3 |
|---|
| 78 | - Perl mass rebuild |
|---|
| 79 | |
|---|
| 80 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40-2 |
|---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 82 | |
|---|
| 83 | * Sat Dec 18 2010 Iain Arnell <iarnell@gmail.com> 0.40-1 |
|---|
| 84 | - update to latest upstream version |
|---|
| 85 | - clean up spec for modern rpmbuild |
|---|
| 86 | - PERL_INSTALL_ROOT -> DESTDIR |
|---|
| 87 | - fix up crlf in docs |
|---|
| 88 | |
|---|
| 89 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.38-6 |
|---|
| 90 | - 661697 rebuild for fixing problems with vendorach/lib |
|---|
| 91 | |
|---|
| 92 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.38-5 |
|---|
| 93 | - Mass rebuild with perl-5.12.0 |
|---|
| 94 | |
|---|
| 95 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.38-4 |
|---|
| 96 | - rebuild against perl 5.10.1 |
|---|
| 97 | |
|---|
| 98 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-3 |
|---|
| 99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 100 | |
|---|
| 101 | * Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.38-2 |
|---|
| 102 | - rearrange the files in doc as the tarball has changed contents |
|---|
| 103 | |
|---|
| 104 | * Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.38-1 |
|---|
| 105 | - auto-update to 0.38 (by cpan-spec-update 0.01) |
|---|
| 106 | |
|---|
| 107 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-4 |
|---|
| 108 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 109 | |
|---|
| 110 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.37-3 |
|---|
| 111 | - rebuild for new perl |
|---|
| 112 | |
|---|
| 113 | * Thu Aug 31 2006 Chris Weyl <cweyl.drew.edu> 0.37-2 |
|---|
| 114 | - bump for mass rebuild |
|---|
| 115 | |
|---|
| 116 | * Wed Aug 09 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.37-1 |
|---|
| 117 | - update to 0.37 |
|---|
| 118 | - nix the SIGNATURE checking bits of the spec file as the author has dropped |
|---|
| 119 | it from this version |
|---|
| 120 | |
|---|
| 121 | * Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.36-3 |
|---|
| 122 | - bump for build & release |
|---|
| 123 | |
|---|
| 124 | * Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.36-2 |
|---|
| 125 | - add missing buildrequires: perl(File::Find::Rule) |
|---|
| 126 | |
|---|
| 127 | * Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.36-1 |
|---|
| 128 | - Initial spec file for F-E |
|---|