9cfd255
%define fontname    dejavu
9cfd255
%define archivename %{name}-%{archiveversion}
763f466
d775a5c
#define alphatag .20080512svn2226
5ed5aa5
#define alphatag .rc1
21ca4ed
d775a5c
#define archiveversion 2.24-20080512-2226
5ed5aa5
%define archiveversion %{version}
8b37326
21ca4ed
# Let the perl maintainer worry about Unicode.org data files
58fc706
%define Blocks      %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/Blocks.txt
58fc706
%define UnicodeData %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/UnicodeData.txt
009e7a9
8d167c0
# Common description
8d167c0
%define common_desc \
8d167c0
The DejaVu font set is based on the “Bitstream Vera” fonts, release 1.10. Its\
8d167c0
purpose is to provide a wider range of characters, while maintaining the \
8d167c0
original style, using an open collaborative development process.
8d167c0
8d167c0
# Compat description
8d167c0
%define compat_desc \
8d167c0
This package only exists to help transition pre 2.26-3 DejaVu users to the new\
8d167c0
package split. It will be removed after one distribution release cycle, please\
8d167c0
do not reference it or depend on it in any way.\
8d167c0
\
58fc706
It can be safely uninstalled.
8d167c0
8d167c0
19cdeb5
Name:    %{fontname}-fonts
da99b18
Version: 2.28
971600e
Release: 4%{?alphatag}%{?dist}
8d167c0
Summary: DejaVu fonts
c051be2
58fc706
Group:     User Interface/X
58fc706
License:   Bitstream Vera and Public Domain
5a6f852
URL:       http://%{name}.org/
58fc706
Source0:   %{?!alphatag:http://downloads.sourceforge.net/%{fontname}}%{?alphatag:%{fontname}.sourceforge.net/snapshots}/%{archivename}.tar.bz2
19cdeb5
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
58fc706
baef565
# Older fontforge versions will not work due to sfd format changes
d775a5c
BuildRequires: fontforge >= 20080429
493bee9
BuildRequires: perl(Font::TTF)
009e7a9
# Needed to compute unicode coverage
009e7a9
BuildRequires: %{Blocks} %{UnicodeData}
8d167c0
58fc706
BuildArch:     noarch
971600e
BuildRequires: fontpackages-devel > 1.17
29c310a
58fc706
%description
8d167c0
%common_desc
78ae1fd
8d167c0
8d167c0
%package compat
da99b18
Summary: DejaVu fonts compatibility package
8ad16cb
Group:   User Interface/X
7dfce44
5861332
Obsoletes: dejavu-fonts < 2.26-3
5861332
Obsoletes: dejavu-fonts-experimental < 2.26-3
7dfce44
5a6f852
Requires: %{fontname}-sans-fonts
5a6f852
Requires: %{fontname}-sans-mono-fonts
5a6f852
Requires: %{fontname}-serif-fonts
8dd21c7
8d167c0
%description compat
8d167c0
%compat_desc
7dfce44
7dfce44
8d167c0
%package lgc-compat
da99b18
Summary: DejaVu fonts, LGC compatibility package
8ad16cb
Group:   User Interface/X
5c4fee6
5861332
Obsoletes: dejavu-lgc-fonts < 2.26-3
5c4fee6
5a6f852
Requires: %{fontname}-lgc-sans-fonts
5a6f852
Requires: %{fontname}-lgc-sans-mono-fonts
5a6f852
Requires: %{fontname}-lgc-serif-fonts
5c4fee6
8d167c0
%description lgc-compat
8d167c0
%compat_desc
5c4fee6
5c4fee6
58fc706
%package common
5a6f852
Summary:  Common files for the Dejavu font set
58fc706
Group:    User Interface/X
58fc706
Requires: fontpackages-filesystem
58fc706
58fc706
Obsoletes: dejavu-fonts-doc < 2.26-6
58fc706
58fc706
%description common
58fc706
%common_desc
58fc706
58fc706
This package consists of files used by other DejaVu packages.
58fc706
58fc706
5a6f852
%package -n %{fontname}-sans-fonts
da99b18
Summary:  Variable-width sans-serif font faces
8d167c0
Group:    User Interface/X
29c310a
Requires: %{name}-common = %{version}-%{release}
a286b14
58fc706
Conflicts: dejavu-fonts < 2.26-3
58fc706
Conflicts: dejavu-fonts-experimental < 2.26-3
58fc706
5a6f852
Obsoletes: %{name}-sans < 2.28-2
5a6f852
Provides:  %{name}-sans = %{version}-%{release}
5a6f852
5a6f852
%description -n %{fontname}-sans-fonts
8d167c0
%common_desc
21ca4ed
8d167c0
This package consists of the DejaVu sans-serif variable-width font faces, in
8d167c0
their unabridged version.
a286b14
58fc706
%_font_pkg -n sans -f *-%{fontname}-sans.conf DejaVuSans.ttf DejaVuSans-*.ttf DejaVuSansCondensed*.ttf
78ae1fd
a286b14
5a6f852
%package -n %{fontname}-serif-fonts
da99b18
Summary:  Variable-width serif font faces
8d167c0
Group:    User Interface/X
29c310a
Requires: %{name}-common = %{version}-%{release}
78ae1fd
58fc706
Conflicts: dejavu-fonts < 2.26-3
58fc706
Conflicts: dejavu-fonts-experimental < 2.26-3
58fc706
5a6f852
Obsoletes: %{name}-serif < 2.28-2
5a6f852
Provides:  %{name}-serif = %{version}-%{release}
5a6f852
5a6f852
%description -n %{fontname}-serif-fonts
8d167c0
%common_desc
78ae1fd
8d167c0
This package consists of the DejaVu serif variable-width font faces, in their
8d167c0
unabridged version.
21ca4ed
58fc706
%_font_pkg -n serif -f *-%{fontname}-serif.conf DejaVuSerif.ttf DejaVuSerif-*.ttf DejaVuSerifCondensed*.ttf
a286b14
78ae1fd
5a6f852
%package -n %{fontname}-sans-mono-fonts
da99b18
Summary:  Monospace sans-serif font faces
8d167c0
Group:    User Interface/X
29c310a
Requires: %{name}-common = %{version}-%{release}
78ae1fd
58fc706
Conflicts: dejavu-fonts < 2.26-3
58fc706
Conflicts: dejavu-fonts-experimental < 2.26-3
58fc706
5a6f852
Obsoletes: %{name}-sans-mono < 2.28-2
5a6f852
Provides:  %{name}-sans-mono = %{version}-%{release}
5a6f852
5a6f852
%description -n %{fontname}-sans-mono-fonts
8d167c0
%common_desc
78ae1fd
8d167c0
This package consists of the DejaVu sans-serif monospace font faces, in their
8d167c0
unabridged version.
a286b14
58fc706
%_font_pkg -n sans-mono -f *-%{fontname}-sans-mono.conf DejaVuSansMono*.ttf
78ae1fd
78ae1fd
5a6f852
%package -n %{fontname}-lgc-sans-fonts
da99b18
Summary:  Variable-width sans-serif font faces, Latin-Greek-Cyrillic subset
8d167c0
Group:    User Interface/X
29c310a
Requires: %{name}-common = %{version}-%{release}
7dfce44
58fc706
Conflicts: dejavu-lgc-fonts < 2.26-3
58fc706
5a6f852
Obsoletes: %{name}-lgc-sans < 2.28-2
5a6f852
5a6f852
%description -n %{fontname}-lgc-sans-fonts
8d167c0
%common_desc
7dfce44
8d167c0
This package consists of the DejaVu sans-serif variable-width font faces, with
8d167c0
unicode coverage restricted to Latin, Greek and Cyrillic.
7dfce44
58fc706
%_font_pkg -n lgc-sans -f *-%{fontname}-lgc-sans.conf DejaVuLGCSans.ttf DejaVuLGCSans-*.ttf DejaVuLGCSansCondensed*.ttf
c2efd84
5c4fee6
5a6f852
%package -n %{fontname}-lgc-serif-fonts
da99b18
Summary:  Variable-width serif font faces, Latin-Greek-Cyrillic subset
8d167c0
Group:    User Interface/X
29c310a
Requires: %{name}-common = %{version}-%{release}
5c4fee6
58fc706
Conflicts: dejavu-lgc-fonts < 2.26-3
58fc706
dbeceda
Obsoletes: %{name}-lgc-serif < 2.28-2
5a6f852
5a6f852
%description -n %{fontname}-lgc-serif-fonts
8d167c0
%common_desc
5c4fee6
8d167c0
This package consists of the DejaVu serif variable-width font faces, with
8d167c0
unicode coverage restricted to Latin, Greek and Cyrillic.
5c4fee6
58fc706
%_font_pkg -n lgc-serif -f *-%{fontname}-lgc-serif.conf DejaVuLGCSerif.ttf DejaVuLGCSerif-*.ttf DejaVuLGCSerifCondensed*.ttf
78ae1fd
7be0f7b
5a6f852
%package -n %{fontname}-lgc-sans-mono-fonts
da99b18
Summary:  Monospace sans-serif font faces, Latin-Greek-Cyrillic subset
8d167c0
Group:    User Interface/X
29c310a
Requires: %{name}-common = %{version}-%{release}
7dfce44
58fc706
Conflicts: dejavu-lgc-fonts < 2.26-3
58fc706
5a6f852
Obsoletes: %{name}-lgc-sans-mono < 2.28-2
5a6f852
5a6f852
%description -n %{fontname}-lgc-sans-mono-fonts
8d167c0
%common_desc
6867c2e
8d167c0
This package consists of the DejaVu sans-serif monospace font faces, with
8d167c0
unicode coverage restricted to Latin, Greek and Cyrillic.
8d167c0
58fc706
%_font_pkg -n lgc-sans-mono -f *-%{fontname}-lgc-sans-mono.conf DejaVuLGCSansMono*.ttf
8d167c0
8d167c0
8d167c0
%prep
8d167c0
%setup -q -n %{archivename}
8d167c0
8d167c0
8d167c0
%build
8d167c0
make %{?_smp_mflags} VERSION=%{version} FC-LANG="" \
8d167c0
     BLOCKS=%{Blocks} UNICODEDATA=%{UnicodeData}
8d167c0
8ad16cb
# Stop the desktop people from complaining this file is too big
8d167c0
bzip2 -9 build/status.txt
8d167c0
8d167c0
8d167c0
%check
8d167c0
make check
763f466
763f466
8d167c0
%install
8d167c0
rm -fr %{buildroot}
8d167c0
58fc706
install -m 0755 -d %{buildroot}%{_fontdir}
58fc706
install -m 0644 -p build/*.ttf %{buildroot}%{_fontdir}
58fc706
58fc706
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
58fc706
                   %{buildroot}%{_fontconfig_confdir}
8d167c0
58fc706
cd fontconfig
58fc706
for fontconf in *conf ; do
58fc706
  install -m 0644 -p $fontconf %{buildroot}%{_fontconfig_templatedir}
58fc706
  ln -s %{_fontconfig_templatedir}/$fontconf \
58fc706
        %{buildroot}%{_fontconfig_confdir}/$fontconf
58fc706
done
5c4fee6
5c4fee6
8d167c0
%clean
8d167c0
rm -fr %{buildroot}
19cdeb5
58fc706
58fc706
%files compat
58fc706
%files lgc-compat
58fc706
58fc706
29c310a
%files common
5c4fee6
%defattr(0644,root,root,0755)
5c4fee6
%doc AUTHORS BUGS LICENSE NEWS README
8d167c0
%doc build/unicover.txt build/status.txt.bz2
5c4fee6
caf1164
58fc706
%changelog
971600e
* Thu Feb  5  2009 <nicolas.mailhot at laposte.net>
971600e
- 2.28-4
971600e
✓ Test build with new fontpackages and in-rpm auto-font-provides
971600e
dbeceda
* Fri Jan 16 2009 <nicolas.mailhot at laposte.net>
dbeceda
- 2.28-3
dbeceda
— Fix lgc-serif obsoletes
dbeceda
dbeceda
* Thu Jan 15 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
5a6f852
- 2.28-2
5a6f852
— Update URL
5a6f852
— update for new naming guidelines
5a6f852
– warning: provides for the old names will be dropped before F11 beta
5a6f852
da99b18
* Sun Dec 21 2008 <nicolas.mailhot at laposte.net>
da99b18
- 2.28-1
da99b18
❄ Update to latest release
da99b18
❅ Drop upstreamed fontconfig patch
da99b18
❆ Remove DejaVu from most summaries
da99b18
da99b18
58fc706
* Sat Dec  6 2008 <nicolas.mailhot at laposte.net>
58fc706
- 2.27-7
58fc706
߹ Add explicit conflicts to help yum
8ad16cb
58fc706
* Sun Nov 23 2008 <nicolas.mailhot at laposte.net>
58fc706
- 2.27-5
58fc706
ᛤ ‘rpm-fonts’ renamed to “fontpackages”
58fc706
58fc706
* Tue Nov 12 2008 <nicolas.mailhot at laposte.net>
58fc706
- 2.27-4
58fc706
▤ Tweak using new « rpm-fonts »
58fc706
58fc706
* Mon Nov 10 2008 <nicolas.mailhot at laposte.net>
58fc706
- 2.26-7
58fc706
▤ Rebuild using new « rpm-fonts »
8ad16cb
29c310a
* Sun Nov 9 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
29c310a
- 2.26-6
8d167c0
⧎ Package split reorganisation, following font family lines
8d167c0
ⵞ Create compat packages to ease switchover at F11 time (to be discontinued
8d167c0
  for F12)
8d167c0
⬳ compress status file
8d167c0
3fb5bf5
* Wed Sep 3 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
3fb5bf5
- 2.26-2
3fb5bf5
⚙ Rebuild with pre-F10-freeze fontforge
3fb5bf5
fb94552
* Sun Jul 26 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
fb94552
- 2.26-1
fb94552
Բ New release at last
fb94552
fb94552
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com>
fb94552
- 2.25-4
056f57a
- note Public Domain contributions
056f57a
fb94552
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com>
fb94552
- 2.25-3
8576263
- fix license tag
8576263
19cdeb5
* Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
19cdeb5
- 2.25-2
19cdeb5
⌖ Fedora 10 alpha general package cleanup
19cdeb5
d775a5c
* Mon May 19 2008 <nicolas.mailhot at laposte.net>
d775a5c
- 2.25-1
d775a5c
❋ 2.25 final
d775a5c
965e768
* Fri Apr 4 2008 <nicolas.mailhot at laposte.net>
965e768
- 2.24-3
965e768
⚕ Fix source URL
965e768
67c6b76
* Tue Mar 18 2008 <nicolas.mailhot at laposte.net>
67c6b76
- 2.24-2
67c6b76
✓ rebuild for new fontforge
67c6b76
5ed5aa5
* Mon Mar 10 2008 <nicolas.mailhot at laposte.net>
5ed5aa5
☺ 2.24-1
5ed5aa5
✓ 2.24 final
5ed5aa5
5ed5aa5
* Tue Mar 4 2008 <nicolas.mailhot at laposte.net>
c5cf159
☺ 2.24-0.2.rc1
c5cf159
✓ rc time
c5cf159
c5cf159
* Mon Mar 3 2008 <nicolas.mailhot at laposte.net>
c5cf159
☺ 2.24-0.1.20080228svn2189
c5cf159
✓ early 2.24 test build, check new fontforge
c5cf159
3d0b60c
* Sun Jan 20 2008 <nicolas.mailhot at laposte.net>
3d0b60c
☺ 2.23-1
3d0b60c
✓ 2.23 final
3d0b60c
51dc781
* Thu Dec 9 2007 <nicolas.mailhot at laposte.net>
51dc781
☺ 2.22-1
51dc781
✓ 2.22 final
51dc781
9cfd255
* Thu Dec 6 2007 <nicolas.mailhot at laposte.net>
9cfd255
☺ 2.22-0.1.20071206svn2135
9cfd255
✓ 2.22 rc phase started
9cfd255
✓ sync with guidelines
9cfd255
1346b84
* Sun Oct 28 2007 <nicolas.mailhot at laposte.net>
1346b84
☺ 2.21-1
1346b84
✓ 2.21 final
1346b84
6aa16f0
* Sat Oct 27 2007 <nicolas.mailhot at laposte.net>
6aa16f0
☺ 2.21-0.4.20071027svn2023
1346b84
✓ Fedora fontconfig files dropped (merged upstream)
6aa16f0
b2b98c5
* Wed Oct 25 2007 <nicolas.mailhot at laposte.net>
b2b98c5
☺ 2.21-0.3.20071025svn2022
6aa16f0
 ✓ Makefile patch dropped (merged upstream)
b2b98c5
 ✓ add -f to fc-cache calls
b2b98c5
 ✓ completely align LGC and FULL fontconfig rules
b2b98c5
 ✓ remove / from directory macros
b2b98c5
5c4fee6
* Sun Oct 21 2007 <nicolas.mailhot at laposte.net>
d38c0cc
☢ 2.21-0.2.20071017svn2019
d38c0cc
⚠ Still very experimental version:
d38c0cc
  ✓ update makefile patch
d38c0cc
  ✓ split lgc hinting file like in the other packages
d38c0cc
  ✓ move lgc to prio 58 as should have been done when liberation was added
d38c0cc
d38c0cc
* Sun Oct 21 2007 <nicolas.mailhot at laposte.net>
5c4fee6
☢ 2.21-0.1.20071014svn2016
5c4fee6
⚠ Very experimental version to test major changes:
5c4fee6
  ✓ new fontforge version
5c4fee6
  ✓ use of a real makefile at last
5c4fee6
  ✓ replacing standalone lgc package with subpackage generated with the rest
5c4fee6
bf31eac
* Tue Sep 18 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
bf31eac
☺ 2.20-1
bf31eac
✓ 2.20 final
bf31eac
✓ bugfix release (Hebrew fixes mostly)
bf31eac
f6909aa
* Sat Aug 11 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
f6909aa
☺ 2.19-1
f6909aa
✓ 2.19 final
f6909aa
✓ expand macro use
f6909aa
baef565
* Sun Jul 1 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
baef565
☺ 2.18-1
baef565
✓ 2.18 final
baef565
✓ Major new release adding Tifinagh (ⵞⵥⴼⴻ), N'ko (ߝߧߜ) and Georgian (ლფჱႫႿ)
baef565
  (Georgian created by Besarion Paata Gugushvili ბესარიონ პაატა გუგუშვილი)
baef565
ed142bd
* Wed Jun 27 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
ed142bd
☺ 2.18-0.2.rc1
ed142bd
✓ 2.18-rc1
ed142bd
77fbdb6
* Sun Jun 3 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
b169174
☢ 2.18-0.1.20070616svn1889
b169174
⚠ early snapshot to test new fontforge
b169174
b169174
* Sun Jun 3 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
fe0a128
☺ 2.17-5
fe0a128
✓ declare DejaVu a valid Bitstream Prima™ substitute
77fbdb6
c051be2
* Thu May 31 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
c051be2
☺ 2.17-3
c051be2
✓ small spec cleanups
c051be2
493bee9
* Sat May 26 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
493bee9
☺ 2.17-2
493bee9
✓ perl-Font-TTF has been fixed upstream, use perl(Font::TTF) BR
77fbdb6
✓ remove comment about /etc/fonts/conf.d ownership, as it's now owned
493bee9
   by filesystem
493bee9
21ca4ed
* Sun May 13 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
21ca4ed
☺ 2.17-1
21ca4ed
✓ rebase scriptlets from guidelines
21ca4ed
✓ fontforge broke compat: BR the current version, ask for a version bump
21ca4ed
  before 2.18 is released
21ca4ed
✓ simplify font directory naming
21ca4ed
✓ clean up fc5 obsoletes
21ca4ed
✓ remove technical mes files from doc
21ca4ed
49faee9
* Fri May 11 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
e6a6351
☺ 2.17-0.3.rc1
e6a6351
✓ fontconfig setup has stabilized and can be marked noreplace now
e6a6351
☺ 2.17-0.2.rc1
e6a6351
✓ mimick Vera unhint conf split
e6a6351
☺ 2.17-0.1.rc1
e6a6351
✓ 2.17 rc1
e6a6351
✓ make room for liberations font conf file
49faee9
eadd27b
* Mon Apr 2 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
e6a6351
☺ 2.16-1
eadd27b
7c775dc
* Tue Mar 20 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
e6a6351
☺ 2.16-0.1.20070319svn1699
e6a6351
✓ early snapshot to account for F7T3 freeze
7c775dc
8b37326
* Tue Jan 30 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
e6a6351
☺ 2.14-2
e6a6351
✓ Adds Dejavu Sans Oblique small fixes (by Ben Laenen to address Debian
8b37326
  bug #408311, collected by Davide Viti)
8b37326
4331ae8
* Sun Jan 21 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
e6a6351
✓ 2.14 final