]> git.pld-linux.org Git - packages/fonts-TTF-RedHat-liberation.git/blame - fonts-TTF-RedHat-liberation.spec
- rel 1; fix monospace bug (patch from fc); build fonts from sources instead of using...
[packages/fonts-TTF-RedHat-liberation.git] / fonts-TTF-RedHat-liberation.spec
CommitLineData
7e548dc0 1Summary: Fonts to replace commonly used Microsoft Windows Fonts
cec7558f 2Summary(pl.UTF-8): Fonty zastępujące popularne fonty z Microsoft Windows
7e548dc0 3Name: fonts-TTF-RedHat-liberation
4e12891a 4Version: 1.06.0.20100721
216fadfc 5Release: 1
151ed272 6Epoch: 1
7e548dc0
PZ
7License: GPL v2 + exceptions
8Group: Fonts
216fadfc
AM
9Source0: https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-%{version}.tar.gz
10# Source0-md5: 2f45bd873ab48cf0c3a00fbd350c0e80
99c1de31 11Source1: %{name}.fontconfig
216fadfc 12Patch0: rh-bug-620273.patch
f8070bf6 13URL: https://fedorahosted.org/liberation-fonts/
216fadfc 14BuildRequires: fontforge >= 20090923
4ef0c9a0 15BuildRequires: unzip
7e548dc0
PZ
16Requires(post,postun): fontpostinst
17Requires: %{_fontsdir}/TTF
cee98cc6 18Obsoletes: liberation-fonts-ttf
7e548dc0
PZ
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%define _ttffontsdir %{_fontsdir}/TTF
23
24%description
25The Liberation Fonts are intended to be replacements for the three
0110d3a4
AM
26most commonly used fonts on Microsoft systems.
27
28There are three sets: Sans (a substitute for Arial, Albany, Helvetica,
29Nimbus Sans L, and Bitstream Vera Sans), Serif (a substitute for Times
30New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono
31(a substitute for Courier New, Cumberland, Courier, Nimbus Mono L, and
32Bitstream Vera Sans Mono).
7e548dc0 33
cec7558f
JB
34%description -l pl.UTF-8
35Fonty Liberation mają być zamiennikami trzech najczęściej używanych
0110d3a4
AM
36fontów z systemów Microsoftu.
37
38Pakiet zawiera trzy zestawy: Sans (zamiennik dla Arial, Albany,
39Helvetica, Nimbus Sans L i Bitstream Vera Sans), Serif (zamiennik dla
40Times New Roman, Thorndale, Nimbus Roman i Bitstream Vera Serif) i
41Mono (zamiennik dla Courier New, Cumberland, Courier, Nimbus Mono L i
42Bitstream Vera Sans Mono).
cec7558f 43
7e548dc0 44%prep
216fadfc
AM
45%setup -q -n liberation-fonts-%{version}
46%patch0 -p0
47
48%build
49%{__make}
7e548dc0
PZ
50
51%install
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT%{_ttffontsdir}
99c1de31 54install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
155254a5 55install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
b5f5d58f 56
216fadfc 57cp -a liberation-*/*.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
f8070bf6 58install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
155254a5 59ln -s ../conf.avail/60-liberation.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
7e548dc0
PZ
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%post
65fontpostinst TTF
66
67%postun
68fontpostinst TTF
69
70%files
71%defattr(644,root,root,755)
f8070bf6
JB
72%doc AUTHORS ChangeLog License.txt README
73%{_ttffontsdir}/LiberationMono-*.ttf
74%{_ttffontsdir}/LiberationSans-*.ttf
4e12891a 75%{_ttffontsdir}/LiberationSansNarrow-*.ttf
f8070bf6 76%{_ttffontsdir}/LiberationSerif-*.ttf
99c1de31 77%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
155254a5 78%{_sysconfdir}/fonts/conf.d/60-liberation.conf
This page took 0.087492 seconds and 4 git commands to generate.