]>
Commit | Line | Data |
---|---|---|
d75a2cae | 1 | Summary: The width-compatible fonts for improved on-screen readability |
ea8826a4 | 2 | Summary(pl.UTF-8): Fonty o zgodnej szerokości z poprawioną czytelnością na ekranie |
d75a2cae | 3 | Name: fonts-TTF-Google-croscore |
9f04e8aa AM |
4 | Version: 1.23.0 |
5 | Release: 1 | |
d75a2cae AM |
6 | License: OFL |
7 | Group: Fonts | |
8 | Source0: http://gsdview.appspot.com/chromeos-localmirror/distfiles/croscorefonts-%{version}.tar.gz | |
9f04e8aa | 9 | # Source0-md5: cfa8bec07bf5b6856dd20f0cb28b3929 |
d75a2cae AM |
10 | Source1: 62-google-croscore-arimo-fontconfig.conf |
11 | Source2: 62-google-croscore-cousine-fontconfig.conf | |
12 | Source3: 62-google-croscore-tinos-fontconfig.conf | |
13 | Source4: 30-0-google-croscore-arimo-fontconfig.conf | |
14 | Source5: 30-0-google-croscore-cousine-fontconfig.conf | |
15 | Source6: 30-0-google-croscore-tinos-fontconfig.conf | |
16 | Source7: 62-google-croscore-symbolneu-fontconfig.conf | |
17 | Requires(post,postun): fontpostinst | |
18 | Requires: %{_fontsdir}/TTF | |
8ef46ca6 | 19 | Requires: fontconfig >= 1:2.10.1 |
d75a2cae AM |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %define _ttffontsdir %{_fontsdir}/TTF | |
24 | ||
25 | %description | |
26 | This package contains a collections of fonts that offers improved | |
ea8826a4 JB |
27 | on-screen readability characteristics and the pan-European WGL |
28 | character set and solves the needs of developers looking for | |
29 | width-compatible fonts to address document portability across | |
d75a2cae AM |
30 | platforms. |
31 | ||
ea8826a4 JB |
32 | %description -l pl.UTF-8 |
33 | Ten pakiet zawiera zbiory fontów o poprawionej czytelności na | |
34 | ekranie, pokrywających zestaw znaków paneuropejskich WGL, | |
35 | wychodzących naprzeciw potrzebom programistów poszukujących | |
36 | fontów o zgodnej szerokości na potrzeby przenośności dokumentów | |
37 | między platformami. | |
38 | ||
d75a2cae AM |
39 | %prep |
40 | %setup -q -n croscorefonts-%{version} | |
41 | ||
42 | %build | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
8ef46ca6 JR |
47 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fonts/conf.d,%{_ttffontsdir}} |
48 | install -d $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail | |
d75a2cae AM |
49 | install -p *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} |
50 | ||
51 | # Repeat for every font family | |
8ef46ca6 JR |
52 | install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/62-google-croscore-arimo.conf |
53 | install -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/62-google-croscore-cousine.conf | |
54 | install -p %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/62-google-croscore-tinos.conf | |
55 | install -p %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/30-0-google-croscore-arimo.conf | |
56 | install -p %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/30-0-google-croscore-cousine.conf | |
57 | install -p %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/30-0-google-croscore-tinos.conf | |
58 | install -p %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/62-google-croscore-symbolneu.conf | |
d75a2cae AM |
59 | |
60 | for fconf in 62-google-croscore-arimo.conf 30-0-google-croscore-arimo.conf \ | |
61 | 62-google-croscore-cousine.conf 30-0-google-croscore-cousine.conf \ | |
62 | 62-google-croscore-tinos.conf 30-0-google-croscore-tinos.conf \ | |
63 | 62-google-croscore-symbolneu.conf; do | |
8ef46ca6 | 64 | ln -s %{_datadir}/fontconfig/conf.avail/$fconf \ |
d75a2cae AM |
65 | $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/$fconf |
66 | done | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post | |
72 | fontpostinst TTF | |
73 | ||
74 | %postun | |
75 | fontpostinst TTF | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
d75a2cae AM |
79 | %{_ttffontsdir}/Arimo*.ttf |
80 | %{_ttffontsdir}/Cousine*.ttf | |
81 | %{_ttffontsdir}/Symbol*.ttf | |
82 | %{_ttffontsdir}/Tinos*.ttf | |
ea8826a4 JB |
83 | %{_datadir}/fontconfig/conf.avail/30-0-google-croscore-*.conf |
84 | %{_datadir}/fontconfig/conf.avail/62-google-croscore-*.conf | |
85 | %{_sysconfdir}/fonts/conf.d/30-0-google-croscore-*.conf | |
86 | %{_sysconfdir}/fonts/conf.d/62-google-croscore-*.conf |