2006-02-12 14:19:49 +00:00
|
|
|
%define archivename dejavu-sfd
|
2006-02-20 07:18:17 +00:00
|
|
|
# This macro has the same value as %{version}, except when testing pre-release snapshots
|
2006-09-15 18:27:37 +00:00
|
|
|
%define alphatag 20060913svn1149
|
2006-07-12 19:24:03 +00:00
|
|
|
|
2006-09-15 18:27:37 +00:00
|
|
|
%define archiveversion 20060913-1149
|
2006-03-04 12:23:56 +00:00
|
|
|
%define fontdir %{_datadir}/fonts/%{name}
|
2006-06-09 23:16:05 +00:00
|
|
|
%define fontconfdir %{_sysconfdir}/fonts
|
2005-06-23 19:10:12 +00:00
|
|
|
|
2006-02-12 14:19:49 +00:00
|
|
|
# Let the perl Maintainer worry about Unicode.org data files (updates, licensing)
|
2006-07-12 19:24:03 +00:00
|
|
|
%define Blocks %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/Blocks.txt
|
|
|
|
%define UnicodeData %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/UnicodeData.txt
|
2006-02-12 14:19:49 +00:00
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
Name: dejavu-fonts
|
2006-09-15 18:27:37 +00:00
|
|
|
Version: 2.10.0
|
2006-09-15 19:04:10 +00:00
|
|
|
Release: 0.3.%{alphatag}%{?dist}
|
2006-03-22 23:10:27 +00:00
|
|
|
Summary: DejaVu fonts
|
2005-06-23 19:10:12 +00:00
|
|
|
Group: User Interface/X
|
|
|
|
License: Redistributable, with restrictions
|
|
|
|
URL: http://dejavu.sf.net/
|
2006-07-30 20:22:26 +00:00
|
|
|
Source0: http://prdownloads.sourceforge.net/dejavu/%{archivename}-%{archiveversion}.tar.gz
|
2006-06-14 21:13:20 +00:00
|
|
|
# DejaVu fontconfig setup
|
2006-07-30 20:22:26 +00:00
|
|
|
Source1: %{name}-fontconfig.conf
|
2006-07-12 19:24:03 +00:00
|
|
|
# DejaVu fontconfig setup (experimental families)
|
2006-07-30 20:22:26 +00:00
|
|
|
Source2: %{name}-experimental-fontconfig.conf
|
2005-06-23 19:10:12 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2006-02-12 21:26:47 +00:00
|
|
|
BuildRequires: fontforge
|
2006-02-12 14:19:49 +00:00
|
|
|
# The CPAN sources do not declare perl(Font::TTF)
|
|
|
|
BuildRequires: perl-Font-TTF
|
|
|
|
# Needed to compute unicode coverage
|
|
|
|
BuildRequires: %{Blocks} %{UnicodeData}
|
2006-06-11 11:18:55 +00:00
|
|
|
# If we add this the package will require fontconfig
|
|
|
|
# Requires: %{fontconfdir}/conf.d
|
2005-06-23 19:10:12 +00:00
|
|
|
BuildArch: noarch
|
2006-09-15 19:04:10 +00:00
|
|
|
Conflicts: fontconfig < 2.4.0
|
2005-06-23 19:10:12 +00:00
|
|
|
|
2006-07-30 20:22:26 +00:00
|
|
|
Obsoletes: %{name}-fontconfig < 2.7.0-0.15
|
2006-08-30 21:42:31 +00:00
|
|
|
Obsoletes: %{name}-makedefault < 2.9.0-1
|
|
|
|
Obsoletes: %{name}-block < 2.9.0-1
|
2006-07-30 20:22:26 +00:00
|
|
|
|
2006-03-04 12:23:56 +00:00
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
%description
|
|
|
|
The DejaVu fonts are a font family based on the Bitstream Vera Fonts release
|
2006-06-18 10:40:01 +00:00
|
|
|
1.10. Its purpose is to provide a wider range of characters while maintaining
|
|
|
|
the original look and feel through the process of collaborative development.
|
2006-06-09 23:16:05 +00:00
|
|
|
|
|
|
|
This package includes the typefaces the DejaVu project considers mature.
|
2005-06-23 19:10:12 +00:00
|
|
|
|
2006-03-04 12:23:56 +00:00
|
|
|
|
2006-03-22 23:10:27 +00:00
|
|
|
%package experimental
|
|
|
|
Group: User Interface/X
|
|
|
|
Summary: Experimental DejaVu typefaces
|
|
|
|
# Does not really make sense without the core typefaces
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description experimental
|
|
|
|
The DejaVu fonts are a font family based on the Bitstream Vera Fonts release
|
2006-06-18 10:40:01 +00:00
|
|
|
1.10.
|
|
|
|
|
|
|
|
This package includes the typefaces the DejaVu project considers experimental.
|
2006-03-22 23:10:27 +00:00
|
|
|
|
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
%prep
|
2006-04-23 17:11:24 +00:00
|
|
|
%setup -q -n %{archivename}-%{archiveversion}
|
2005-06-23 19:10:12 +00:00
|
|
|
|
2006-03-04 12:23:56 +00:00
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
%build
|
2006-02-12 14:19:49 +00:00
|
|
|
./generate.sh
|
|
|
|
./status.pl %{version} status.txt *.sfd > status.txt.new
|
|
|
|
mv status.txt.new status.txt
|
|
|
|
./unicover.pl %{UnicodeData} %{Blocks} \
|
|
|
|
DejaVuSans.sfd Sans \
|
|
|
|
DejaVuSerif.sfd Serif \
|
|
|
|
DejaVuMonoSans.sfd "Sans Mono" > unicover.txt
|
2006-03-22 23:10:27 +00:00
|
|
|
# We should probably also regenerate langcover.txt
|
|
|
|
# but it requires resolution of
|
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=6316
|
2006-02-12 14:19:49 +00:00
|
|
|
|
2006-03-04 12:23:56 +00:00
|
|
|
|
2006-02-12 14:19:49 +00:00
|
|
|
%check
|
|
|
|
# Current upstream files are full of "problems"
|
|
|
|
# Do not panic if the output is long
|
2006-08-30 21:42:31 +00:00
|
|
|
./problems.pl *.sfd
|
2005-06-23 19:10:12 +00:00
|
|
|
|
2006-03-04 12:23:56 +00:00
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
%install
|
|
|
|
/bin/rm -rf %{buildroot}
|
|
|
|
|
|
|
|
#fonts
|
|
|
|
install -d -m 0755 %{buildroot}%{fontdir}
|
2006-02-12 14:19:49 +00:00
|
|
|
install -m 0644 generated/*.ttf %{buildroot}%{fontdir}
|
2005-06-23 19:10:12 +00:00
|
|
|
|
2006-06-09 23:16:05 +00:00
|
|
|
# Fontconfig overrides for some scripts
|
|
|
|
install -d -m 0755 %{buildroot}%{fontconfdir}/conf.d
|
2006-09-15 19:00:26 +00:00
|
|
|
install -m 0644 %{SOURCE1} %{buildroot}%{fontconfdir}/conf.d/58-dejavu.conf
|
|
|
|
install -m 0644 %{SOURCE2} %{buildroot}%{fontconfdir}/conf.d/58-dejavu-experimental.conf
|
2006-03-04 12:23:56 +00:00
|
|
|
|
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
%clean
|
|
|
|
/bin/rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ -x %{_bindir}/fc-cache ]; then
|
|
|
|
%{_bindir}/fc-cache %{_datadir}/fonts
|
|
|
|
fi
|
|
|
|
|
2006-03-04 12:23:56 +00:00
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
%postun
|
|
|
|
if [ "$1" = "0" ]; then
|
|
|
|
if [ -x %{_bindir}/fc-cache ]; then
|
|
|
|
%{_bindir}/fc-cache %{_datadir}/fonts
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2006-03-22 23:10:27 +00:00
|
|
|
%post experimental
|
|
|
|
if [ -x %{_bindir}/fc-cache ]; then
|
|
|
|
%{_bindir}/fc-cache %{_datadir}/fonts
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%postun experimental
|
|
|
|
if [ "$1" = "0" ]; then
|
|
|
|
if [ -x %{_bindir}/fc-cache ]; then
|
|
|
|
%{_bindir}/fc-cache %{_datadir}/fonts
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2006-06-11 11:18:55 +00:00
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc *.txt AUTHORS BUGS LICENSE NEWS README
|
|
|
|
|
2006-09-15 19:00:26 +00:00
|
|
|
%config %{fontconfdir}/conf.d/58-dejavu.conf
|
2006-06-11 10:20:54 +00:00
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
%dir %{fontdir}
|
2006-03-22 23:10:27 +00:00
|
|
|
%{fontdir}/DejaVu*.ttf
|
|
|
|
%exclude %{fontdir}/DejaVu*Condensed*.ttf
|
|
|
|
%exclude %{fontdir}/DejaVu*ExtraLight*.ttf
|
|
|
|
%exclude %{fontdir}/DejaVuSerif-*Oblique.ttf
|
|
|
|
|
2006-06-18 10:54:28 +00:00
|
|
|
|
2006-03-22 23:10:27 +00:00
|
|
|
%files experimental
|
|
|
|
%defattr(0644,root,root,0755)
|
2006-07-12 19:24:03 +00:00
|
|
|
|
2006-09-15 19:00:26 +00:00
|
|
|
%config %{fontconfdir}/conf.d/58-dejavu-experimental.conf
|
2006-07-12 19:24:03 +00:00
|
|
|
|
2006-03-22 23:10:27 +00:00
|
|
|
%{fontdir}/DejaVu*Condensed*.ttf
|
|
|
|
%{fontdir}/DejaVu*ExtraLight*.ttf
|
|
|
|
%{fontdir}/DejaVuSerif-*Oblique.ttf
|
2005-06-23 19:10:12 +00:00
|
|
|
|
2006-03-04 20:38:53 +00:00
|
|
|
|
2005-06-23 19:10:12 +00:00
|
|
|
%changelog
|
2006-09-15 18:27:37 +00:00
|
|
|
* Fri Sep 15 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
2006-09-15 19:00:26 +00:00
|
|
|
- 2.10.0-0.2.20060913-1149
|
2006-09-15 18:27:37 +00:00
|
|
|
- match dejavu-lgc core conf style once again
|
|
|
|
|
2006-08-30 21:42:31 +00:00
|
|
|
* Wed Aug 30 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.9.0-1
|
|
|
|
- tweak fontconfig settings to match the style the dejavu-lgc core package
|
|
|
|
adopted
|
|
|
|
|
2006-07-30 20:22:26 +00:00
|
|
|
* Sun Jul 30 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.8.0-2
|
|
|
|
- Massive simplification of the spec following dejavu-lgc inclusion in FC. The
|
|
|
|
removed parts were intended to workaround the fact no dejavu variant was in
|
|
|
|
core. Since there is one now, and dejavu full only complements the dejavu-lgc
|
2006-08-30 21:42:31 +00:00
|
|
|
package, core maintainers should take care of the corresponding settings.
|
2006-07-30 20:22:26 +00:00
|
|
|
|
2006-07-16 15:09:25 +00:00
|
|
|
* Sun Jul 16 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.8.0-1
|
|
|
|
- 2.8.0 final
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Wed Jul 12 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.8.0-0.2.rc1
|
|
|
|
- it's that time of the month again - 2.8.0 rc1 is out
|
|
|
|
- trim changelog a bit
|
|
|
|
- copy Vera GASP trick
|
|
|
|
- add Toga aliases
|
|
|
|
|
|
|
|
* Sun Jun 18 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-1
|
2006-06-18 20:54:03 +00:00
|
|
|
- 2.7.0 final
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Jun 18 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.19
|
2006-06-18 10:40:01 +00:00
|
|
|
- clean up descriptions
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Jun 18 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.18
|
2006-06-18 10:21:33 +00:00
|
|
|
- update to 20060618-945 snapshot
|
|
|
|
- tighten up obsoletes
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Fri Jun 16 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.17
|
2006-06-16 17:47:24 +00:00
|
|
|
- all behold the power of the alphatag
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Wed Jun 14 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.15
|
2006-06-14 21:13:20 +00:00
|
|
|
- update to 20060614-943 snapshot
|
|
|
|
- do make dejavu the default in all cases when makedefault is installed
|
|
|
|
- alias Vera derivatives merged in DejaVu
|
|
|
|
- declare generics for all DejaVu faces
|
2006-07-12 19:24:03 +00:00
|
|
|
- remove more stuff moved to %%{fontconfdir}/conf.d from the xslts
|
2006-06-14 21:13:20 +00:00
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.14
|
2006-06-11 12:25:03 +00:00
|
|
|
- remove old blocking code before adding new one
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.12
|
2006-06-11 11:45:41 +00:00
|
|
|
- replace triggerun by preun
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.10
|
2006-06-11 11:32:15 +00:00
|
|
|
- block Sans instead of sans-serif - GNOME uses the first one
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.9
|
2006-06-11 11:18:55 +00:00
|
|
|
- reintroduce xslt triggers in dejavu-fonts-block as fontconfig conf.d priority
|
|
|
|
is not high enough for our needs
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.8
|
2006-06-11 11:18:55 +00:00
|
|
|
- complete and clean up the Vera aliasing
|
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.7
|
2006-06-09 23:16:05 +00:00
|
|
|
- addition of fontconfig blocking for Arabic and Persian
|
2006-06-10 22:45:29 +00:00
|
|
|
(experimental but safe)
|
2006-06-09 23:16:05 +00:00
|
|
|
- tweak of the fontconfig aliasing to make DejaVu fonts the highest prio
|
2006-06-10 22:45:29 +00:00
|
|
|
instead of following Vera ranking, and rename the subpackage accordingly
|
2006-06-11 11:18:55 +00:00
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Jun 11 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.7.0-0.1
|
2006-06-11 11:18:55 +00:00
|
|
|
- preparation to 2.7.0 based on the current dejavu snapshot
|
2006-06-09 23:16:05 +00:00
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Mon May 15 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.6.0-1
|
2006-05-15 16:45:36 +00:00
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Sun Apr 23 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.5.0-1
|
2006-04-23 17:11:24 +00:00
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Wed Mar 29 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.4.1-1
|
|
|
|
- (workaround pango problems)
|
2006-03-29 19:25:23 +00:00
|
|
|
|
2006-07-12 19:24:03 +00:00
|
|
|
* Wed Mar 22 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.4-1
|
|
|
|
- 2.4 A big thanks to Štěpán Roh for getting the project there
|
2006-03-22 23:10:27 +00:00
|
|
|
- split out experimental typefaces
|