⌖ Fedora 10 alpha general package cleanup

epel9
nim 17 years ago
parent f8183d3b49
commit 35aca8c31d

@ -1 +1 @@
Font-TTF-0.43.tar.gz Font-TTF-0.45.tar.gz

@ -0,0 +1 @@
perl-Font-TTF-0_45-1_fc10:HEAD:perl-Font-TTF-0.45-1.fc10.src.rpm:1215811435

@ -1,27 +1,24 @@
%define cpanname Font-TTF %define cpanname Font-TTF
%define cpanver %{version}
Name: perl-%{cpanname}
Name: perl-%{cpanname} Version: 0.45
Version: 0.43 Release: 1%{?dist}
Release: 3%{?dist} Summary: Perl library for modifying TTF font files
Summary: Perl library for modifying TTF font files
Group: Development/Libraries
Group: Development/Libraries # Will probalby die soonish because of the following
# Relicensing needs to be negociated with upstream whenever it gets around License: Artistic
# releasing a new version URL: http://search.cpan.org/dist/%{cpanname}/
License: Artistic Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/%{cpanname}-%{version}.tar.gz
URL: http://search.cpan.org/dist/%{cpanname}/ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/%{cpanname}-%{cpanver}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildArch: noarch BuildRequires: dos2unix
BuildRequires: perl-devel, dos2unix # Check requirements
BuildRequires: perl(Test::Simple)
# The current FE perl template proposes this BuildRequires
# The current FE packaging guidelines say it's forbidden Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# Commenting out while a consensus is reached
#BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
Perl module for TrueType font hacking. Supports reading, processing and writing Perl module for TrueType font hacking. Supports reading, processing and writing
@ -35,29 +32,38 @@ module.
%prep %prep
%setup -q -n %{cpanname}-%{cpanver} %setup -q -n %{cpanname}-%{version}
dos2unix README.TXT COPYING lib/Font/TTF/Changes dos2unix README.TXT COPYING lib/Font/TTF/Changes
%build %build
%{__perl} Makefile.PL INSTALLDIRS="vendor" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} 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 d -depth -exec rmdir {} 2>/dev/null ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
chmod -R u+w %{buildroot}/* find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+rwX,g+rX %{buildroot}/*
%check
make test
%clean %clean
rm -rf %{buildroot} rm -fr %{buildroot}
%files %files
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%doc README.TXT COPYING 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
@ -76,7 +82,13 @@ rm -rf %{buildroot}
%changelog %changelog
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.43-3 * Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
- 0.45-1
⌖ Fedora 10 alpha general package cleanup
⚖ Upstream needs to relicense fast to avoid culling
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com>
- 0.43-3
Rebuild for new perl Rebuild for new perl
* Sat Feb 09 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net> * Sat Feb 09 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>

@ -1 +1 @@
3a92d8019722c227a521fe121027a3ef Font-TTF-0.43.tar.gz 5cf3baa8e227c43184767240f1d57ba1 Font-TTF-0.45.tar.gz

Loading…
Cancel
Save