|
|
@ -1,16 +1,14 @@
|
|
|
|
%global cpanname Font-TTF
|
|
|
|
%global cpanname Font-TTF
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-%{cpanname}
|
|
|
|
Name: perl-%{cpanname}
|
|
|
|
Version: 0.45
|
|
|
|
Version: 0.48
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl library for modifying TTF font files
|
|
|
|
Summary: Perl library for modifying TTF font files
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: Artistic 2.0
|
|
|
|
License: Artistic 2.0
|
|
|
|
URL: http://search.cpan.org/dist/%{cpanname}/
|
|
|
|
URL: http://search.cpan.org/dist/%{cpanname}/
|
|
|
|
Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/%{cpanname}-%{version}.tar.gz
|
|
|
|
Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/%{cpanname}-%{version}.tar.gz
|
|
|
|
Source1: %{name}-COPYING.Fedora
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
@ -20,6 +18,8 @@ BuildRequires: perl(Test::Simple)
|
|
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Perl module for TrueType font hacking. Supports reading, processing and writing
|
|
|
|
Perl module for TrueType font hacking. Supports reading, processing and writing
|
|
|
|
of the following tables: GDEF, GPOS, GSUB, LTSH, OS/2, PCLT, bsln, cmap, cvt,
|
|
|
|
of the following tables: GDEF, GPOS, GSUB, LTSH, OS/2, PCLT, bsln, cmap, cvt,
|
|
|
@ -34,7 +34,6 @@ module.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpanname}-%{version}
|
|
|
|
%setup -q -n %{cpanname}-%{version}
|
|
|
|
dos2unix README.TXT COPYING lib/Font/TTF/Changes
|
|
|
|
dos2unix README.TXT COPYING lib/Font/TTF/Changes
|
|
|
|
install -m 0644 -p %{SOURCE1} COPYING.Fedora
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -43,27 +42,21 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -fr %{buildroot}
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
|
|
chmod -R u+rwX,g+rX %{buildroot}/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -fr %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc README.TXT COPYING COPYING.Fedora lib/Font/TTF/Changes
|
|
|
|
%doc README.TXT COPYING lib/Font/TTF/Changes
|
|
|
|
|
|
|
|
|
|
|
|
%dir %{perl_vendorlib}/Font
|
|
|
|
%dir %{perl_vendorlib}/Font
|
|
|
|
%dir %{perl_vendorlib}/Font/TTF
|
|
|
|
%dir %{perl_vendorlib}/Font/TTF
|
|
|
@ -83,6 +76,9 @@ rm -fr %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Mar 09 2011 Parag Nemade <panemade AT fedoraproject DOT org> - 0.48-1
|
|
|
|
|
|
|
|
- new upstream release 0.48
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-9
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|