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