avatar
Rosa has added f229d7a19d
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "HTTP-Cookies-6.00.tar.gz": a7132472166ac32a68a2f186ad1518ba4a0c29b3
view file @ f229d7a19d
... ... --- /dev/null
... ... +++ b/perl-HTTP-Cookies.spec
... ... @@ -0,0 +1,69 @@
1
%define upstream_name    HTTP-Cookies
2
%define upstream_version 6.00
3
4
Name:       perl-%{upstream_name}
5
Version:    %perl_convert_version %{upstream_version}
6
Release:    %mkrel 1
7
8
Summary:    Storage of cookies
9
License:    GPL+ or Artistic
10
Group:      Development/Perl
11
Url:        http://search.cpan.org/dist/%{upstream_name}
12
Source0:    http://www.cpan.org/modules/by-module/HTTP/%{upstream_name}-%{upstream_version}.tar.gz
13
14
BuildRequires: perl(HTTP::Date)
15
BuildRequires: perl(HTTP::Headers::Util)
16
BuildRequires: perl(Time::Local)
17
BuildArch: noarch
18
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
19
20
%description
21
This class is for objects that represent a "cookie jar" -- that is, a
22
database of all the HTTP cookies that a given LWP::UserAgent object knows
23
about.
24
25
Cookies are a general mechanism which server side connections can use to
26
both store and retrieve information on the client side of the connection.
27
For more information about cookies refer to
28
<URL:http://curl.haxx.se/rfc/cookie_spec.html> and
29
<URL:http://www.cookiecentral.com/>. This module also implements the new
30
style cookies described in _RFC 2965_. The two variants of cookies are
31
supposed to be able to coexist happily.
32
33
Instances of the class _HTTP::Cookies_ are able to store a collection of
34
Set-Cookie2: and Set-Cookie: headers and are able to use this information
35
to initialize Cookie-headers in _HTTP::Request_ objects. The state of a
36
_HTTP::Cookies_ object can be saved in and restored from files.
37
38
%prep
39
%setup -q -n %{upstream_name}-%{upstream_version}
40
41
%build
42
%{__perl} Makefile.PL INSTALLDIRS=vendor
43
44
%make
45
46
%check
47
%make test
48
49
%install
50
rm -rf %buildroot
51
%makeinstall_std
52
53
%clean
54
rm -rf %buildroot
55
56
%files
57
%defattr(-,root,root)
58
%doc Changes META.yml README
59
%{_mandir}/man3/*
60
%perl_vendorlib/*
61
62
63
64
65
%changelog
66
* Wed May 04 2011 Guillaume Rousse <guillomovitch@mandriva.org> 6.0.0-1mdv2011.0
67
+ Revision: 665969
68
- import perl-HTTP-Cookies
69

Comments