]>
Commit | Line | Data |
---|---|---|
8e445445 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-XML-NamespaceSupport | |
7 | version = 1.11 | |
e0d866c0 | 8 | release = 2 |
8e445445 SS |
9 | |
10 | thisapp = XML-NamespaceSupport-%{version} | |
11 | ||
12 | groups = Development/Libraries | |
13 | url = http://search.cpan.org/dist/XML-NamespaceSupport/ | |
14 | license = GPL+ or Artistic | |
15 | summary = A simple generic namespace support class. | |
16 | ||
17 | description | |
18 | This module offers a simple to process namespaced XML names (unames) from | |
19 | within any application that may need them. It also helps maintain a prefix | |
20 | to namespace URI map, and provides a number of basic checks. | |
21 | end | |
22 | ||
23 | source_dl = http://www.cpan.org/authors/id/P/PE/PERIGRIN/ | |
24 | ||
25 | build | |
5cd803df MT |
26 | arches = noarch |
27 | ||
8e445445 SS |
28 | requires |
29 | perl(constant) | |
30 | perl(Cwd) | |
31 | perl(ExtUtils::MakeMaker) >= 6.42 | |
5fc37d86 MT |
32 | perl(FindBin) |
33 | perl(Module::Install) | |
8e445445 SS |
34 | perl(File::Path) |
35 | perl(Test::More) >= 0.47 | |
36 | end | |
37 | ||
38 | prepare_cmds | |
39 | # Fix permissions. | |
40 | chmod 644 lib/XML/NamespaceSupport.pm | |
41 | end | |
42 | ||
43 | build | |
44 | perl Makefile.PL INSTALLDIRS=vendor | |
45 | make %{PARALLELISMFLAGS} | |
46 | end | |
47 | ||
48 | test | |
49 | make test | |
50 | end | |
51 | end | |
52 | ||
53 | packages | |
54 | package %{name} | |
55 | end |