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