]> git.pld-linux.org Git - packages/perl-Font-FreeType.git/blame - perl-Font-FreeType.spec
- updated to 0.16
[packages/perl-Font-FreeType.git] / perl-Font-FreeType.spec
CommitLineData
50f65e50 1#
50f65e50 2# Conditional build:
60c5d6fd 3%bcond_without tests # unit tests
50f65e50 4#
50f65e50 5%define pdir Font
6%define pnam FreeType
7Summary: Font::FreeType - read font files and render glyphs from Perl using FreeType2
aa961e57 8Summary(pl.UTF-8): Font::FreeType - odczyt plików fontów oraz rendering znaków graficznych za pomocą FreeType2
50f65e50 9Name: perl-Font-FreeType
60c5d6fd
JB
10Version: 0.16
11Release: 1
50f65e50 12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Font/%{pdir}-%{pnam}-%{version}.tar.gz
60c5d6fd
JB
16# Source0-md5: 01b17b1844c7369084288bb6c70b9021
17URL: https://metacpan.org/dist/Font-FreeType
5961ebc9 18BuildRequires: freetype-devel >= 2
60c5d6fd
JB
19BuildRequires: perl-Devel-CheckLib
20BuildRequires: perl-ExtUtils-MakeMaker >= 6.64
21BuildRequires: perl-File-Which
22%if %{with tests}
23BuildRequires: perl-Test-Warnings
24%endif
50f65e50 25BuildRequires: perl-devel >= 1:5.8.0
cb04db79 26BuildRequires: rpm-perlprov >= 4.1-13
60c5d6fd 27BuildRequires: rpmbuild(macros) >= 1.745
50f65e50 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31This module allows Perl programs to conveniently read information from
32font files. All the font access is done through the FreeType2 library,
33which supports many formats. It can render images of characters with
34high-quality hinting and antialiasing, extract metrics information,
35and extract the outlines of characters in scalable formats like
36TrueType.
37
94f24bbe
JR
38%description -l pl.UTF-8
39Moduł ten umożliwia programom perlowym odczyt informacji z plików
40fontów w wygodny sposób. Cały dostęp do fontów odbywa sie poprzez
41bibliotekę FreeType2, która wspiera wiele formatów. Umożliwia
42renderowanie obrazów znaków, wysokiej jakości hinting i antyaliasing,
43pobieranie informacji o metryce oraz pobieranie zarysów znaków dla
44formatów skalowalnych, takich jak TrueType.
50f65e50 45
46%prep
47%setup -q -n %{pdir}-%{pnam}-%{version}
48
49%build
50%{__perl} Makefile.PL \
51 INSTALLDIRS=vendor
52%{__make} \
adfb2345 53 CC="%{__cc}" \
50f65e50 54 OPTIMIZE="%{rpmcflags}"
55
56%{?with_tests:%{__make} test}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
cb04db79 69%dir %{perl_vendorarch}/Font
51c9f173 70%{perl_vendorarch}/Font/FreeType.pm
50f65e50 71%{perl_vendorarch}/Font/FreeType
cb04db79 72%dir %{perl_vendorarch}/auto/Font
50f65e50 73%dir %{perl_vendorarch}/auto/Font/FreeType
51c9f173 74%attr(755,root,root) %{perl_vendorarch}/auto/Font/FreeType/FreeType.so
6bdc650f 75%{_mandir}/man3/Font::FreeType*.3pm*
This page took 0.112278 seconds and 4 git commands to generate.