]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - perl-Net-HTTP/perl-Net-HTTP.nm
Change how we make packages "noarch"
[people/pmueller/ipfire-3.x.git] / perl-Net-HTTP / perl-Net-HTTP.nm
CommitLineData
b7ee1c75
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-Net-HTTP
7version = 6.22
8release = 1
9thisapp = Net-HTTP-%{version}
b7ee1c75
SS
10
11groups = Development/Libraries
12url = https://metacpan.org/dist/Net-HTTP
13license = GPL+ or Artistic
14summary = Low-level HTTP client for perl
15
16description
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.
22end
23
24source_dl = https://cpan.metacpan.org/authors/id/O/OA/OALDERS/
25
26build
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
44end
45
46packages
47 package %{name}
48 requires
49 perl(:MODULE_COMPAT_%{perl_version})
50 end
51 end
52end