]>
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 | |
7 | version = 0.48 | |
e0d866c0 | 8 | release = 2 |
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 | ||
24 | source_dl = http://search.cpan.org/CPAN/authors/id/M/MH/MHOSKEN/ | |
25 | ||
26 | build | |
5cd803df MT |
27 | arches = noarch |
28 | ||
b775d8b1 SS |
29 | requires |
30 | perl(ExtUtils::MakeMaker) | |
31 | perl(ExtUtils::ParseXS) | |
32 | perl(Test::Simple) | |
33 | end | |
34 | ||
35 | build | |
36 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
37 | make %{PARALLELISMFLAGS} | |
38 | end | |
39 | ||
40 | test | |
41 | make test | |
42 | end | |
43 | ||
44 | make_install_targets = pure_install DESTDIR=%{BUILDROOT} | |
45 | end | |
46 | ||
47 | packages | |
48 | package %{name} | |
49 | filter_requires | |
50 | Win32 | |
51 | end | |
52 | ||
53 | requires | |
54 | perl | |
55 | end | |
56 | end | |
57 | ||
58 | package %{name}-debuginfo | |
59 | template DEBUGINFO | |
60 | end | |
61 | end |