source: spec/trunk/SPECS/perl-Font-TTF.spec@ 1330

Last change on this file since 1330 was 1326, checked in by Silvan Scherrer, 8 years ago

spec: perl-Font-TTF: Release version 1.06-1.

File size: 2.4 KB
Line 
1Name: perl-Font-TTF
2Version: 1.06
3Release: 1%{?dist}
4Summary: Perl library for modifying TTF font files
5Group: Development/Libraries
6License: Artistic 2.0
7URL: http://search.cpan.org/dist/Font-TTF/
8Vendor: bww bitwise works GmbH
9Source0: http://cpan.org/authors/id/B/BH/BHALLISSY/Font-TTF-%{version}.tar.gz
10BuildArch: noarch
11# Build
12BuildRequires: findutils
13BuildRequires: make
14#BuildRequires: perl-interpreter
15BuildRequires: perl-generators
16BuildRequires: perl(ExtUtils::MakeMaker)
17BuildRequires: perl(Getopt::Std)
18BuildRequires: perl(strict)
19# Runtime
20BuildRequires: perl(bytes)
21BuildRequires: perl(Compress::Zlib)
22BuildRequires: perl(Data::Dumper)
23BuildRequires: perl(Exporter)
24BuildRequires: perl(File::Spec)
25BuildRequires: perl(IO::File)
26BuildRequires: perl(IO::String)
27BuildRequires: perl(Symbol)
28BuildRequires: perl(utf8)
29BuildRequires: perl(vars)
30# Unused BuildRequires: perl(XML::Parser::Expat)
31# Tests only
32BuildRequires: perl(File::Compare)
33#BuildRequires: perl(Test::More)
34BuildRequires: perl(Test::Simple)
35
36BuildRequires: perl(vars)
37Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
38
39%description
40Perl module for TrueType font hacking. Supports reading, processing and writing
41of the following tables: GDEF, GPOS, GSUB, LTSH, OS/2, PCLT, bsln, cmap, cvt,
42fdsc, feat, fpgm, glyf, hdmx, head, hhea, hmtx, kern, loca, maxp, mort, name,
43post, prep, prop, vhea, vmtx and the reading and writing of all other table
44types.
45
46In short, you can do almost anything with a standard TrueType font with this
47module.
48
49%prep
50%setup -q -n Font-TTF-%{version}
51
52%build
53perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
54make %{?_smp_mflags}
55make manifypods
56
57%install
58make pure_install DESTDIR=%{buildroot}
59find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
60find %{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
Note: See TracBrowser for help on using the repository browser.