File perl-Font-TTF.spec of Package perl-Font-TTF

#
# spec file for package perl-Font-TTF
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           perl-Font-TTF
Version:        1.02
Release:        0
%define cpan_name Font-TTF
Summary:        Perl module for TrueType Font hacking
License:        Artistic-2.0 and OFL-1.1
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/Font-TTF/
Source:         http://www.cpan.org/authors/id/M/MH/MHOSKEN/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(IO::String)
#BuildRequires: perl(Compress::Zlib)
#BuildRequires: perl(Font::TTF::AATKern)
#BuildRequires: perl(Font::TTF::AATutils)
#BuildRequires: perl(Font::TTF::Anchor)
#BuildRequires: perl(Font::TTF::Bsln)
#BuildRequires: perl(Font::TTF::Cmap)
#BuildRequires: perl(Font::TTF::Coverage)
#BuildRequires: perl(Font::TTF::Cvt_)
#BuildRequires: perl(Font::TTF::Delta)
#BuildRequires: perl(Font::TTF::DSIG)
#BuildRequires: perl(Font::TTF::Dumper)
#BuildRequires: perl(Font::TTF::EBDT)
#BuildRequires: perl(Font::TTF::EBLC)
#BuildRequires: perl(Font::TTF::Fdsc)
#BuildRequires: perl(Font::TTF::Feat)
#BuildRequires: perl(Font::TTF::Features::Cvar)
#BuildRequires: perl(Font::TTF::Features::Size)
#BuildRequires: perl(Font::TTF::Features::Sset)
#BuildRequires: perl(Font::TTF::Fmtx)
#BuildRequires: perl(Font::TTF::Font)
#BuildRequires: perl(Font::TTF::Fpgm)
#BuildRequires: perl(Font::TTF::GDEF)
#BuildRequires: perl(Font::TTF::Glat)
#BuildRequires: perl(Font::TTF::Gloc)
#BuildRequires: perl(Font::TTF::Glyf)
#BuildRequires: perl(Font::TTF::Glyph)
#BuildRequires: perl(Font::TTF::GPOS)
#BuildRequires: perl(Font::TTF::GrFeat)
#BuildRequires: perl(Font::TTF::GSUB)
#BuildRequires: perl(Font::TTF::Hdmx)
#BuildRequires: perl(Font::TTF::Head)
#BuildRequires: perl(Font::TTF::Hhea)
#BuildRequires: perl(Font::TTF::Hmtx)
#BuildRequires: perl(Font::TTF::Kern)
#BuildRequires: perl(Font::TTF::Kern::ClassArray)
#BuildRequires: perl(Font::TTF::Kern::CompactClassArray)
#BuildRequires: perl(Font::TTF::Kern::OrderedList)
#BuildRequires: perl(Font::TTF::Kern::StateTable)
#BuildRequires: perl(Font::TTF::Kern::Subtable)
#BuildRequires: perl(Font::TTF::Loca)
#BuildRequires: perl(Font::TTF::LTSH)
#BuildRequires: perl(Font::TTF::Maxp)
#BuildRequires: perl(Font::TTF::Mort)
#BuildRequires: perl(Font::TTF::Mort::Chain)
#BuildRequires: perl(Font::TTF::Mort::Contextual)
#BuildRequires: perl(Font::TTF::Mort::Insertion)
#BuildRequires: perl(Font::TTF::Mort::Ligature)
#BuildRequires: perl(Font::TTF::Mort::Noncontextual)
#BuildRequires: perl(Font::TTF::Mort::Rearrangement)
#BuildRequires: perl(Font::TTF::Mort::Subtable)
#BuildRequires: perl(Font::TTF::Name)
#BuildRequires: perl(Font::TTF::OS_2)
#BuildRequires: perl(Font::TTF::OTTags)
#BuildRequires: perl(Font::TTF::PCLT)
#BuildRequires: perl(Font::TTF::Post)
#BuildRequires: perl(Font::TTF::Prep)
#BuildRequires: perl(Font::TTF::Prop)
#BuildRequires: perl(Font::TTF::PSNames)
#BuildRequires: perl(Font::TTF::Segarr)
#BuildRequires: perl(Font::TTF::Silf)
#BuildRequires: perl(Font::TTF::Sill)
#BuildRequires: perl(Font::TTF::Table)
#BuildRequires: perl(Font::TTF::Ttc)
#BuildRequires: perl(Font::TTF::Ttopen)
#BuildRequires: perl(Font::TTF::Utils)
#BuildRequires: perl(Font::TTF::Vhea)
#BuildRequires: perl(Font::TTF::Vmtx)
#BuildRequires: perl(Font::TTF::Woff)
#BuildRequires: perl(Font::TTF::Woff::MetaData)
#BuildRequires: perl(Font::TTF::Woff::PrivateData)
#BuildRequires: perl(HTML::Parser)
#BuildRequires: perl(Win32::Registry)
#BuildRequires: perl(XML::Parser::Expat)
Requires:       perl(IO::String)
%{perl_requires}

%description
This module allows you to do almost anything to a TrueType/OpenType Font
including modify and inspect nearly all tables.

%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTORS LICENSE MYMETA.yml README.TXT TODO

%changelog
openSUSE Build Service is sponsored by