rpms/dejavu-fonts/devel .cvsignore, 1.8, 1.9 dejavu-fonts.spec, 1.10, 1.11 sources, 1.8, 1.9

Nicolas Mailhot (nim) fedora-extras-commits at redhat.com
Sun Feb 12 14:19:49 UTC 2006


Author: nim

Update of /cvs/extras/rpms/dejavu-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13236/devel

Modified Files:
	.cvsignore dejavu-fonts.spec sources 
Log Message:
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


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/dejavu-fonts/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore	16 Jan 2006 06:32:05 -0000	1.8
+++ .cvsignore	12 Feb 2006 14:19:49 -0000	1.9
@@ -1 +1 @@
-dejavu-ttf-2.2.tar.gz
+dejavu-sfd-2.2.tar.gz


Index: dejavu-fonts.spec
===================================================================
RCS file: /cvs/extras/rpms/dejavu-fonts/devel/dejavu-fonts.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- dejavu-fonts.spec	16 Jan 2006 20:43:32 -0000	1.10
+++ dejavu-fonts.spec	12 Feb 2006 14:19:49 -0000	1.11
@@ -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 @@
 %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 @@
 %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


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/dejavu-fonts/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources	16 Jan 2006 06:32:05 -0000	1.8
+++ sources	12 Feb 2006 14:19:49 -0000	1.9
@@ -1 +1 @@
-cfd45d17c2bffc761997cfcb00040e1f  dejavu-ttf-2.2.tar.gz
+c37ef5e2a5f8d8a8de55fe87cfb84739  dejavu-sfd-2.2.tar.gz




More information about the scm-commits mailing list