Blame SPECS/dejavu-fonts.spec

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