]>
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 PZ |
4 | Name: fonts-TTF-RedHat-liberation |
5 | Version: 0.1 | |
6 | Release: 1 | |
7 | License: GPL v2 + exceptions | |
8 | Group: Fonts | |
9 | Source0: %{_name}-%{version}.tar.gz | |
10 | # Source0-md5: a874631c4641e8496cd9be5c7da74b48 | |
11 | URL: https://www.redhat.com/promo/fonts/ | |
12 | Requires(post,postun): fontpostinst | |
13 | Requires: %{_fontsdir}/TTF | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _ttffontsdir %{_fontsdir}/TTF | |
18 | ||
19 | %description | |
20 | The Liberation Fonts are intended to be replacements for the three | |
21 | most commonly used fonts on Microsoft systems: Times New Roman, | |
22 | Arial, and Courier New. | |
23 | ||
cec7558f JB |
24 | %description -l pl.UTF-8 |
25 | Fonty Liberation mają być zamiennikami trzech najczęściej używanych | |
26 | fontów z systemów Microsoftu: Times New Roman, Arial i Courier New. | |
27 | ||
7e548dc0 PZ |
28 | %prep |
29 | %setup -c -n %{_name} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
34 | ||
35 | install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %post | |
41 | fontpostinst TTF | |
42 | ||
43 | %postun | |
44 | fontpostinst TTF | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %{_ttffontsdir}/* |