]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-XML-Parser | |
7 | version = 2.44 | |
8 | release = 5 | |
9 | thisapp = XML-Parser-%{version} | |
10 | ||
11 | groups = Development/Libraries | |
12 | url = http://search.cpan.org/dist/XML-Parser/ | |
13 | license = GPL+ or Artistic | |
14 | summary = Perl module for parsing XML files. | |
15 | ||
16 | description | |
17 | This module provides ways to parse XML documents. It is built on | |
18 | top of XML::Parser::Expat, which is a lower level interface to | |
19 | James Clark's expat library. | |
20 | end | |
21 | ||
22 | source_dl = http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/ | |
23 | ||
24 | build | |
25 | requires | |
26 | expat-devel | |
27 | perl(English) | |
28 | perl(ExtUtils::MakeMaker) | |
29 | perl(FileHandle) | |
30 | perl(Test::More) | |
31 | end | |
32 | ||
33 | build | |
34 | perl Makefile.PL INSTALLDIRS=vendor | |
35 | make %{PARALLELISMFLAGS} | |
36 | end | |
37 | ||
38 | test | |
39 | make test | |
40 | end | |
41 | ||
42 | install_cmds | |
43 | # Set correct library permissions. | |
44 | find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ | |
45 | -exec chmod 755 {} \; | |
46 | end | |
47 | end | |
48 | ||
49 | packages | |
50 | package %{name} | |
51 | requires | |
52 | perl(:MODULE_COMPAT_%{perl_version}) | |
53 | end | |
54 | end | |
55 | ||
56 | package %{name}-debuginfo | |
57 | template DEBUGINFO | |
58 | end | |
59 | end |