]> git.pld-linux.org Git - packages/fonts-TTF-RedHat-liberation.git/blob - fonts-TTF-RedHat-liberation.spec
- BR: unzip
[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 BuildRequires:  unzip
15 Requires(post,postun):  fontpostinst
16 Requires:       %{_fontsdir}/TTF
17 Obsoletes:      liberation-fonts-ttf
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _ttffontsdir    %{_fontsdir}/TTF
22
23 %description
24 The Liberation Fonts are intended to be replacements for the three
25 most commonly used fonts on Microsoft systems.
26
27 There are three sets: Sans (a substitute for Arial, Albany, Helvetica,
28 Nimbus Sans L, and Bitstream Vera Sans), Serif (a substitute for Times
29 New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono
30 (a substitute for Courier New, Cumberland, Courier, Nimbus Mono L, and
31 Bitstream Vera Sans Mono).
32
33 %description -l pl.UTF-8
34 Fonty Liberation mają być zamiennikami trzech najczęściej używanych
35 fontów z systemów Microsoftu.
36
37 Pakiet zawiera trzy zestawy: Sans (zamiennik dla Arial, Albany,
38 Helvetica, Nimbus Sans L i Bitstream Vera Sans), Serif (zamiennik dla
39 Times New Roman, Thorndale, Nimbus Roman i Bitstream Vera Serif) i
40 Mono (zamiennik dla Courier New, Cumberland, Courier, Nimbus Mono L i
41 Bitstream Vera Sans Mono).
42
43 %prep
44 %setup -q -c
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
49 install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
50 install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
51
52 cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
54 ln -s ../conf.avail/60-liberation.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 fontpostinst TTF
61
62 %postun
63 fontpostinst TTF
64
65 %files
66 %defattr(644,root,root,755)
67 %doc AUTHORS ChangeLog License.txt README
68 %{_ttffontsdir}/LiberationMono-*.ttf
69 %{_ttffontsdir}/LiberationSans-*.ttf
70 %{_ttffontsdir}/LiberationSerif-*.ttf
71 %{_sysconfdir}/fonts/conf.avail/60-liberation.conf
72 %{_sysconfdir}/fonts/conf.d/60-liberation.conf
This page took 0.069283 seconds and 4 git commands to generate.