rpms/dejavu-fonts/FC-4 .cvsignore, 1.8, 1.9 dejavu-fonts.spec, 1.9, 1.10 sources, 1.8, 1.9
Nicolas Mailhot (nim)
fedora-extras-commits at redhat.com
Sat Feb 18 14:02:11 UTC 2006
Author: nim
Update of /cvs/extras/rpms/dejavu-fonts/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31048/FC-4
Modified Files:
.cvsignore dejavu-fonts.spec sources
Log Message:
auto-import dejavu-fonts-2.2-4.fc4 on branch FC-4 from dejavu-fonts-2.2-4.fc4.src.rpm
build from sfds
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/dejavu-fonts/FC-4/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore 16 Jan 2006 06:35:38 -0000 1.8
+++ .cvsignore 18 Feb 2006 14:02:11 -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/FC-4/dejavu-fonts.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- dejavu-fonts.spec 17 Jan 2006 23:46:36 -0000 1.9
+++ dejavu-fonts.spec 18 Feb 2006 14:02:11 -0000 1.10
@@ -1,15 +1,24 @@
-%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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: fontforge
+# 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.0
@@ -19,22 +28,39 @@
page for more information) while maintaining the original look and feel through
the process of collaborative develop
+
%prep
%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}
# "touch" all files we've got flagged as %ghost but which are not
# present in the RPM_BUILD_ROOT when RPM looks for files
/bin/touch %{buildroot}%{fontdir}/fonts.cache-1
+
%clean
/bin/rm -rf %{buildroot}
@@ -62,6 +88,10 @@
%ghost %{fontdir}/fonts.cache-1
%changelog
+* Sat Feb 18 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
+
* Wed Jan 18 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> 2.2-3
- > = -> >=
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/dejavu-fonts/FC-4/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources 16 Jan 2006 06:35:38 -0000 1.8
+++ sources 18 Feb 2006 14:02:11 -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