diff --git a/dejavu-arabic-override.conf b/dejavu-fonts-arabic-override.conf similarity index 95% rename from dejavu-arabic-override.conf rename to dejavu-fonts-arabic-override.conf index 3a0950d..ea6ab54 100644 --- a/dejavu-arabic-override.conf +++ b/dejavu-fonts-arabic-override.conf @@ -1,6 +1,6 @@ - - ar DejaVu Sans + ar KacstQura - ar DejaVu Serif + ar KacstQura - ar DejaVu Sans Mono + ar KacstQuraFixed diff --git a/dejavu-persian-override.conf b/dejavu-fonts-persian-override.conf similarity index 95% rename from dejavu-persian-override.conf rename to dejavu-fonts-persian-override.conf index 1924b64..11a0258 100644 --- a/dejavu-persian-override.conf +++ b/dejavu-fonts-persian-override.conf @@ -1,6 +1,6 @@ - - fa DejaVu Sans + fa Roya - fa DejaVu Serif + fa Nazli - fa DejaVu Sans Mono + fa Terafik diff --git a/dejavu-fonts-register.xsl b/dejavu-fonts-register.xsl index e6ef492..338ed76 100644 --- a/dejavu-fonts-register.xsl +++ b/dejavu-fonts-register.xsl @@ -91,37 +91,4 @@ DejaVu Sans Mono - - - - - - - - Bitstream Vera Sans - - Bitstream Vera Sans - DejaVu Sans - - - - - - Bitstream Vera Serif - - Bitstream Vera Serif - DejaVu Serif - - - - - - Bitstream Vera Sans Mono - - Bitstream Vera Sans Mono - DejaVu Sans Mono - - - - diff --git a/dejavu-fonts-vera-aliases.conf b/dejavu-fonts-vera-aliases.conf new file mode 100644 index 0000000..1d4c9e1 --- /dev/null +++ b/dejavu-fonts-vera-aliases.conf @@ -0,0 +1,46 @@ + + + + + + Bitstream Vera Sans + + Bitstream Vera Sans + DejaVu Sans + Arev Sans + SUSE Sans + Hunky Sans + Verajja + Bepa + Olwen Sans + + + + Bitstream Vera Serif + + Bitstream Vera Serif + DejaVu Serif + SUSE Serif + Hunky Serif + Olwen Serif + + + + Bitstream Vera Sans Mono + + Bitstream Vera Sans Mono + DejaVu Sans Mono + SUSE Sans Mono + Bepa Mono + Olwen Sans Mono + + + diff --git a/dejavu-fonts.spec b/dejavu-fonts.spec index b3e5018..ea9401d 100644 --- a/dejavu-fonts.spec +++ b/dejavu-fonts.spec @@ -11,15 +11,16 @@ Name: dejavu-fonts Version: 2.7.0 -Release: 0.6%{?dist} +Release: 0.8%{?dist} Summary: DejaVu fonts Group: User Interface/X License: Redistributable, with restrictions URL: http://dejavu.sf.net/ Source: http://prdownloads.sourceforge.net/dejavu/%{archivename}-%{archiveversion}.tar.gz -Source1: dejavu-fonts-register.xsl -Source2: dejavu-persian-override.conf -Source3: dejavu-arabic-override.conf +Source1: %{name}-register.xsl +Source2: %{name}-vera-aliases.conf +Source3: %{name}-persian-override.conf +Source4: %{name}-arabic-override.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: fontforge # The CPAN sources do not declare perl(Font::TTF) @@ -121,11 +122,13 @@ install -m 0644 generated/*.ttf %{buildroot}%{fontdir} #xsl install -d -m 755 %{buildroot}%{xsldir} -install -p -m 644 %{SOURCE1} %{buildroot}%{xsldir}/ +install -p -m 644 %{SOURCE1} %{buildroot}%{xsldir}/register.xsl # Fontconfig overrides for some scripts install -d -m 0755 %{buildroot}%{fontconfdir}/conf.d -install -m 0644 %{SOURCE2} %{SOURCE3} %{buildroot}%{fontconfdir}/conf.d +install -m 0644 %{SOURCE2} %{buildroot}%{fontconfdir}/conf.d/20-BitstreamVera-aliases.conf +install -m 0644 %{SOURCE3} %{buildroot}%{fontconfdir}/conf.d/00-dejavu-persian-override.conf +install -m 0644 %{SOURCE4} %{buildroot}%{fontconfdir}/conf.d/00-dejavu-arabic-override.conf %clean @@ -166,7 +169,7 @@ fi if [ -w %{fontconfdir}/fonts.conf ] ; then TMPFILE=$(/bin/mktemp -q /tmp/fonts.conf.XXXXXX) && \ %{_bindir}/xsltproc --novalid --output $TMPFILE \ - %{xsldir}/%{name}-register.xsl %{fontconfdir}/fonts.conf && \ + %{xsldir}/register.xsl %{fontconfdir}/fonts.conf && \ /bin/cat $TMPFILE > %{fontconfdir}/fonts.conf && /bin/rm $TMPFILE fi @@ -175,6 +178,8 @@ fi %defattr(0644,root,root,0755) %doc *.txt AUTHORS BUGS LICENSE NEWS README +%{fontconfdir}/conf.d/20-BitstreamVera-aliases.conf + %dir %{fontdir} %{fontdir}/DejaVu*.ttf %exclude %{fontdir}/DejaVu*Condensed*.ttf @@ -191,21 +196,23 @@ fi %files makedefault %defattr(0644,root,root,0755) %dir %{xsldir} -%{xsldir}/%{name}-register.xsl +%{xsldir}/register.xsl %files block %defattr(0644,root,root,0755) +%exclude %{fontconfdir}/conf.d/20-BitstreamVera-aliases.conf %{fontconfdir}/conf.d/*.conf %changelog -* Sun Jun 11 2006 Nicolas Mailhot - 2.7.0-0.6 +* Sun Jun 11 2006 Nicolas Mailhot - 2.7.0-0.8 - preparation to 2.7.0 based on the current dejavu snapshot - addition of fontconfig blocking for Arabic and Persian (experimental but safe) - tweak of the fontconfig aliasing to make DejaVu fonts the highest prio instead of following Vera ranking, and rename the subpackage accordingly +- complete and clean up the Vera aliasing * Mon May 15 2006 Nicolas Mailhot - 2.6.0-1 - 2.6.0