]> git.pld-linux.org Git - packages/fonts-TTF-RedHat-liberation.git/blob - fonts-TTF-RedHat-liberation.spec
efd71213f55cd332345c265580d8876406d0616f
[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 Summary(pl.UTF-8):      Fonty zastępujące popularne fonty z Microsoft Windows
4 Name:           fonts-TTF-RedHat-liberation
5 Version:        0.1
6 Release:        1
7 License:        GPL v2 + exceptions
8 Group:          Fonts
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
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
22 most commonly used fonts on Microsoft systems: Times New Roman, Arial,
23 and Courier New.
24
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
29 %prep
30 %setup -q -c -n %{_name}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
35 cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
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}/*
This page took 0.05801 seconds and 2 git commands to generate.