]>
Commit | Line | Data |
---|---|---|
13e34ff3 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-YAML | |
7 | version = 0.84 | |
8 | release = 1 | |
9 | arch = noarch | |
10 | thisapp = YAML-%{version} | |
11 | ||
12 | groups = Development/Libraries | |
13 | url = http://search.cpan.org/dist/YAML/ | |
14 | license = GPL+ or Artistic | |
15 | summary = A perl module for processing YAML. | |
16 | ||
17 | description | |
18 | The YAML.pm module implements a YAML Loader and Dumper based on the | |
19 | YAML 1.0 specification. http://www.yaml.org/spec/ | |
20 | YAML is a generic data serialization language that is optimized for | |
21 | human readability. It can be used to express the data structures of | |
22 | most modern programming languages, including Perl. | |
23 | For information on the YAML syntax, please refer to the YAML | |
24 | specification. | |
25 | end | |
26 | ||
27 | source_dl = http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/ | |
28 | ||
29 | build | |
30 | requires | |
31 | # required for perl macros | |
32 | pakfire-builder >= 0.9.23-6 | |
33 | ||
34 | perl(Carp) | |
35 | perl(constant) | |
36 | perl(Cwd) | |
37 | perl(Data::Dumper) | |
38 | perl(Exporter) | |
39 | perl(ExtUtils::MakeMaker) | |
40 | perl(File::Path) | |
41 | perl(lib) | |
42 | end | |
43 | ||
44 | build | |
45 | perl Makefile.PL INSTALLDIRS=vendor | |
46 | make %{PARALLELISMFLAGS} | |
47 | end | |
48 | ||
49 | test | |
50 | make test | |
51 | end | |
52 | ||
53 | make_install_targets = pure_install DESTDIR=%{BUILDROOT} | |
54 | ||
55 | install_cmds | |
56 | # Removing Test::YAML (at least temporarily) due | |
57 | # to security concerns and questionable value. | |
58 | # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197539 | |
59 | rm -vf %{BUILDROOT}%{perl_vendorlib}/Test/YAML* \ | |
60 | %{BUILDROOT}%{mandir}/man3/Test::YAML*.3* | |
61 | end | |
62 | end | |
63 | ||
64 | packages | |
65 | package %{name} | |
66 | requires | |
67 | perl(Carp) | |
68 | perl(Data::Dumper) | |
69 | end | |
70 | ||
71 | filter_provides | |
72 | yaml_ | |
73 | end | |
74 | end | |
75 | end |