]>
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 | |
8 | release = 1 | |
9 | arch = noarch | |
10 | thisapp = Font-TTF-%{version} | |
11 | ||
12 | groups = Development/Libraries | |
13 | url = http://search.cpan.org/dist/Font-TTF/ | |
14 | license = Artistic 2.0 | |
15 | summary = Perl library for modifying TTF font files. | |
16 | ||
17 | description | |
18 | Perl module for TrueType font hacking. Supports reading, processing and writing | |
19 | of the following tables: GDEF, GPOS, GSUB, LTSH, OS/2, PCLT, bsln, cmap, cvt, | |
20 | fdsc, feat, fpgm, glyf, hdmx, head, hhea, hmtx, kern, loca, maxp, mort, name, | |
21 | post, prep, prop, vhea, vmtx and the reading and writing of all other table | |
22 | types. | |
23 | end | |
24 | ||
25 | source_dl = http://search.cpan.org/CPAN/authors/id/M/MH/MHOSKEN/ | |
26 | ||
27 | build | |
28 | requires | |
29 | perl(ExtUtils::MakeMaker) | |
30 | perl(ExtUtils::ParseXS) | |
31 | perl(Test::Simple) | |
32 | end | |
33 | ||
34 | build | |
35 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
36 | make %{PARALLELISMFLAGS} | |
37 | end | |
38 | ||
39 | test | |
40 | make test | |
41 | end | |
42 | ||
43 | make_install_targets = pure_install DESTDIR=%{BUILDROOT} | |
44 | end | |
45 | ||
46 | packages | |
47 | package %{name} | |
48 | filter_requires | |
49 | Win32 | |
50 | end | |
51 | ||
52 | requires | |
53 | perl | |
54 | end | |
55 | end | |
56 | ||
57 | package %{name}-debuginfo | |
58 | template DEBUGINFO | |
59 | end | |
60 | end |