blob: 4932f80ef1ad047d36bca63c60e55633e87ea291 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
%define _fontsdir %{_datadir}/fonts
%define _ttfontsdir %{_fontsdir}/truetype
%define _miscfontsdir %{_fontsdir}/misc
%define _fontsconfdir %{_sysconfdir}/fonts
%define _fontsconfddir %{_fontsconfdir}/conf.d
%define _fontsconfavaildir %{_datadir}/%{name}/conf.avail
Name: dejavu-fonts
Version: 2.33
Release: 0
License: Permissive
Summary: DejaVu Truetype Fonts
Url: http://dejavu.sourceforge.net/
Group: System/Fonts
Source: dejavu-fonts-ttf-%{version}.tar.bz2
BuildArch: noarch
%description
The DejaVu fonts are a font family based on the Vera Fonts.
Its purpose is to provide a wider range of characters while
maintaining the original look and feel through the process
of collaborative development (see authors), under a Free license.
%prep
%setup -n %{name}-ttf-%{version}
%build
%install
mkdir -p %{buildroot}%{_ttfontsdir}/
install -m 0644 ttf/*.ttf %{buildroot}%{_ttfontsdir}/
%post
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_ttffontsdir} || :
fi
%postun
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_ttffontsdir} || :
fi
%files
%defattr(-,root,root,755)
%license LICENSE
%{_ttfontsdir}/
|