source: spec/trunk/SPECS/perl-HTTP-Date.spec@ 1129

Last change on this file since 1129 was 1129, checked in by Silvan Scherrer, 8 years ago

spec: perl-HTTP-Date: Release version 6.02-1.

File size: 1.5 KB
Line 
1Name: perl-HTTP-Date
2Version: 6.02
3Release: 1%{?dist}
4Summary: Date conversion routines
5License: GPL+ or Artistic
6Group: Development/Libraries
7URL: http://search.cpan.org/dist/HTTP-Date/
8Vendor: bww bitwise works GmbH
9Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Date-%{version}.tar.gz
10BuildArch: noarch
11BuildRequires: perl
12BuildRequires: perl-generators
13BuildRequires: perl(ExtUtils::MakeMaker)
14BuildRequires: perl(strict)
15# Run-time
16BuildRequires: perl(Exporter)
17BuildRequires: perl(Time::Local)
18# perl(Time::Zone) not used
19BuildRequires: perl(vars)
20# Tests only:
21BuildRequires: perl(Test)
22Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23# Strongly recommended:
24Requires: perl(Time::Zone)
25Conflicts: perl-libwww-perl < 6
26
27%description
28This module provides functions that deal the date formats used by the HTTP
29protocol (and then some more). Only the first two functions, time2str() and
30str2time(), are exported by default.
31
32%prep
33%setup -q -n HTTP-Date-%{version}
34
35%build
36perl Makefile.PL INSTALLDIRS=vendor
37make %{?_smp_mflags}
38make manifypods
39
40%install
41make pure_install DESTDIR=%{buildroot}
42find %{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
Note: See TracBrowser for help on using the repository browser.