%global pkg_name Font-FreeType %global pkg_version 0.09 %global rpm_pkg_version 0.09 %global rpm_pkg_release 2.n0i.5 Summary: Read font files and render glyphs from Perl using FreeType2 Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/Font/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 BuildRequires: perl(Test::Warnings) BuildRequires: perl(Devel::CheckLib) BuildRequires: perl(File::Which) BuildRequires: freetype-devel BuildRequires: perl(Test) BuildRequires: perl(Pod::Checker) %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 %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %build %{perl_build} %install %{__rm} -rf %{buildroot} %{perl_install} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{perl_files} %doc Changes examples/ TODO %changelog * Sat Dec 16 2017 Marius Feraru - 0.09-2.n0i.5 - BR: perl(Test) & perl(Pod::Checker) * Fri Dec 08 2017 Marius Feraru - 0.09-1.n0i.4 - version 0.09 * Wed Mar 22 2017 Marius Feraru - 0.07-1.n0i.3 - version 0.07 * Tue May 22 2007 Marius Feraru - 0.03-2.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 * Sun Dec 05 2004 Marius Feraru 0:0.03-1.n0i.1 - version 0.03 - spec file (re?)created using N0i::CPAN::RPMizer/2004083101 - no dependencies are to be computed based on files in %%docdir