]>
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 |
b6a73c53 SS |
8 | release = 1 |
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) | |
33 | end | |
34 | ||
35 | build | |
36 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
37 | make %{PARALLELISMFLAGS} | |
38 | end | |
39 | ||
40 | test | |
41 | make test | |
42 | end | |
43 | ||
9443512a SS |
44 | make_install_targets = \ |
45 | pure_install DESTDIR=%{BUILDROOT} | |
b6a73c53 SS |
46 | end |
47 | ||
48 | packages | |
49 | package %{name} | |
50 | requires | |
9443512a | 51 | perl(:MODULE_COMPAT_%{perl_version}) |
b6a73c53 SS |
52 | end |
53 | end | |
54 | end |