auto-import dejavu-fonts-2.2-4.fc5 on branch devel from dejavu-fonts-2.2-4.fc5.src.rpm

initial build from sfd package, is not expected to build before bug #181052 is fixed
This commit is contained in:
nim 2006-02-12 14:19:49 +00:00
parent ef2dc6c51c
commit 009e7a94b9
3 changed files with 32 additions and 7 deletions

View File

@ -1 +1 @@
dejavu-ttf-2.2.tar.gz
dejavu-sfd-2.2.tar.gz

View File

@ -1,15 +1,25 @@
%define archivename dejavu-ttf
%define archivename dejavu-sfd
%define fontdir %{_datadir}/fonts/dejavu
# Let the perl Maintainer worry about Unicode.org data files (updates, licensing)
%define Blocks %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/Blocks.txt
%define UnicodeData %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/UnicodeData.txt
Name: dejavu-fonts
Version: 2.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: DejaVu Fonts
Group: User Interface/X
License: Redistributable, with restrictions
URL: http://dejavu.sf.net/
Source: http://prdownloads.sourceforge.net/dejavu/%{archivename}-%{version}.tar.gz
Source0: http://prdownloads.sourceforge.net/dejavu/%{archivename}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# See bug #181052
BuildRequires: fontforge >= 20060209
# The CPAN sources do not declare perl(Font::TTF)
BuildRequires: perl-Font-TTF
# Needed to compute unicode coverage
BuildRequires: %{Blocks} %{UnicodeData}
BuildArch: noarch
Conflicts: fontconfig < 2.3.93
@ -23,13 +33,25 @@ the process of collaborative develop
%setup -q -n %{archivename}-%{version}
%build
./generate.sh
./status.pl %{version} status.txt *.sfd > status.txt.new
mv status.txt.new status.txt
./unicover.pl %{UnicodeData} %{Blocks} \
DejaVuSans.sfd Sans \
DejaVuSerif.sfd Serif \
DejaVuMonoSans.sfd "Sans Mono" > unicover.txt
%check
# Current upstream files are full of "problems"
# Do not panic if the output is long
./problems.pl -l 3 *.sfd
%install
/bin/rm -rf %{buildroot}
#fonts
install -d -m 0755 %{buildroot}%{fontdir}
install -m 0644 *.ttf %{buildroot}%{fontdir}
install -m 0644 generated/*.ttf %{buildroot}%{fontdir}
%clean
/bin/rm -rf %{buildroot}
@ -52,11 +74,14 @@ fi
%defattr(0644,root,root,0755)
%doc *.txt AUTHORS BUGS LICENSE NEWS README
%dir %{fontdir}
%{fontdir}/*.ttf
%changelog
* Sun Feb 12 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> 2.2-4
- WARNING: in an effort to get Fedora Extras as self-hosting as possible
starting from this release ttf files are regenerated from sfd sources
* Mon Jan 16 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> 2.2-2
- bump release to ensure graceful FC4 -> FC5 update
- bump again because of bas CVS tag

View File

@ -1 +1 @@
cfd45d17c2bffc761997cfcb00040e1f dejavu-ttf-2.2.tar.gz
c37ef5e2a5f8d8a8de55fe87cfb84739 dejavu-sfd-2.2.tar.gz