3 %bcond_without tests # do not perform "make test"
7 Summary: Font::TTF - Perl module for TrueType font hacking
8 Summary(pl.UTF-8): Font::TTF - moduł Perla do operacji na fontach TrueType
12 License: Artistic v2.0
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Font/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 241b59310ad4450e6e050d5e790f1b21
16 URL: http://search.cpan.org/dist/Font-TTF/
17 BuildRequires: perl-XML-Parser
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Font::TTF is a Perl module for TrueType font hacking. In short, you
25 can do almost anything with a standard TrueType font with this module.
27 %description -l pl.UTF-8
28 Font::TTF - moduł Perla do operacji na fontach TrueType. W skrócie,
29 używając tego modułu można zrobić niemal wszystko ze standardowym
33 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
49 %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Font/TTF/{Changes_old.txt,Manual.pod}
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %doc CONTRIBUTORS Changes README.TXT TODO
57 %dir %{perl_vendorlib}/Font/TTF
58 %dir %{perl_vendorlib}/Font/TTF/Kern
59 %dir %{perl_vendorlib}/Font/TTF/Mort
60 %dir %{perl_vendorlib}/Font/TTF/Woff
61 %dir %{perl_vendorlib}/Font/TTF/Features
62 %{perl_vendorlib}/Font/TTF.pm
63 %{perl_vendorlib}/Font/TTF/*.pm
64 %{perl_vendorlib}/Font/TTF/Kern/*.pm
65 %{perl_vendorlib}/Font/TTF/Mort/*.pm
66 %{perl_vendorlib}/Font/TTF/Woff/*.pm
67 %{perl_vendorlib}/Font/TTF/Features/*.pm
68 %{perl_vendorlib}/ttfmod.pl
69 %{_mandir}/man3/Font::TTF*.3pm*
70 %{_mandir}/man3/ttfmod.3pm*