]>
Commit | Line | Data |
---|---|---|
b6a73c53 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-common-sense | |
9443512a | 7 | version = 3.73 |
1d0547dc | 8 | release = 1.1 |
b6a73c53 SS |
9 | arch = noarch |
10 | thisapp = common-sense-%{version} | |
11 | ||
12 | groups = Development/Libraries | |
13 | url = http://search.cpan.org/dist/common-sense | |
14 | license = GPL+ or Artistic | |
15 | summary = "Common sense" Perl defaults. | |
16 | ||
17 | description | |
18 | This module implements some sane defaults for Perl programs, as defined | |
19 | by two typical (or not so typical - use your common sense) specimens of | |
20 | ||
21 | Perl coders: | |
22 | - use strict qw(vars subs); | |
23 | - use feature qw(say state switch); | |
24 | - no warnings; | |
25 | end | |
26 | ||
27 | source_dl = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ | |
28 | ||
29 | build | |
30 | requires | |
31 | perl(ExtUtils::MakeMaker) | |
32 | perl(ExtUtils::ParseXS) | |
1d0547dc | 33 | pakfire >= 0.9.26-3.1 |
b6a73c53 SS |
34 | end |
35 | ||
36 | build | |
37 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
38 | make %{PARALLELISMFLAGS} | |
39 | end | |
40 | ||
41 | test | |
42 | make test | |
43 | end | |
44 | ||
9443512a SS |
45 | make_install_targets = \ |
46 | pure_install DESTDIR=%{BUILDROOT} | |
b6a73c53 SS |
47 | end |
48 | ||
49 | packages | |
50 | package %{name} | |
51 | requires | |
9443512a | 52 | perl(:MODULE_COMPAT_%{perl_version}) |
b6a73c53 SS |
53 | end |
54 | end | |
55 | end |