]> git.pld-linux.org Git - packages/fonts-TTF-RedHat-liberation.git/blob - fonts-TTF-RedHat-liberation.spec
331089ed69afdf073322b55634a6abc1eec47ea7
[packages/fonts-TTF-RedHat-liberation.git] / fonts-TTF-RedHat-liberation.spec
1 %define         _name   liberation-fonts
2 Summary:        Fonts to replace commonly used Microsoft Windows Fonts
3 Name:           fonts-TTF-RedHat-liberation
4 Version:        0.1
5 Release:        1
6 License:        GPL v2 + exceptions
7 Group:          Fonts
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
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _ttffontsdir    %{_fontsdir}/TTF
17
18 %description
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.
22
23 %prep
24 %setup -c -n %{_name}
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
29
30 install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %post
36 fontpostinst TTF
37
38 %postun
39 fontpostinst TTF
40
41 %files
42 %defattr(644,root,root,755)
43 %{_ttffontsdir}/*
This page took 0.027172 seconds and 3 git commands to generate.