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:
parent
ef2dc6c51c
commit
009e7a94b9
@ -1 +1 @@
|
|||||||
dejavu-ttf-2.2.tar.gz
|
dejavu-sfd-2.2.tar.gz
|
||||||
|
@ -1,15 +1,25 @@
|
|||||||
%define archivename dejavu-ttf
|
%define archivename dejavu-sfd
|
||||||
%define fontdir %{_datadir}/fonts/dejavu
|
%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
|
Name: dejavu-fonts
|
||||||
Version: 2.2
|
Version: 2.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: DejaVu Fonts
|
Summary: DejaVu Fonts
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
License: Redistributable, with restrictions
|
License: Redistributable, with restrictions
|
||||||
URL: http://dejavu.sf.net/
|
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)
|
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
|
BuildArch: noarch
|
||||||
Conflicts: fontconfig < 2.3.93
|
Conflicts: fontconfig < 2.3.93
|
||||||
|
|
||||||
@ -23,13 +33,25 @@ the process of collaborative develop
|
|||||||
%setup -q -n %{archivename}-%{version}
|
%setup -q -n %{archivename}-%{version}
|
||||||
|
|
||||||
%build
|
%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
|
%install
|
||||||
/bin/rm -rf %{buildroot}
|
/bin/rm -rf %{buildroot}
|
||||||
|
|
||||||
#fonts
|
#fonts
|
||||||
install -d -m 0755 %{buildroot}%{fontdir}
|
install -d -m 0755 %{buildroot}%{fontdir}
|
||||||
install -m 0644 *.ttf %{buildroot}%{fontdir}
|
install -m 0644 generated/*.ttf %{buildroot}%{fontdir}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
/bin/rm -rf %{buildroot}
|
/bin/rm -rf %{buildroot}
|
||||||
@ -52,11 +74,14 @@ fi
|
|||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%doc *.txt AUTHORS BUGS LICENSE NEWS README
|
%doc *.txt AUTHORS BUGS LICENSE NEWS README
|
||||||
|
|
||||||
|
|
||||||
%dir %{fontdir}
|
%dir %{fontdir}
|
||||||
%{fontdir}/*.ttf
|
%{fontdir}/*.ttf
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jan 16 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> 2.2-2
|
||||||
- bump release to ensure graceful FC4 -> FC5 update
|
- bump release to ensure graceful FC4 -> FC5 update
|
||||||
- bump again because of bas CVS tag
|
- bump again because of bas CVS tag
|
||||||
|
Loading…
Reference in New Issue
Block a user