]> git.ipfire.org Git - ipfire-3.x.git/blame_incremental - perl-XML-Parser/perl-XML-Parser.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / perl-XML-Parser / perl-XML-Parser.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-XML-Parser
7version = 2.44
8release = 5
9thisapp = XML-Parser-%{version}
10
11groups = Development/Libraries
12url = http://search.cpan.org/dist/XML-Parser/
13license = GPL+ or Artistic
14summary = Perl module for parsing XML files.
15
16description
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.
20end
21
22source_dl = http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/
23
24build
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
47end
48
49packages
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
59end