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