1 | Name: perl-HTTP-Cookies
|
---|
2 | Version: 6.04
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: HTTP cookie jars
|
---|
5 | License: GPL+ or Artistic
|
---|
6 | URL: http://search.cpan.org/dist/HTTP-Cookies/
|
---|
7 | Vendor: bww bitwise works GmbH
|
---|
8 | Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-Cookies-%{version}.tar.gz
|
---|
9 | BuildArch: noarch
|
---|
10 | BuildRequires: make
|
---|
11 | BuildRequires: perl-generators
|
---|
12 | #BuildRequires: perl-interpreter
|
---|
13 | #BuildRequires: perl(:VERSION) >= 5.8.1
|
---|
14 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
15 | BuildRequires: perl(strict)
|
---|
16 | BuildRequires: perl(warnings)
|
---|
17 | # Run-time:
|
---|
18 | BuildRequires: perl(Carp)
|
---|
19 | BuildRequires: perl(HTTP::Date) >= 6
|
---|
20 | BuildRequires: perl(HTTP::Headers::Util) >= 6
|
---|
21 | BuildRequires: perl(HTTP::Request)
|
---|
22 | BuildRequires: perl(locale)
|
---|
23 | # Time::Local needed on MacOS only
|
---|
24 | BuildRequires: perl(vars)
|
---|
25 | # Win32 not supported
|
---|
26 | # Tests:
|
---|
27 | BuildRequires: perl(File::Spec)
|
---|
28 | BuildRequires: perl(HTTP::Response)
|
---|
29 | BuildRequires: perl(Test)
|
---|
30 | BuildRequires: perl(Test::More)
|
---|
31 | BuildRequires: perl(URI)
|
---|
32 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
33 | Requires: perl(Carp)
|
---|
34 | Requires: perl(HTTP::Date) >= 6
|
---|
35 | Requires: perl(HTTP::Headers::Util) >= 6
|
---|
36 | Conflicts: perl-libwww-perl < 6
|
---|
37 |
|
---|
38 | # Remove underspecified dependencies.
|
---|
39 | # One function of provided HTTP::Cookies::Microsoft works on Win32 only, other
|
---|
40 | # function do not need it. We keep the module, but remove the dependency.
|
---|
41 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\((HTTP::Date|HTTP::Headers::Util|Win32)\\)$
|
---|
42 |
|
---|
43 | %description
|
---|
44 | This class is for objects that represent a "cookie jar" -- that is, a
|
---|
45 | database of all the HTTP cookies that a given LWP::UserAgent object
|
---|
46 | knows about.
|
---|
47 |
|
---|
48 | %prep
|
---|
49 | %setup -q -n HTTP-Cookies-%{version}
|
---|
50 |
|
---|
51 | %build
|
---|
52 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
---|
53 | make %{?_smp_mflags}
|
---|
54 | make manifypods
|
---|
55 |
|
---|
56 | %install
|
---|
57 | make pure_install DESTDIR=%{buildroot}
|
---|
58 | find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
---|
59 | %{_fixperms} %{buildroot}/*
|
---|
60 |
|
---|
61 | %check
|
---|
62 | #make test
|
---|
63 |
|
---|
64 | %files
|
---|
65 | %license LICENSE
|
---|
66 | %doc Changes CONTRIBUTORS README.md
|
---|
67 | %{perl_vendorlib}/*
|
---|
68 | %{_mandir}/man3/*
|
---|
69 |
|
---|
70 | %changelog
|
---|
71 | * Fri Feb 23 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> - 6.04-1
|
---|
72 | - initial version
|
---|