]>
Commit | Line | Data |
---|---|---|
ef516633 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-SGMLSpm | |
92f2bdd0 | 7 | version = 1.1 |
e0d866c0 | 8 | release = 3 |
92f2bdd0 | 9 | thisapp = SGMLSpm-%{version} |
ef516633 SS |
10 | |
11 | groups = Development/Libraries | |
12 | url = http://search.cpan.org/dist/SGMLSpm/ | |
13 | license = GPLv2+ | |
14 | summary = Perl library for parsing the output of nsgmls. | |
15 | ||
16 | description | |
17 | Perl programs can use the SGMLSpm module to help convert SGML, HTML or XML | |
18 | documents into new formats. | |
19 | end | |
20 | ||
92f2bdd0 | 21 | source_dl = https://cpan.metacpan.org/authors/id/R/RA/RAAB/ |
ef516633 SS |
22 | |
23 | build | |
5cd803df MT |
24 | arches = noarch |
25 | ||
92f2bdd0 MT |
26 | requires |
27 | perl(ExtUtils::MakeMaker) | |
8a161868 | 28 | perl(Test::More) |
92f2bdd0 | 29 | end |
ef516633 | 30 | |
92f2bdd0 MT |
31 | build |
32 | perl Makefile.PL INSTALLDIRS=vendor | |
33 | make %{PARALLELISMFLAGS} | |
34 | end | |
ef516633 | 35 | |
92f2bdd0 MT |
36 | test |
37 | make test | |
ef516633 | 38 | end |
8a161868 SS |
39 | |
40 | install_cmds | |
41 | # Drop unwanted script | |
42 | rm -rvf %{BUILDROOT}%{bindir}/sgmlspl.pl | |
43 | end | |
ef516633 SS |
44 | end |
45 | ||
46 | packages | |
47 | package %{name} | |
48 | end |