bfae0f
%global fontname    dejavu
bfae0f
%global archivename %{name}-%{archiveversion}
bfae0f
bfae0f
#global alphatag .20080512svn2226
bfae0f
#global alphatag .rc1
bfae0f
bfae0f
#global archiveversion 2.24-20080512-2226
bfae0f
%global archiveversion %{version}
bfae0f
bfae0f
# Common description
bfae0f
%global common_desc \
bfae0f
The DejaVu font set is based on the “Bitstream Vera” fonts, release 1.10. Its\
bfae0f
purpose is to provide a wider range of characters, while maintaining the \
bfae0f
original style, using an open collaborative development process.
bfae0f
bfae0f
bfae0f
Name:    %{fontname}-fonts
bfae0f
Version: 2.33
10fa80
Release: 6%{?alphatag}%{?dist}
bfae0f
Summary: DejaVu fonts
bfae0f
bfae0f
Group:     User Interface/X
bfae0f
License:   Bitstream Vera and Public Domain
bfae0f
URL:       http://%{name}.org/
bfae0f
Source0:   %{?!alphatag:http://downloads.sourceforge.net/%{fontname}}%{?alphatag:%{fontname}.sourceforge.net/snapshots}/%{archivename}.tar.bz2
bfae0f
bfae0f
bfae0f
# Older fontforge versions will not work due to sfd format changes
bfae0f
BuildRequires: fontforge >= 20080429
bfae0f
BuildRequires: perl(Font::TTF)
bfae0f
# Needed to compute unicode coverage
bfae0f
BuildRequires: unicode-ucd
bfae0f
bfae0f
BuildArch:     noarch
bfae0f
BuildRequires: fontpackages-devel
bfae0f
bfae0f
%description
bfae0f
%common_desc
bfae0f
bfae0f
bfae0f
%package common
bfae0f
Summary:  Common files for the Dejavu font set
bfae0f
Requires: fontpackages-filesystem
bfae0f
bfae0f
Obsoletes: dejavu-fonts-doc < 2.26-6
bfae0f
Obsoletes: %{name}-compat < 2.29-3
bfae0f
Obsoletes: %{name}-lgc-compat < 2.29-3
bfae0f
bfae0f
%description common
bfae0f
%common_desc
bfae0f
bfae0f
This package consists of files used by other DejaVu packages.
bfae0f
bfae0f
bfae0f
%package -n %{fontname}-sans-fonts
bfae0f
Summary:  Variable-width sans-serif font faces
bfae0f
Requires: %{name}-common = %{version}-%{release}
bfae0f
bfae0f
Conflicts: dejavu-fonts < 2.26-3
bfae0f
Conflicts: dejavu-fonts-experimental < 2.26-3
bfae0f
bfae0f
Obsoletes: %{name}-sans < 2.28-2
bfae0f
bfae0f
%description -n %{fontname}-sans-fonts
bfae0f
%common_desc
bfae0f
bfae0f
This package consists of the DejaVu sans-serif variable-width font faces, in
bfae0f
their unabridged version.
bfae0f
bfae0f
%_font_pkg -n sans -f *-%{fontname}-sans.conf DejaVuSans.ttf DejaVuSans-*.ttf DejaVuSansCondensed*.ttf
bfae0f
bfae0f
bfae0f
%package -n %{fontname}-serif-fonts
bfae0f
Summary:  Variable-width serif font faces
bfae0f
Requires: %{name}-common = %{version}-%{release}
bfae0f
bfae0f
Conflicts: dejavu-fonts < 2.26-3
bfae0f
Conflicts: dejavu-fonts-experimental < 2.26-3
bfae0f
bfae0f
Obsoletes: %{name}-serif < 2.28-2
bfae0f
bfae0f
%description -n %{fontname}-serif-fonts
bfae0f
%common_desc
bfae0f
bfae0f
This package consists of the DejaVu serif variable-width font faces, in their
bfae0f
unabridged version.
bfae0f
bfae0f
%_font_pkg -n serif -f *-%{fontname}-serif.conf DejaVuSerif.ttf DejaVuSerif-*.ttf DejaVuSerifCondensed*.ttf
bfae0f
bfae0f
bfae0f
%package -n %{fontname}-sans-mono-fonts
bfae0f
Summary:  Monospace sans-serif font faces
bfae0f
Requires: %{name}-common = %{version}-%{release}
bfae0f
bfae0f
Conflicts: dejavu-fonts < 2.26-3
bfae0f
Conflicts: dejavu-fonts-experimental < 2.26-3
bfae0f
bfae0f
Obsoletes: %{name}-sans-mono < 2.28-2
bfae0f
bfae0f
%description -n %{fontname}-sans-mono-fonts
bfae0f
%common_desc
bfae0f
bfae0f
This package consists of the DejaVu sans-serif monospace font faces, in their
bfae0f
unabridged version.
bfae0f
bfae0f
%_font_pkg -n sans-mono -f *-%{fontname}-sans-mono.conf DejaVuSansMono*.ttf
bfae0f
bfae0f
bfae0f
%package -n %{fontname}-lgc-sans-fonts
bfae0f
Summary:  Variable-width sans-serif font faces, Latin-Greek-Cyrillic subset
bfae0f
Requires: %{name}-common = %{version}-%{release}
bfae0f
bfae0f
Conflicts: dejavu-lgc-fonts < 2.26-3
bfae0f
bfae0f
Obsoletes: %{name}-lgc-sans < 2.28-2
bfae0f
bfae0f
%description -n %{fontname}-lgc-sans-fonts
bfae0f
%common_desc
bfae0f
bfae0f
This package consists of the DejaVu sans-serif variable-width font faces, with
bfae0f
unicode coverage restricted to Latin, Greek and Cyrillic.
bfae0f
bfae0f
%_font_pkg -n lgc-sans -f *-%{fontname}-lgc-sans.conf DejaVuLGCSans.ttf DejaVuLGCSans-*.ttf DejaVuLGCSansCondensed*.ttf
bfae0f
bfae0f
bfae0f
%package -n %{fontname}-lgc-serif-fonts
bfae0f
Summary:  Variable-width serif font faces, Latin-Greek-Cyrillic subset
bfae0f
Requires: %{name}-common = %{version}-%{release}
bfae0f
bfae0f
Conflicts: dejavu-lgc-fonts < 2.26-3
bfae0f
bfae0f
Obsoletes: %{name}-lgc-serif < 2.28-2
bfae0f
bfae0f
%description -n %{fontname}-lgc-serif-fonts
bfae0f
%common_desc
bfae0f
bfae0f
This package consists of the DejaVu serif variable-width font faces, with
bfae0f
unicode coverage restricted to Latin, Greek and Cyrillic.
bfae0f
bfae0f
%_font_pkg -n lgc-serif -f *-%{fontname}-lgc-serif.conf DejaVuLGCSerif.ttf DejaVuLGCSerif-*.ttf DejaVuLGCSerifCondensed*.ttf
bfae0f
bfae0f
bfae0f
%package -n %{fontname}-lgc-sans-mono-fonts
bfae0f
Summary:  Monospace sans-serif font faces, Latin-Greek-Cyrillic subset
bfae0f
Requires: %{name}-common = %{version}-%{release}
bfae0f
bfae0f
Conflicts: dejavu-lgc-fonts < 2.26-3
bfae0f
bfae0f
Obsoletes: %{name}-lgc-sans-mono < 2.28-2
bfae0f
bfae0f
%description -n %{fontname}-lgc-sans-mono-fonts
bfae0f
%common_desc
bfae0f
bfae0f
This package consists of the DejaVu sans-serif monospace font faces, with
bfae0f
unicode coverage restricted to Latin, Greek and Cyrillic.
bfae0f
bfae0f
%_font_pkg -n lgc-sans-mono -f *-%{fontname}-lgc-sans-mono.conf DejaVuLGCSansMono*.ttf
bfae0f
bfae0f
bfae0f
%prep
bfae0f
%setup -q -n %{archivename}
bfae0f
bfae0f
%build
bfae0f
make %{?_smp_mflags} VERSION=%{version} FC-LANG="" \
bfae0f
     BLOCKS=/usr/share/unicode/ucd/Blocks.txt UNICODEDATA=/usr/share/unicode/ucd/UnicodeData.txt
bfae0f
bfae0f
# Stop the desktop people from complaining this file is too big
bfae0f
bzip2 -9 build/status.txt
bfae0f
bfae0f
bfae0f
%check
bfae0f
make check
bfae0f
bfae0f
bfae0f
%install
bfae0f
rm -fr %{buildroot}
bfae0f
bfae0f
install -m 0755 -d %{buildroot}%{_fontdir}
bfae0f
install -m 0644 -p build/*.ttf %{buildroot}%{_fontdir}
bfae0f
bfae0f
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
bfae0f
                   %{buildroot}%{_fontconfig_confdir}
bfae0f
bfae0f
cd fontconfig
bfae0f
for fontconf in *conf ; do
bfae0f
  install -m 0644 -p $fontconf %{buildroot}%{_fontconfig_templatedir}
bfae0f
  ln -s %{_fontconfig_templatedir}/$fontconf \
bfae0f
        %{buildroot}%{_fontconfig_confdir}/$fontconf
bfae0f
done
bfae0f
bfae0f
bfae0f
%clean
bfae0f
rm -fr %{buildroot}
bfae0f
bfae0f
bfae0f
%files common
bfae0f
%defattr(0644,root,root,0755)
bfae0f
%doc AUTHORS BUGS LICENSE NEWS README
bfae0f
%doc build/unicover.txt build/status.txt.bz2
bfae0f
bfae0f
bfae0f
%changelog
10fa80
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.33-6
10fa80
- Mass rebuild 2013-12-27
10fa80
bfae0f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33-5
bfae0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bfae0f
bfae0f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33-4
bfae0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bfae0f
bfae0f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33-3
bfae0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bfae0f
bfae0f
* Tue Nov 29 2011 Paul Flo Williams <paul@frixxon.co.uk>
bfae0f
- 2.33-2
bfae0f
- Get Unicode data from unicode-ucd. Fixes FTBFS bug #748522
bfae0f
bfae0f
* Mon Apr 04 2011 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.33-1
bfae0f
— Improved Hebrew and Armenian
bfae0f
bfae0f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
bfae0f
- 2.32-2
bfae0f
– Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bfae0f
bfae0f
* Fri Sep 10 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.32-1
bfae0f
bfae0f
* Tue Jun  3 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.31-1
bfae0f
— drop Serif Condensed Italic naming patch
bfae0f
bfae0f
* Mon Sep  7 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.30-2
bfae0f
— patch to fix bug #505129 Serif Condensed Italic is not Serif Condensed
bfae0f
bfae0f
* Sun Sep  6 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.30-1
bfae0f
bfae0f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
bfae0f
- 2.29-4
bfae0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bfae0f
bfae0f
* Sat May 23 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 1.29-3
bfae0f
— remove pre-F11 compatibility metapackage
bfae0f
bfae0f
* Sun Mar 15 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.29-2
bfae0f
— Make sure F11 font packages have been built with F11 fontforge
bfae0f
bfae0f
* Sat Mar 14 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.29-1
bfae0f
bfae0f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
bfae0f
- 2.28-6
bfae0f
— Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bfae0f
bfae0f
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.28-5
bfae0f
— prepare for F11 mass rebuild, new rpm and new fontpackages
bfae0f
— drop compatibility provides as announced at F11 alpha time
bfae0f
bfae0f
* Thu Feb  5 2009 <nicolas.mailhot at laposte.net>
bfae0f
- 2.28-4
bfae0f
✓ Test build with new fontpackages and in-rpm auto-font-provides
bfae0f
bfae0f
* Fri Jan 16 2009 <nicolas.mailhot at laposte.net>
bfae0f
- 2.28-3
bfae0f
— Fix lgc-serif obsoletes
bfae0f
bfae0f
* Thu Jan 15 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.28-2
bfae0f
— Update URL
bfae0f
— update for new naming guidelines
bfae0f
– warning: provides for the old names will be dropped before F11 beta
bfae0f
bfae0f
* Sun Dec 21 2008 <nicolas.mailhot at laposte.net>
bfae0f
- 2.28-1
bfae0f
❄ Update to latest release
bfae0f
❅ Drop upstreamed fontconfig patch
bfae0f
❆ Remove DejaVu from most summaries
bfae0f
bfae0f
bfae0f
* Sat Dec  6 2008 <nicolas.mailhot at laposte.net>
bfae0f
- 2.27-7
bfae0f
߹ Add explicit conflicts to help yum
bfae0f
bfae0f
* Sun Nov 23 2008 <nicolas.mailhot at laposte.net>
bfae0f
- 2.27-5
bfae0f
ᛤ ‘rpm-fonts’ renamed to “fontpackages”
bfae0f
bfae0f
* Tue Nov 12 2008 <nicolas.mailhot at laposte.net>
bfae0f
- 2.27-4
bfae0f
▤ Tweak using new « rpm-fonts »
bfae0f
bfae0f
* Mon Nov 10 2008 <nicolas.mailhot at laposte.net>
bfae0f
- 2.26-7
bfae0f
▤ Rebuild using new « rpm-fonts »
bfae0f
bfae0f
* Sun Nov 9 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.26-6
bfae0f
⧎ Package split reorganisation, following font family lines
bfae0f
ⵞ Create compat packages to ease switchover at F11 time (to be discontinued
bfae0f
  for F12)
bfae0f
⬳ compress status file
bfae0f
bfae0f
* Wed Sep 3 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.26-2
bfae0f
⚙ Rebuild with pre-F10-freeze fontforge
bfae0f
bfae0f
* Sun Jul 26 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
- 2.26-1
bfae0f
Բ New release at last
bfae0f
bfae0f
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com>
bfae0f
- 2.25-4
bfae0f
- note Public Domain contributions
bfae0f
bfae0f
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com>
bfae0f
- 2.25-3
bfae0f
- fix license tag
bfae0f
bfae0f
* Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
bfae0f
- 2.25-2
bfae0f
⌖ Fedora 10 alpha general package cleanup
bfae0f
bfae0f
* Mon May 19 2008 <nicolas.mailhot at laposte.net>
bfae0f
- 2.25-1
bfae0f
❋ 2.25 final
bfae0f
bfae0f
* Fri Apr 4 2008 <nicolas.mailhot at laposte.net>
bfae0f
- 2.24-3
bfae0f
⚕ Fix source URL
bfae0f
bfae0f
* Tue Mar 18 2008 <nicolas.mailhot at laposte.net>
bfae0f
- 2.24-2
bfae0f
✓ rebuild for new fontforge
bfae0f
bfae0f
* Mon Mar 10 2008 <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.24-1
bfae0f
✓ 2.24 final
bfae0f
bfae0f
* Tue Mar 4 2008 <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.24-0.2.rc1
bfae0f
✓ rc time
bfae0f
bfae0f
* Mon Mar 3 2008 <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.24-0.1.20080228svn2189
bfae0f
✓ early 2.24 test build, check new fontforge
bfae0f
bfae0f
* Sun Jan 20 2008 <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.23-1
bfae0f
✓ 2.23 final
bfae0f
bfae0f
* Thu Dec 9 2007 <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.22-1
bfae0f
✓ 2.22 final
bfae0f
bfae0f
* Thu Dec 6 2007 <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.22-0.1.20071206svn2135
bfae0f
✓ 2.22 rc phase started
bfae0f
✓ sync with guidelines
bfae0f
bfae0f
* Sun Oct 28 2007 <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.21-1
bfae0f
✓ 2.21 final
bfae0f
bfae0f
* Sat Oct 27 2007 <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.21-0.4.20071027svn2023
bfae0f
✓ Fedora fontconfig files dropped (merged upstream)
bfae0f
bfae0f
* Wed Oct 25 2007 <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.21-0.3.20071025svn2022
bfae0f
 ✓ Makefile patch dropped (merged upstream)
bfae0f
 ✓ add -f to fc-cache calls
bfae0f
 ✓ completely align LGC and FULL fontconfig rules
bfae0f
 ✓ remove / from directory macros
bfae0f
bfae0f
* Sun Oct 21 2007 <nicolas.mailhot at laposte.net>
bfae0f
☢ 2.21-0.2.20071017svn2019
bfae0f
⚠ Still very experimental version:
bfae0f
  ✓ update makefile patch
bfae0f
  ✓ split lgc hinting file like in the other packages
bfae0f
  ✓ move lgc to prio 58 as should have been done when liberation was added
bfae0f
bfae0f
* Sun Oct 21 2007 <nicolas.mailhot at laposte.net>
bfae0f
☢ 2.21-0.1.20071014svn2016
bfae0f
⚠ Very experimental version to test major changes:
bfae0f
  ✓ new fontforge version
bfae0f
  ✓ use of a real makefile at last
bfae0f
  ✓ replacing standalone lgc package with subpackage generated with the rest
bfae0f
bfae0f
* Tue Sep 18 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.20-1
bfae0f
✓ 2.20 final
bfae0f
✓ bugfix release (Hebrew fixes mostly)
bfae0f
bfae0f
* Sat Aug 11 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.19-1
bfae0f
✓ 2.19 final
bfae0f
✓ expand macro use
bfae0f
bfae0f
* Sun Jul 1 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.18-1
bfae0f
✓ 2.18 final
bfae0f
✓ Major new release adding Tifinagh (ⵞⵥⴼⴻ), N'ko (ߝߧߜ) and Georgian (ლფჱႫႿ)
bfae0f
  (Georgian created by Besarion Paata Gugushvili ბესარიონ პაატა გუგუშვილი)
bfae0f
bfae0f
* Wed Jun 27 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.18-0.2.rc1
bfae0f
✓ 2.18-rc1
bfae0f
bfae0f
* Sun Jun 3 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☢ 2.18-0.1.20070616svn1889
bfae0f
⚠ early snapshot to test new fontforge
bfae0f
bfae0f
* Sun Jun 3 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.17-5
bfae0f
✓ declare DejaVu a valid Bitstream Prima™ substitute
bfae0f
bfae0f
* Thu May 31 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.17-3
bfae0f
✓ small spec cleanups
bfae0f
bfae0f
* Sat May 26 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.17-2
bfae0f
✓ perl-Font-TTF has been fixed upstream, use perl(Font::TTF) BR
bfae0f
✓ remove comment about /etc/fonts/conf.d ownership, as it's now owned
bfae0f
   by filesystem
bfae0f
bfae0f
* Sun May 13 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.17-1
bfae0f
✓ rebase scriptlets from guidelines
bfae0f
✓ fontforge broke compat: BR the current version, ask for a version bump
bfae0f
  before 2.18 is released
bfae0f
✓ simplify font directory naming
bfae0f
✓ clean up fc5 obsoletes
bfae0f
✓ remove technical mes files from doc
bfae0f
bfae0f
* Fri May 11 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.17-0.3.rc1
bfae0f
✓ fontconfig setup has stabilized and can be marked noreplace now
bfae0f
☺ 2.17-0.2.rc1
bfae0f
✓ mimick Vera unhint conf split
bfae0f
☺ 2.17-0.1.rc1
bfae0f
✓ 2.17 rc1
bfae0f
✓ make room for liberations font conf file
bfae0f
bfae0f
* Mon Apr 2 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.16-1
bfae0f
bfae0f
* Tue Mar 20 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.16-0.1.20070319svn1699
bfae0f
✓ early snapshot to account for F7T3 freeze
bfae0f
bfae0f
* Tue Jan 30 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
☺ 2.14-2
bfae0f
✓ Adds Dejavu Sans Oblique small fixes (by Ben Laenen to address Debian
bfae0f
  bug #408311, collected by Davide Viti)
bfae0f
bfae0f
* Sun Jan 21 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bfae0f
✓ 2.14 final