1 %define _name liberation-fonts
2 Summary: Fonts to replace commonly used Microsoft Windows Fonts
3 Name: fonts-TTF-RedHat-liberation
6 License: GPL v2 + exceptions
8 Source0: %{_name}-%{version}.tar.gz
9 # Source0-md5: a874631c4641e8496cd9be5c7da74b48
10 URL: https://www.redhat.com/promo/fonts/
11 Requires(post,postun): fontpostinst
12 Requires: %{_fontsdir}/TTF
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _ttffontsdir %{_fontsdir}/TTF
19 The Liberation Fonts are intended to be replacements for the three
20 most commonly used fonts on Microsoft systems: Times New Roman,
21 Arial, and Courier New.
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
30 install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
33 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)