]>
Commit | Line | Data |
---|---|---|
fba493ce | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
fba493ce BS |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = perl-XML-Parser |
544adb5d | 7 | version = 2.44 |
e0d866c0 | 8 | release = 5 |
802ea3af | 9 | thisapp = XML-Parser-%{version} |
fba493ce | 10 | |
802ea3af MT |
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. | |
fba493ce | 15 | |
802ea3af | 16 | description |
544adb5d SS |
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 | |
fba493ce | 19 | James Clark's expat library. |
802ea3af MT |
20 | end |
21 | ||
544adb5d | 22 | source_dl = http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/ |
802ea3af MT |
23 | |
24 | build | |
25 | requires | |
26 | expat-devel | |
064c4143 SS |
27 | perl(English) |
28 | perl(ExtUtils::MakeMaker) | |
29 | perl(FileHandle) | |
30 | perl(Test::More) | |
802ea3af MT |
31 | end |
32 | ||
33 | build | |
34 | perl Makefile.PL INSTALLDIRS=vendor | |
35 | make %{PARALLELISMFLAGS} | |
36 | end | |
802ea3af | 37 | |
26038bcc SS |
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 {} \; | |
802ea3af MT |
46 | end |
47 | end | |
48 | ||
49 | packages | |
50 | package %{name} | |
51 | requires | |
544adb5d | 52 | perl(:MODULE_COMPAT_%{perl_version}) |
802ea3af MT |
53 | end |
54 | end | |
1f9bc2f0 MT |
55 | |
56 | package %{name}-debuginfo | |
57 | template DEBUGINFO | |
58 | end | |
802ea3af | 59 | end |