dejavu-fonts/dejavu-fonts.spec

421 lines
12 KiB
RPMSpec
Raw Normal View History

2007-12-06 07:15:35 +00:00
%define fontname dejavu
%define archivename %{name}-%{archiveversion}
2008-05-19 20:50:26 +00:00
#define alphatag .20080512svn2226
2008-03-10 07:23:49 +00:00
#define alphatag .rc1
2007-05-13 21:25:04 +00:00
2008-05-19 20:50:26 +00:00
#define archiveversion 2.24-20080512-2226
2008-03-10 07:23:49 +00:00
%define archiveversion %{version}
2007-05-13 21:25:04 +00:00
# Let the perl maintainer worry about Unicode.org data files
2008-12-17 20:11:02 +00:00
%define Blocks %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/Blocks.txt
%define UnicodeData %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/UnicodeData.txt
# Common description
%define common_desc \
The DejaVu font set is based on the “Bitstream Vera” fonts, release 1.10. Its\
purpose is to provide a wider range of characters, while maintaining the \
original style, using an open collaborative development process.
# Compat description
%define compat_desc \
This package only exists to help transition pre 2.26-3 DejaVu users to the new\
package split. It will be removed after one distribution release cycle, please\
do not reference it or depend on it in any way.\
\
2008-12-17 20:11:02 +00:00
It can be safely uninstalled.
Name: %{fontname}-fonts
2008-12-17 20:11:02 +00:00
Version: 2.27
Release: 7%{?alphatag}%{?dist}
Summary: DejaVu fonts
2007-05-31 18:32:34 +00:00
2008-12-17 20:11:02 +00:00
Group: User Interface/X
License: Bitstream Vera and Public Domain
URL: http://%{fontname}.sf.net/
Source0: %{?!alphatag:http://downloads.sourceforge.net/%{fontname}}%{?alphatag:%{fontname}.sourceforge.net/snapshots}/%{archivename}.tar.bz2
Patch0: %{name}-2.26-fontconfig.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
2008-12-17 20:11:02 +00:00
2007-07-01 21:15:16 +00:00
# Older fontforge versions will not work due to sfd format changes
2008-05-19 20:50:26 +00:00
BuildRequires: fontforge >= 20080429
2007-05-26 19:40:27 +00:00
BuildRequires: perl(Font::TTF)
# Needed to compute unicode coverage
BuildRequires: %{Blocks} %{UnicodeData}
2008-12-17 20:11:02 +00:00
BuildArch: noarch
BuildRequires: fontpackages-devel
2008-12-17 20:11:02 +00:00
%description
%common_desc
%package compat
Summary: DejaVu fonts, compatibility
Group: User Interface/X
Obsoletes: dejavu-fonts < 2.26-3
Obsoletes: dejavu-fonts-experimental < 2.26-3
Requires: %{name}-sans, %{name}-serif, %{name}-sans-mono
%description compat
%compat_desc
%package lgc-compat
Summary: DejaVu fonts, LGC compatibility
Group: User Interface/X
Obsoletes: dejavu-lgc-fonts < 2.26-3
Requires: %{name}-lgc-sans, %{name}-lgc-serif, %{name}-lgc-sans-mono
%description lgc-compat
%compat_desc
2008-12-17 20:11:02 +00:00
%package common
Summary: DejaVu fonts, common files (documentation…)
Group: User Interface/X
Requires: fontpackages-filesystem
Obsoletes: dejavu-fonts-doc < 2.26-6
%description common
%common_desc
This package consists of files used by other DejaVu packages.
%package sans
Summary: DejaVu, variable-width sans-serif font faces
Group: User Interface/X
Requires: %{name}-common = %{version}-%{release}
2008-12-17 20:11:02 +00:00
Conflicts: dejavu-fonts < 2.26-3
Conflicts: dejavu-fonts-experimental < 2.26-3
%description sans
%common_desc
2007-05-13 21:25:04 +00:00
This package consists of the DejaVu sans-serif variable-width font faces, in
their unabridged version.
2008-12-17 20:11:02 +00:00
%_font_pkg -n sans -f *-%{fontname}-sans.conf DejaVuSans.ttf DejaVuSans-*.ttf DejaVuSansCondensed*.ttf
%package serif
Summary: DejaVu, variable-width serif font faces
Group: User Interface/X
Requires: %{name}-common = %{version}-%{release}
2008-12-17 20:11:02 +00:00
Conflicts: dejavu-fonts < 2.26-3
Conflicts: dejavu-fonts-experimental < 2.26-3
%description serif
%common_desc
This package consists of the DejaVu serif variable-width font faces, in their
unabridged version.
2007-05-13 21:25:04 +00:00
2008-12-17 20:11:02 +00:00
%_font_pkg -n serif -f *-%{fontname}-serif.conf DejaVuSerif.ttf DejaVuSerif-*.ttf DejaVuSerifCondensed*.ttf
%package sans-mono
Summary: DejaVu, monospace sans-serif font faces
Group: User Interface/X
Requires: %{name}-common = %{version}-%{release}
2008-12-17 20:11:02 +00:00
Conflicts: dejavu-fonts < 2.26-3
Conflicts: dejavu-fonts-experimental < 2.26-3
%description sans-mono
%common_desc
This package consists of the DejaVu sans-serif monospace font faces, in their
unabridged version.
2008-12-17 20:11:02 +00:00
%_font_pkg -n sans-mono -f *-%{fontname}-sans-mono.conf DejaVuSansMono*.ttf
%package lgc-sans
Summary: DejaVu, variable-width sans-serif font faces, Latin-Greek-Cyrillic subset
Group: User Interface/X
Requires: %{name}-common = %{version}-%{release}
2008-12-17 20:11:02 +00:00
Conflicts: dejavu-lgc-fonts < 2.26-3
%description lgc-sans
%common_desc
This package consists of the DejaVu sans-serif variable-width font faces, with
unicode coverage restricted to Latin, Greek and Cyrillic.
2008-12-17 20:11:02 +00:00
%_font_pkg -n lgc-sans -f *-%{fontname}-lgc-sans.conf DejaVuLGCSans.ttf DejaVuLGCSans-*.ttf DejaVuLGCSansCondensed*.ttf
%package lgc-serif
Summary: DejaVu, variable-width serif font faces, Latin-Greek-Cyrillic subset
Group: User Interface/X
Requires: %{name}-common = %{version}-%{release}
2008-12-17 20:11:02 +00:00
Conflicts: dejavu-lgc-fonts < 2.26-3
%description lgc-serif
%common_desc
This package consists of the DejaVu serif variable-width font faces, with
unicode coverage restricted to Latin, Greek and Cyrillic.
2008-12-17 20:11:02 +00:00
%_font_pkg -n lgc-serif -f *-%{fontname}-lgc-serif.conf DejaVuLGCSerif.ttf DejaVuLGCSerif-*.ttf DejaVuLGCSerifCondensed*.ttf
%package lgc-sans-mono
Summary: DejaVu, monospace sans-serif font faces, Latin-Greek-Cyrillic subset
Group: User Interface/X
Requires: %{name}-common = %{version}-%{release}
2008-12-17 20:11:02 +00:00
Conflicts: dejavu-lgc-fonts < 2.26-3
%description lgc-sans-mono
%common_desc
This package consists of the DejaVu sans-serif monospace font faces, with
unicode coverage restricted to Latin, Greek and Cyrillic.
2008-12-17 20:11:02 +00:00
%_font_pkg -n lgc-sans-mono -f *-%{fontname}-lgc-sans-mono.conf DejaVuLGCSansMono*.ttf
%prep
%setup -q -n %{archivename}
%patch0 -p1
%build
make %{?_smp_mflags} VERSION=%{version} FC-LANG="" \
BLOCKS=%{Blocks} UNICODEDATA=%{UnicodeData}
# Stop the desktop people from complaining this file is too big
bzip2 -9 build/status.txt
%check
make check
%install
rm -fr %{buildroot}
2008-12-17 20:11:02 +00:00
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p build/*.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
2008-12-17 20:11:02 +00:00
cd fontconfig
for fontconf in *conf ; do
install -m 0644 -p $fontconf %{buildroot}%{_fontconfig_templatedir}
ln -s %{_fontconfig_templatedir}/$fontconf \
%{buildroot}%{_fontconfig_confdir}/$fontconf
done
%clean
rm -fr %{buildroot}
2008-12-17 20:11:02 +00:00
%files compat
%files lgc-compat
%files common
%defattr(0644,root,root,0755)
%doc AUTHORS BUGS LICENSE NEWS README
%doc build/unicover.txt build/status.txt.bz2
2008-12-17 20:11:02 +00:00
%dir %{_fontdir}
2008-12-17 20:11:02 +00:00
%changelog
* Sat Dec 6 2008 <nicolas.mailhot at laposte.net>
- 2.27-7
߹ Add explicit conflicts to help yum
2008-12-17 20:11:02 +00:00
* Sun Nov 23 2008 <nicolas.mailhot at laposte.net>
- 2.27-5
rpm-fonts renamed to “fontpackages”
* Tue Nov 12 2008 <nicolas.mailhot at laposte.net>
- 2.27-4
Tweak using new « rpm-fonts »
* Mon Nov 10 2008 <nicolas.mailhot at laposte.net>
- 2.26-7
Rebuild using new « rpm-fonts »
* Sun Nov 9 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 2.26-6
Package split reorganisation, following font family lines
Create compat packages to ease switchover at F11 time (to be discontinued
for F12)
compress status file
2008-09-03 21:17:02 +00:00
* Wed Sep 3 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 2.26-2
Rebuild with pre-F10-freeze fontforge
* Sun Jul 26 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 2.26-1
Բ New release at last
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com>
- 2.25-4
2008-07-16 16:51:56 +00:00
- note Public Domain contributions
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com>
- 2.25-3
2008-07-16 16:14:00 +00:00
- fix license tag
* Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
- 2.25-2
Fedora 10 alpha general package cleanup
2008-05-19 20:50:26 +00:00
* Mon May 19 2008 <nicolas.mailhot at laposte.net>
- 2.25-1
2.25 final
2008-04-04 20:42:46 +00:00
* Fri Apr 4 2008 <nicolas.mailhot at laposte.net>
- 2.24-3
Fix source URL
2008-03-18 06:27:12 +00:00
* Tue Mar 18 2008 <nicolas.mailhot at laposte.net>
- 2.24-2
rebuild for new fontforge
2008-03-10 07:23:49 +00:00
* Mon Mar 10 2008 <nicolas.mailhot at laposte.net>
2.24-1
2.24 final
* Tue Mar 4 2008 <nicolas.mailhot at laposte.net>
2008-03-05 06:57:22 +00:00
2.24-0.2.rc1
rc time
* Mon Mar 3 2008 <nicolas.mailhot at laposte.net>
2.24-0.1.20080228svn2189
early 2.24 test build, check new fontforge
2008-01-20 19:28:22 +00:00
* Sun Jan 20 2008 <nicolas.mailhot at laposte.net>
2.23-1
2.23 final
2007-12-09 18:01:51 +00:00
* Thu Dec 9 2007 <nicolas.mailhot at laposte.net>
2.22-1
2.22 final
2007-12-06 07:15:35 +00:00
* Thu Dec 6 2007 <nicolas.mailhot at laposte.net>
2.22-0.1.20071206svn2135
2.22 rc phase started
sync with guidelines
2007-10-28 18:25:14 +00:00
* Sun Oct 28 2007 <nicolas.mailhot at laposte.net>
2.21-1
2.21 final
2007-10-27 09:26:57 +00:00
* Sat Oct 27 2007 <nicolas.mailhot at laposte.net>
2.21-0.4.20071027svn2023
2007-10-28 18:25:14 +00:00
Fedora fontconfig files dropped (merged upstream)
2007-10-27 09:26:57 +00:00
2007-10-25 18:31:44 +00:00
* Wed Oct 25 2007 <nicolas.mailhot at laposte.net>
2.21-0.3.20071025svn2022
2007-10-27 09:26:57 +00:00
Makefile patch dropped (merged upstream)
2007-10-25 18:31:44 +00:00
add -f to fc-cache calls
completely align LGC and FULL fontconfig rules
remove / from directory macros
2007-10-22 19:16:34 +00:00
* Sun Oct 21 2007 <nicolas.mailhot at laposte.net>
2.21-0.2.20071017svn2019
Still very experimental version:
update makefile patch
split lgc hinting file like in the other packages
move lgc to prio 58 as should have been done when liberation was added
* Sun Oct 21 2007 <nicolas.mailhot at laposte.net>
2.21-0.1.20071014svn2016
Very experimental version to test major changes:
new fontforge version
use of a real makefile at last
replacing standalone lgc package with subpackage generated with the rest
2007-09-18 22:11:30 +00:00
* Tue Sep 18 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.20-1
2.20 final
bugfix release (Hebrew fixes mostly)
2007-08-11 11:07:37 +00:00
* Sat Aug 11 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.19-1
2.19 final
expand macro use
2007-07-01 21:15:16 +00:00
* Sun Jul 1 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.18-1
2.18 final
Major new release adding Tifinagh (ⵞⵥⴼⴻ), N'ko (ߝߧߜ) and Georgian (ლფჱႫႿ)
(Georgian created by Besarion Paata Gugushvili ბესარიონ პაატა გუგუშვილი)
2007-06-27 17:38:24 +00:00
* Wed Jun 27 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.18-0.2.rc1
2.18-rc1
2007-06-17 20:51:18 +00:00
* Sun Jun 3 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.18-0.1.20070616svn1889
early snapshot to test new fontforge
2007-06-03 22:57:30 +00:00
* Sun Jun 3 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2007-06-03 23:24:24 +00:00
2.17-5
declare DejaVu a valid Bitstream Prima™ substitute
2007-06-03 22:57:30 +00:00
2007-05-31 18:32:34 +00:00
* Thu May 31 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.17-3
small spec cleanups
2007-05-26 19:40:27 +00:00
* Sat May 26 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.17-2
perl-Font-TTF has been fixed upstream, use perl(Font::TTF) BR
2007-06-03 22:57:30 +00:00
remove comment about /etc/fonts/conf.d ownership, as it's now owned
2007-05-26 19:40:27 +00:00
by filesystem
2007-05-13 21:25:04 +00:00
* Sun May 13 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.17-1
rebase scriptlets from guidelines
fontforge broke compat: BR the current version, ask for a version bump
before 2.18 is released
simplify font directory naming
clean up fc5 obsoletes
remove technical mes files from doc
2007-05-11 13:11:07 +00:00
* Fri May 11 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2007-05-11 13:49:55 +00:00
2.17-0.3.rc1
fontconfig setup has stabilized and can be marked noreplace now
2.17-0.2.rc1
mimick Vera unhint conf split
2.17-0.1.rc1
2.17 rc1
make room for liberations font conf file
2007-05-11 13:11:07 +00:00
2007-04-02 18:47:01 +00:00
* Mon Apr 2 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2007-05-11 13:49:55 +00:00
2.16-1
2007-04-02 18:47:01 +00:00
* Tue Mar 20 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2007-05-11 13:49:55 +00:00
2.16-0.1.20070319svn1699
early snapshot to account for F7T3 freeze
* Tue Jan 30 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2007-05-11 13:49:55 +00:00
2.14-2
Adds Dejavu Sans Oblique small fixes (by Ben Laenen to address Debian
bug #408311, collected by Davide Viti)
* Sun Jan 21 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2007-05-11 13:49:55 +00:00
2.14 final