]>
Commit | Line | Data |
---|---|---|
b7ee1c75 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-Net-HTTP | |
7 | version = 6.22 | |
8 | release = 1 | |
9 | thisapp = Net-HTTP-%{version} | |
b7ee1c75 SS |
10 | |
11 | groups = Development/Libraries | |
12 | url = https://metacpan.org/dist/Net-HTTP | |
13 | license = GPL+ or Artistic | |
14 | summary = Low-level HTTP client for perl | |
15 | ||
16 | description | |
17 | The Net::HTTP class is a low-level HTTP client. An instance of the | |
18 | Net::HTTP class represents a connection to an HTTP server. The HTTP | |
19 | protocol is described in RFC 2616. | |
20 | ||
21 | The Net::HTTP class supports HTTP/1.0 and HTTP/1.1. | |
22 | end | |
23 | ||
24 | source_dl = https://cpan.metacpan.org/authors/id/O/OA/OALDERS/ | |
25 | ||
26 | build | |
5cd803df MT |
27 | arches = noarch |
28 | ||
b7ee1c75 SS |
29 | requires |
30 | perl(ExtUtils::MakeMaker) | |
31 | perl(Test::More) | |
32 | perl(URI) | |
33 | end | |
34 | ||
35 | build | |
36 | perl Makefile.PL INSTALLDIRS=vendor | |
37 | make %{PARALLELISMFLAGS} | |
38 | end | |
39 | ||
40 | # Testsuite fails. | |
41 | #test | |
42 | # make test | |
43 | #end | |
44 | end | |
45 | ||
46 | packages | |
47 | package %{name} | |
48 | requires | |
49 | perl(:MODULE_COMPAT_%{perl_version}) | |
50 | end | |
51 | end | |
52 | end |