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