modify
This commit is contained in:
parent
9bb5d1dc0b
commit
3051273e29
BIN
Font-TTF-1.06.tar.gz
Normal file
BIN
Font-TTF-1.06.tar.gz
Normal file
Binary file not shown.
74
perl-Font-TTF.spec
Normal file
74
perl-Font-TTF.spec
Normal file
@ -0,0 +1,74 @@
|
||||
Name: perl-Font-TTF
|
||||
Version: 1.06
|
||||
Release: 9
|
||||
Summary: Perl library for modifying TTF font files
|
||||
License: Artistic 2.0
|
||||
URL: https://metacpan.org/release/Font-TTF
|
||||
Source0: http://cpan.org/authors/id/B/BH/BHALLISSY/Font-TTF-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(Getopt::Std) perl(strict) perl(bytes) perl(Compress::Zlib)
|
||||
BuildRequires: perl(Data::Dumper) perl(Exporter) perl(File::Spec) perl(IO::File)
|
||||
BuildRequires: perl(IO::String) perl(Symbol) perl(utf8) perl(vars)
|
||||
BuildRequires: perl(File::Compare) perl(Test::More) perl(Test::Simple)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||
|
||||
%description
|
||||
The package provides perl module for TrueType font hacking. It supports reading,
|
||||
processing and writing of the tables.you can do almost anything with a standard
|
||||
TrueType font with this module.
|
||||
|
||||
|
||||
%package XMLparse
|
||||
Summary: Parser for XML Font
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||
Conflicts: perl-Font-TTF < 1.06-6
|
||||
|
||||
%description XMLparse
|
||||
The package provides a perl module .It contains the support routines for generating
|
||||
the TrueType font structures and parsing XML as a result.
|
||||
|
||||
%package help
|
||||
Summary: Documentation for perl-Font-TTF package
|
||||
|
||||
%description help
|
||||
Documentation for perl-Font-TTF package.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n Font-TTF-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%dir %{perl_vendorlib}/Font
|
||||
%dir %{perl_vendorlib}/Font/TTF
|
||||
%{perl_vendorlib}/*
|
||||
%exclude %{perl_vendorlib}/Font/TTF/XMLparse.pm
|
||||
%exclude %{perl_vendorlib}/Font/TTF/Win32.pm
|
||||
|
||||
%files XMLparse
|
||||
%license LICENSE
|
||||
%dir %{perl_vendorlib}/Font
|
||||
%dir %{perl_vendorlib}/Font/TTF
|
||||
%{perl_vendorlib}/Font/TTF/XMLparse.pm
|
||||
|
||||
%files help
|
||||
%doc README.TXT CONTRIBUTORS Changes TODO
|
||||
%{_mandir}/man3/*.3*
|
||||
%exclude %{_mandir}/man3/Font::TTF::Win32.3pm.*
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 12 2019 zhujunhao <zhujunhao5@huawei.com> 1.06-9
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user