]> git.pld-linux.org Git - packages/perl-Font-TTF.git/blob - perl-Font-TTF.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Font-TTF.git] / perl-Font-TTF.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Font
6 %define         pnam    TTF
7 Summary:        Font::TTF - Perl module for TrueType font hacking
8 Summary(pl.UTF-8):      Font::TTF - moduł Perla do operacji na fontach TrueType
9 Name:           perl-Font-TTF
10 Version:        1.06
11 Release:        1
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
26
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
30 fontem TrueType.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Font/TTF/{Changes_old.txt,Manual.pod}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
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*
This page took 0.075194 seconds and 4 git commands to generate.