]> git.pld-linux.org Git - packages/fonts-TTF-RedHat-liberation.git/blame - fonts-TTF-RedHat-liberation.spec
- fix source0
[packages/fonts-TTF-RedHat-liberation.git] / fonts-TTF-RedHat-liberation.spec
CommitLineData
7e548dc0
PZ
1%define _name liberation-fonts
2Summary: Fonts to replace commonly used Microsoft Windows Fonts
cec7558f 3Summary(pl.UTF-8): Fonty zastępujące popularne fonty z Microsoft Windows
7e548dc0
PZ
4Name: fonts-TTF-RedHat-liberation
5Version: 0.1
6Release: 1
7License: GPL v2 + exceptions
8Group: Fonts
02d7033f
ER
9Source0: https://www.redhat.com/f/fonts/%{_name}-ttf-2.tar.gz
10# Source0-md5: 360dee2d73159522db3be6af8ec23294
7e548dc0
PZ
11URL: https://www.redhat.com/promo/fonts/
12Requires(post,postun): fontpostinst
13Requires: %{_fontsdir}/TTF
cee98cc6 14Obsoletes: liberation-fonts-ttf
7e548dc0
PZ
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%define _ttffontsdir %{_fontsdir}/TTF
19
20%description
21The Liberation Fonts are intended to be replacements for the three
cee98cc6
ER
22most commonly used fonts on Microsoft systems: Times New Roman, Arial,
23and Courier New.
7e548dc0 24
cec7558f
JB
25%description -l pl.UTF-8
26Fonty Liberation mają być zamiennikami trzech najczęściej używanych
27fontów z systemów Microsoftu: Times New Roman, Arial i Courier New.
28
7e548dc0 29%prep
cee98cc6 30%setup -q -c -n %{_name}
7e548dc0
PZ
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT%{_ttffontsdir}
cee98cc6 35cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
7e548dc0
PZ
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%post
41fontpostinst TTF
42
43%postun
44fontpostinst TTF
45
46%files
47%defattr(644,root,root,755)
48%{_ttffontsdir}/*
This page took 0.073406 seconds and 4 git commands to generate.