[1129] | 1 | Name: perl-HTTP-Date
|
---|
| 2 | Version: 6.02
|
---|
| 3 | Release: 1%{?dist}
|
---|
| 4 | Summary: Date conversion routines
|
---|
| 5 | License: GPL+ or Artistic
|
---|
| 6 | Group: Development/Libraries
|
---|
| 7 | URL: http://search.cpan.org/dist/HTTP-Date/
|
---|
| 8 | Vendor: bww bitwise works GmbH
|
---|
| 9 | Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Date-%{version}.tar.gz
|
---|
| 10 | BuildArch: noarch
|
---|
| 11 | BuildRequires: perl
|
---|
| 12 | BuildRequires: perl-generators
|
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
| 14 | BuildRequires: perl(strict)
|
---|
| 15 | # Run-time
|
---|
| 16 | BuildRequires: perl(Exporter)
|
---|
| 17 | BuildRequires: perl(Time::Local)
|
---|
| 18 | # perl(Time::Zone) not used
|
---|
| 19 | BuildRequires: perl(vars)
|
---|
| 20 | # Tests only:
|
---|
| 21 | BuildRequires: perl(Test)
|
---|
| 22 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
| 23 | # Strongly recommended:
|
---|
| 24 | Requires: perl(Time::Zone)
|
---|
| 25 | Conflicts: perl-libwww-perl < 6
|
---|
| 26 |
|
---|
| 27 | %description
|
---|
| 28 | This module provides functions that deal the date formats used by the HTTP
|
---|
| 29 | protocol (and then some more). Only the first two functions, time2str() and
|
---|
| 30 | str2time(), are exported by default.
|
---|
| 31 |
|
---|
| 32 | %prep
|
---|
| 33 | %setup -q -n HTTP-Date-%{version}
|
---|
| 34 |
|
---|
| 35 | %build
|
---|
| 36 | perl Makefile.PL INSTALLDIRS=vendor
|
---|
| 37 | make %{?_smp_mflags}
|
---|
| 38 | make manifypods
|
---|
| 39 |
|
---|
| 40 | %install
|
---|
| 41 | make pure_install DESTDIR=%{buildroot}
|
---|
| 42 | find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
---|
| 43 | %{_fixperms} %{buildroot}/*
|
---|
| 44 |
|
---|
| 45 | %check
|
---|
| 46 | #make test
|
---|
| 47 |
|
---|
| 48 | %files
|
---|
| 49 | %doc Changes README
|
---|
| 50 | %{perl_vendorlib}/*
|
---|
| 51 | %{_mandir}/man3/*
|
---|
| 52 |
|
---|
| 53 | %changelog
|
---|
| 54 | * Mon May 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 6.02-1
|
---|
| 55 | - initial version
|
---|