1 | Name: perl-Font-TTF
|
---|
2 | Version: 1.06
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: Perl library for modifying TTF font files
|
---|
5 | Group: Development/Libraries
|
---|
6 | License: Artistic 2.0
|
---|
7 | URL: http://search.cpan.org/dist/Font-TTF/
|
---|
8 | Vendor: bww bitwise works GmbH
|
---|
9 | Source0: http://cpan.org/authors/id/B/BH/BHALLISSY/Font-TTF-%{version}.tar.gz
|
---|
10 | BuildArch: noarch
|
---|
11 | # Build
|
---|
12 | BuildRequires: findutils
|
---|
13 | BuildRequires: make
|
---|
14 | #BuildRequires: perl-interpreter
|
---|
15 | BuildRequires: perl-generators
|
---|
16 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
17 | BuildRequires: perl(Getopt::Std)
|
---|
18 | BuildRequires: perl(strict)
|
---|
19 | # Runtime
|
---|
20 | BuildRequires: perl(bytes)
|
---|
21 | BuildRequires: perl(Compress::Zlib)
|
---|
22 | BuildRequires: perl(Data::Dumper)
|
---|
23 | BuildRequires: perl(Exporter)
|
---|
24 | BuildRequires: perl(File::Spec)
|
---|
25 | BuildRequires: perl(IO::File)
|
---|
26 | BuildRequires: perl(IO::String)
|
---|
27 | BuildRequires: perl(Symbol)
|
---|
28 | BuildRequires: perl(utf8)
|
---|
29 | BuildRequires: perl(vars)
|
---|
30 | # Unused BuildRequires: perl(XML::Parser::Expat)
|
---|
31 | # Tests only
|
---|
32 | BuildRequires: perl(File::Compare)
|
---|
33 | #BuildRequires: perl(Test::More)
|
---|
34 | BuildRequires: perl(Test::Simple)
|
---|
35 |
|
---|
36 | BuildRequires: perl(vars)
|
---|
37 | Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
---|
38 |
|
---|
39 | %description
|
---|
40 | Perl module for TrueType font hacking. Supports reading, processing and writing
|
---|
41 | of the following tables: GDEF, GPOS, GSUB, LTSH, OS/2, PCLT, bsln, cmap, cvt,
|
---|
42 | fdsc, feat, fpgm, glyf, hdmx, head, hhea, hmtx, kern, loca, maxp, mort, name,
|
---|
43 | post, prep, prop, vhea, vmtx and the reading and writing of all other table
|
---|
44 | types.
|
---|
45 |
|
---|
46 | In short, you can do almost anything with a standard TrueType font with this
|
---|
47 | module.
|
---|
48 |
|
---|
49 | %prep
|
---|
50 | %setup -q -n Font-TTF-%{version}
|
---|
51 |
|
---|
52 | %build
|
---|
53 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
---|
54 | make %{?_smp_mflags}
|
---|
55 | make manifypods
|
---|
56 |
|
---|
57 | %install
|
---|
58 | make pure_install DESTDIR=%{buildroot}
|
---|
59 | find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
|
---|
60 | find %{buildroot} -type f -name .packlist -delete
|
---|
61 | %{_fixperms} %{buildroot}/*
|
---|
62 |
|
---|
63 | %check
|
---|
64 | #make test
|
---|
65 |
|
---|
66 | %files
|
---|
67 | %license LICENSE
|
---|
68 | %doc README.TXT CONTRIBUTORS Changes TODO
|
---|
69 | %dir %{perl_vendorlib}/Font
|
---|
70 | %dir %{perl_vendorlib}/Font/TTF
|
---|
71 | %{perl_vendorlib}/ttfmod.pl
|
---|
72 | %{perl_vendorlib}/Font/TTF.pm
|
---|
73 | %{perl_vendorlib}/Font/TTF/*
|
---|
74 | %{_mandir}/man3/*.3*
|
---|
75 | # We really don't want to use this perl package in a Win32 env
|
---|
76 | # or poke in the windows registry to resolve fonts
|
---|
77 | # (upstream makefile needs to get smarter)
|
---|
78 | %exclude %{perl_vendorlib}/Font/TTF/Win32.pm
|
---|
79 |
|
---|
80 | %changelog
|
---|
81 | * Wed Feb 21 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.06-1
|
---|
82 | - initial rpm
|
---|