]> git.pld-linux.org Git - packages/fonts-TTF-RedHat-liberation1.git/blame - fonts-TTF-RedHat-liberation.spec
- up config from FC
[packages/fonts-TTF-RedHat-liberation1.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
151ed272 4Version: 1.04.93
e7027ab0 5Release: 2
151ed272 6Epoch: 1
7e548dc0
PZ
7License: GPL v2 + exceptions
8Group: Fonts
151ed272
AM
9Source0: https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-%{version}.devel.tar.gz
10# Source0-md5: d19457dea29b4daffbe5ba9ac1746d7e
99c1de31 11Source1: %{name}.fontconfig
f8070bf6 12URL: https://fedorahosted.org/liberation-fonts/
7e548dc0
PZ
13Requires(post,postun): fontpostinst
14Requires: %{_fontsdir}/TTF
cee98cc6 15Obsoletes: liberation-fonts-ttf
7e548dc0
PZ
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define _ttffontsdir %{_fontsdir}/TTF
20
21%description
22The Liberation Fonts are intended to be replacements for the three
0110d3a4
AM
23most commonly used fonts on Microsoft systems.
24
25There are three sets: Sans (a substitute for Arial, Albany, Helvetica,
26Nimbus Sans L, and Bitstream Vera Sans), Serif (a substitute for Times
27New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono
28(a substitute for Courier New, Cumberland, Courier, Nimbus Mono L, and
29Bitstream Vera Sans Mono).
7e548dc0 30
cec7558f
JB
31%description -l pl.UTF-8
32Fonty Liberation mają być zamiennikami trzech najczęściej używanych
0110d3a4
AM
33fontów z systemów Microsoftu.
34
35Pakiet zawiera trzy zestawy: Sans (zamiennik dla Arial, Albany,
36Helvetica, Nimbus Sans L i Bitstream Vera Sans), Serif (zamiennik dla
37Times New Roman, Thorndale, Nimbus Roman i Bitstream Vera Serif) i
38Mono (zamiennik dla Courier New, Cumberland, Courier, Nimbus Mono L i
39Bitstream Vera Sans Mono).
cec7558f 40
7e548dc0 41%prep
151ed272 42%setup -q -n liberation-fonts-%{version}.devel
7e548dc0
PZ
43
44%install
45rm -rf $RPM_BUILD_ROOT
46install -d $RPM_BUILD_ROOT%{_ttffontsdir}
99c1de31 47install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
155254a5 48install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
b5f5d58f 49
151ed272 50cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
f8070bf6 51install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
155254a5 52ln -s ../conf.avail/60-liberation.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
7e548dc0
PZ
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post
58fontpostinst TTF
59
60%postun
61fontpostinst TTF
62
63%files
64%defattr(644,root,root,755)
f8070bf6
JB
65%doc AUTHORS ChangeLog License.txt README
66%{_ttffontsdir}/LiberationMono-*.ttf
67%{_ttffontsdir}/LiberationSans-*.ttf
68%{_ttffontsdir}/LiberationSerif-*.ttf
99c1de31 69%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
155254a5 70%{_sysconfdir}/fonts/conf.d/60-liberation.conf
This page took 0.076374 seconds and 4 git commands to generate.