]>
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 |
c5ec194e | 4 | Version: 1.04.93 |
f8070bf6 | 5 | Release: 1 |
7e548dc0 PZ |
6 | License: GPL v2 + exceptions |
7 | Group: Fonts | |
c5ec194e AM |
8 | Source0: https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-%{version}.devel.tar.gz |
9 | # Source0-md5: d19457dea29b4daffbe5ba9ac1746d7e | |
99c1de31 | 10 | Source1: %{name}.fontconfig |
f8070bf6 | 11 | URL: https://fedorahosted.org/liberation-fonts/ |
7e548dc0 PZ |
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 |
c5ec194e | 41 | %setup -q -n liberation-fonts-%{version}.devel |
7e548dc0 PZ |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
99c1de31 | 46 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail |
155254a5 | 47 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d |
b5f5d58f | 48 | |
f8070bf6 JB |
49 | cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} |
50 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/60-liberation.conf | |
155254a5 | 51 | ln -s ../conf.avail/60-liberation.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d |
7e548dc0 PZ |
52 | |
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %post | |
57 | fontpostinst TTF | |
58 | ||
59 | %postun | |
60 | fontpostinst TTF | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
f8070bf6 JB |
64 | %doc AUTHORS ChangeLog License.txt README |
65 | %{_ttffontsdir}/LiberationMono-*.ttf | |
66 | %{_ttffontsdir}/LiberationSans-*.ttf | |
67 | %{_ttffontsdir}/LiberationSerif-*.ttf | |
99c1de31 | 68 | %{_sysconfdir}/fonts/conf.avail/60-liberation.conf |
155254a5 | 69 | %{_sysconfdir}/fonts/conf.d/60-liberation.conf |