]>
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 | |
02d7033f ER |
9 | Source0: https://www.redhat.com/f/fonts/%{_name}-ttf-2.tar.gz |
10 | # Source0-md5: 360dee2d73159522db3be6af8ec23294 | |
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 | |
cee98cc6 ER |
22 | most commonly used fonts on Microsoft systems: Times New Roman, Arial, |
23 | and Courier New. | |
7e548dc0 | 24 | |
cec7558f JB |
25 | %description -l pl.UTF-8 |
26 | Fonty Liberation mają być zamiennikami trzech najczęściej używanych | |
27 | fontów z systemów Microsoftu: Times New Roman, Arial i Courier New. | |
28 | ||
7e548dc0 | 29 | %prep |
cee98cc6 | 30 | %setup -q -c -n %{_name} |
7e548dc0 PZ |
31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
cee98cc6 | 35 | cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} |
7e548dc0 PZ |
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}/* |