[perl-Font-TTF] 1.00 bump
Petr Šabata
psabata at fedoraproject.org
Wed Aug 29 09:53:11 UTC 2012
commit 76e56900de54906d3babb8be366be30b33885edf
Author: Petr Šabata <contyk at redhat.com>
Date: Wed Aug 29 11:52:49 2012 +0200
1.00 bump
.gitignore | 1 +
perl-Font-TTF.spec | 60 ++++++++++++++++++++--------------------------------
sources | 2 +-
3 files changed, 25 insertions(+), 38 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5e49148..1e5c1cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
Font-TTF-0.45.tar.gz
/Font-TTF-0.48.tar.gz
+/Font-TTF-1.00.tar.gz
diff --git a/perl-Font-TTF.spec b/perl-Font-TTF.spec
index 018986d..117f7ce 100644
--- a/perl-Font-TTF.spec
+++ b/perl-Font-TTF.spec
@@ -1,24 +1,20 @@
-%global cpanname Font-TTF
-
-Name: perl-%{cpanname}
-Version: 0.48
-Release: 5%{?dist}
-Summary: Perl library for modifying TTF font files
-
-Group: Development/Libraries
-License: Artistic 2.0
-URL: http://search.cpan.org/dist/%{cpanname}/
-Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/%{cpanname}-%{version}.tar.gz
-
+Name: perl-Font-TTF
+Version: 1.00
+Release: 1%{?dist}
+Summary: Perl library for modifying TTF font files
+Group: Development/Libraries
+License: Artistic 2.0
+URL: http://search.cpan.org/dist/Font-TTF/
+Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/Font-TTF-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: perl(Compress::Zlib)
+BuildRequires: perl(Data::Dumper)
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: dos2unix
-# Check requirements
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(IO::File)
+BuildRequires: perl(IO::String)
BuildRequires: perl(Test::Simple)
-
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-%{?perl_default_filter}
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Perl module for TrueType font hacking. Supports reading, processing and writing
@@ -30,52 +26,42 @@ types.
In short, you can do almost anything with a standard TrueType font with this
module.
-
%prep
-%setup -q -n %{cpanname}-%{version}
-dos2unix README.TXT COPYING lib/Font/TTF/Changes
-
+%setup -q -n Font-TTF-%{version}
+#dos2unix README.TXT COPYING lib/Font/TTF/Changes
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
-
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
find %{buildroot} -type f -name .packlist -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 ';'
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} %{buildroot}/*
%check
make test
-
%files
-%defattr(0644,root,root,0755)
-%doc README.TXT COPYING lib/Font/TTF/Changes
-
+%doc README.TXT LICENSE CONTRIBUTORS Changes TODO
%dir %{perl_vendorlib}/Font
%dir %{perl_vendorlib}/Font/TTF
-
%{perl_vendorlib}/ttfmod.pl
%{perl_vendorlib}/Font/TTF.pm
%{perl_vendorlib}/Font/TTF/*
-
-%exclude %{perl_vendorlib}/Font/TTF/Changes
-
%{_mandir}/man3/*.3*
-
# We really don't want to use this perl package in a Win32 env
# or poke in the windows registry to resolve fonts
# (upstream makefile needs to get smarter)
%exclude %{perl_vendorlib}/Font/TTF/Win32.pm
-
%changelog
+* Wed Aug 29 2012 Petr Šabata <contyk at redhat.com> - 1.00-1
+- 1.00 bump
+- Modernize the spec file
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.48-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index 3ba4c32..c7efad6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-56d614d04e985558d1518b8f4b29254e Font-TTF-0.48.tar.gz
+c12a7b6ee866ffedc44d7d18d41eff82 Font-TTF-1.00.tar.gz
More information about the scm-commits
mailing list