]>
Commit | Line | Data |
---|---|---|
b775d8b1 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-Font-TTF | |
98491fcc MT |
7 | version = 1.06 |
8 | release = 1 | |
b775d8b1 SS |
9 | thisapp = Font-TTF-%{version} |
10 | ||
11 | groups = Development/Libraries | |
12 | url = http://search.cpan.org/dist/Font-TTF/ | |
13 | license = Artistic 2.0 | |
14 | summary = Perl library for modifying TTF font files. | |
15 | ||
16 | description | |
17 | Perl module for TrueType font hacking. Supports reading, processing and writing | |
18 | of the following tables: GDEF, GPOS, GSUB, LTSH, OS/2, PCLT, bsln, cmap, cvt, | |
19 | fdsc, feat, fpgm, glyf, hdmx, head, hhea, hmtx, kern, loca, maxp, mort, name, | |
20 | post, prep, prop, vhea, vmtx and the reading and writing of all other table | |
21 | types. | |
22 | end | |
23 | ||
98491fcc | 24 | source_dl = https://cpan.metacpan.org/authors/id/B/BH/BHALLISSY/ |
b775d8b1 SS |
25 | |
26 | build | |
5cd803df MT |
27 | arches = noarch |
28 | ||
b775d8b1 SS |
29 | requires |
30 | perl(ExtUtils::MakeMaker) | |
31 | perl(ExtUtils::ParseXS) | |
98491fcc | 32 | perl(IO::String) |
b775d8b1 SS |
33 | perl(Test::Simple) |
34 | end | |
35 | ||
36 | build | |
37 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
38 | make %{PARALLELISMFLAGS} | |
39 | end | |
40 | ||
41 | test | |
42 | make test | |
43 | end | |
44 | ||
45 | make_install_targets = pure_install DESTDIR=%{BUILDROOT} | |
46 | end | |
47 | ||
48 | packages | |
49 | package %{name} | |
50 | filter_requires | |
51 | Win32 | |
52 | end | |
53 | ||
54 | requires | |
55 | perl | |
56 | end | |
57 | end | |
58 | ||
59 | package %{name}-debuginfo | |
60 | template DEBUGINFO | |
61 | end | |
62 | end |