]>
Commit | Line | Data |
---|---|---|
7e548dc0 | 1 | Summary: Fonts to replace commonly used Microsoft Windows Fonts |
cec7558f | 2 | Summary(pl.UTF-8): Fonty zastępujące popularne fonty z Microsoft Windows |
7e548dc0 | 3 | Name: fonts-TTF-RedHat-liberation |
d67fc8d4 | 4 | Version: 1.07.0 |
216fadfc | 5 | Release: 1 |
151ed272 | 6 | Epoch: 1 |
7e548dc0 PZ |
7 | License: GPL v2 + exceptions |
8 | Group: Fonts | |
216fadfc | 9 | Source0: https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-%{version}.tar.gz |
d67fc8d4 | 10 | # Source0-md5: 87ba9eea831ebc6fab9578abcebda9a5 |
99c1de31 | 11 | Source1: %{name}.fontconfig |
f8070bf6 | 12 | URL: https://fedorahosted.org/liberation-fonts/ |
216fadfc | 13 | BuildRequires: fontforge >= 20090923 |
4ef0c9a0 | 14 | BuildRequires: unzip |
7e548dc0 PZ |
15 | Requires(post,postun): fontpostinst |
16 | Requires: %{_fontsdir}/TTF | |
cee98cc6 | 17 | Obsoletes: liberation-fonts-ttf |
7e548dc0 PZ |
18 | BuildArch: noarch |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %define _ttffontsdir %{_fontsdir}/TTF | |
22 | ||
23 | %description | |
24 | The Liberation Fonts are intended to be replacements for the three | |
0110d3a4 AM |
25 | most commonly used fonts on Microsoft systems. |
26 | ||
27 | There are three sets: Sans (a substitute for Arial, Albany, Helvetica, | |
28 | Nimbus Sans L, and Bitstream Vera Sans), Serif (a substitute for Times | |
29 | New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono | |
30 | (a substitute for Courier New, Cumberland, Courier, Nimbus Mono L, and | |
31 | Bitstream Vera Sans Mono). | |
7e548dc0 | 32 | |
cec7558f JB |
33 | %description -l pl.UTF-8 |
34 | Fonty Liberation mają być zamiennikami trzech najczęściej używanych | |
0110d3a4 AM |
35 | fontów z systemów Microsoftu. |
36 | ||
37 | Pakiet zawiera trzy zestawy: Sans (zamiennik dla Arial, Albany, | |
38 | Helvetica, Nimbus Sans L i Bitstream Vera Sans), Serif (zamiennik dla | |
39 | Times New Roman, Thorndale, Nimbus Roman i Bitstream Vera Serif) i | |
40 | Mono (zamiennik dla Courier New, Cumberland, Courier, Nimbus Mono L i | |
41 | Bitstream Vera Sans Mono). | |
cec7558f | 42 | |
7e548dc0 | 43 | %prep |
216fadfc | 44 | %setup -q -n liberation-fonts-%{version} |
216fadfc AM |
45 | |
46 | %build | |
47 | %{__make} | |
7e548dc0 PZ |
48 | |
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
99c1de31 | 52 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail |
155254a5 | 53 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d |
b5f5d58f | 54 | |
216fadfc | 55 | cp -a liberation-*/*.ttf $RPM_BUILD_ROOT%{_ttffontsdir} |
f8070bf6 | 56 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/60-liberation.conf |
155254a5 | 57 | ln -s ../conf.avail/60-liberation.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d |
7e548dc0 PZ |
58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post | |
63 | fontpostinst TTF | |
64 | ||
65 | %postun | |
66 | fontpostinst TTF | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
f8070bf6 JB |
70 | %doc AUTHORS ChangeLog License.txt README |
71 | %{_ttffontsdir}/LiberationMono-*.ttf | |
72 | %{_ttffontsdir}/LiberationSans-*.ttf | |
4e12891a | 73 | %{_ttffontsdir}/LiberationSansNarrow-*.ttf |
f8070bf6 | 74 | %{_ttffontsdir}/LiberationSerif-*.ttf |
99c1de31 | 75 | %{_sysconfdir}/fonts/conf.avail/60-liberation.conf |
155254a5 | 76 | %{_sysconfdir}/fonts/conf.d/60-liberation.conf |