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