]>
Commit | Line | Data |
---|---|---|
7e548dc0 PZ |
1 | %define _name liberation-fonts |
2 | Summary: Fonts to replace commonly used Microsoft Windows Fonts | |
cec7558f | 3 | Summary(pl.UTF-8): Fonty zastępujące popularne fonty z Microsoft Windows |
7e548dc0 | 4 | Name: fonts-TTF-RedHat-liberation |
0110d3a4 | 5 | Version: 0.2 |
7e548dc0 PZ |
6 | Release: 1 |
7 | License: GPL v2 + exceptions | |
8 | Group: Fonts | |
0110d3a4 AM |
9 | Source0: https://www.redhat.com/f/fonts/%{_name}-ttf-3.tar.gz |
10 | # Source0-md5: 77728078a17e39f7c242b42c3bf6feb8 | |
7e548dc0 PZ |
11 | URL: https://www.redhat.com/promo/fonts/ |
12 | Requires(post,postun): fontpostinst | |
13 | Requires: %{_fontsdir}/TTF | |
cee98cc6 | 14 | Obsoletes: liberation-fonts-ttf |
7e548dc0 PZ |
15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _ttffontsdir %{_fontsdir}/TTF | |
19 | ||
20 | %description | |
21 | The Liberation Fonts are intended to be replacements for the three | |
0110d3a4 AM |
22 | most commonly used fonts on Microsoft systems. |
23 | ||
24 | There are three sets: Sans (a substitute for Arial, Albany, Helvetica, | |
25 | Nimbus Sans L, and Bitstream Vera Sans), Serif (a substitute for Times | |
26 | New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono | |
27 | (a substitute for Courier New, Cumberland, Courier, Nimbus Mono L, and | |
28 | Bitstream Vera Sans Mono). | |
7e548dc0 | 29 | |
cec7558f JB |
30 | %description -l pl.UTF-8 |
31 | Fonty Liberation mają być zamiennikami trzech najczęściej używanych | |
0110d3a4 AM |
32 | fontów z systemów Microsoftu. |
33 | ||
34 | Pakiet zawiera trzy zestawy: Sans (zamiennik dla Arial, Albany, | |
35 | Helvetica, Nimbus Sans L i Bitstream Vera Sans), Serif (zamiennik dla | |
36 | Times New Roman, Thorndale, Nimbus Roman i Bitstream Vera Serif) i | |
37 | Mono (zamiennik dla Courier New, Cumberland, Courier, Nimbus Mono L i | |
38 | Bitstream Vera Sans Mono). | |
cec7558f | 39 | |
7e548dc0 | 40 | %prep |
0110d3a4 | 41 | %setup -q -n %{_name}-%{version} |
7e548dc0 PZ |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
cee98cc6 | 46 | cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} |
7e548dc0 PZ |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %post | |
52 | fontpostinst TTF | |
53 | ||
54 | %postun | |
55 | fontpostinst TTF | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %{_ttffontsdir}/* |