1 %define _name liberation-fonts
2 Summary: Fonts to replace commonly used Microsoft Windows Fonts
3 Summary(pl.UTF-8): Fonty zastępujące popularne fonty z Microsoft Windows
4 Name: fonts-TTF-RedHat-liberation
7 License: GPL v2 + exceptions
9 Source0: https://www.redhat.com/f/fonts/%{_name}-ttf-2.tar.gz
10 # Source0-md5: 360dee2d73159522db3be6af8ec23294
11 URL: https://www.redhat.com/promo/fonts/
12 Requires(post,postun): fontpostinst
13 Requires: %{_fontsdir}/TTF
14 Obsoletes: liberation-fonts-ttf
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _ttffontsdir %{_fontsdir}/TTF
21 The Liberation Fonts are intended to be replacements for the three
22 most commonly used fonts on Microsoft systems: Times New Roman, Arial,
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.
30 %setup -q -c -n %{_name}
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
35 cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
38 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)