## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: perl-Font-FreeType Version: 0.16 Release: %{autorelease} Summary: Read font files and render glyphs from Perl using FreeType2 URL: https://metacpan.org/dist/Font-FreeType Source0: https://cpan.metacpan.org/authors/id/D/DM/DMOL/Font-FreeType-0.16.tar.gz # "This library is free software; you can redistribute it and/or modify # it under the same terms as Perl itself." # https://github.com/PerlGfx/p5-Font-FreeType/issues/28 License: GPL-1.0-or-later OR Artistic-1.0-Perl Source1: https://raw.githubusercontent.com/Perl/perl5/refs/heads/blead/Artistic Source2: https://raw.githubusercontent.com/Perl/perl5/refs/heads/blead/Copying BuildRequires: gcc BuildRequires: perl(Devel::CheckLib) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Which) BuildRequires: perl(Test::Warnings) BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: pkgconfig(freetype2) # t/99pod.t: BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::File) BuildRequires: perl(Pod::Checker) BuildRequires: perl(Test) %{?perl_default_filter} %description This module allows Perl programs to conveniently read information from font files. All the font access is done through the FreeType2 library, which supports many formats. It can render images of characters with high-quality hinting and antialiasing, extract metrics information, and extract the outlines of characters in scalable formats like TrueType. %prep %autosetup -n Font-FreeType-%{version} cp %SOURCE1 %SOURCE2 ./ %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" %{make_build} %install %{make_install} find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license %{basename %SOURCE1} %license %{basename %SOURCE2} %doc Changes %doc TODO %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto/ %{_mandir}/man3/*.3* %changelog ## START: Generated by rpmautospec * Thu Jun 25 2026 Peter Oliver - 0.16-1 - Uncommitted changes ## END: Generated by rpmautospec