]>
Commit | Line | Data |
---|---|---|
8b37f262 JB |
1 | Summary: Screen Fixed Cyrillic font |
2 | Summary(pl.UTF-8): Font Screen Fixed w cyrylicy | |
33339b38 | 3 | Name: xorg-font-font-screen-cyrillic |
3cb77947 JB |
4 | Version: 1.0.5 |
5 | Release: 1 | |
33339b38 | 6 | License: MIT |
aae53c7c | 7 | Group: Fonts |
3cb77947 JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/font/font-screen-cyrillic-%{version}.tar.xz |
9 | # Source0-md5: 9e0f38698bf999376f3be3674e8cfd86 | |
10 | URL: https://xorg.freedesktop.org/ | |
11 | BuildRequires: autoconf >= 2.60 | |
33339b38 | 12 | BuildRequires: automake |
3cb77947 | 13 | BuildRequires: tar >= 1:1.22 |
33339b38 | 14 | BuildRequires: xorg-app-bdftopcf |
33339b38 AM |
15 | BuildRequires: xorg-app-mkfontdir |
16 | BuildRequires: xorg-app-mkfontscale | |
3cb77947 JB |
17 | BuildRequires: xorg-font-font-util >= 1.4 |
18 | BuildRequires: xorg-util-util-macros >= 1.20 | |
19 | BuildRequires: xz | |
de126953 JB |
20 | Requires(post,postun): fontpostinst |
21 | Requires: %{_fontsdir}/cyrillic | |
436e94fe JB |
22 | # contains useful aliases for these fonts |
23 | Requires: xorg-font-font-alias >= 1.0.0 | |
e03d9584 | 24 | BuildArch: noarch |
aae53c7c | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33339b38 AM |
26 | |
27 | %description | |
8b37f262 | 28 | Screen Fixed Cyrillic font. |
33339b38 | 29 | |
ca601d9b | 30 | %description -l pl.UTF-8 |
8b37f262 | 31 | Font Screen Fixed w cyrylicy. |
33339b38 AM |
32 | |
33 | %prep | |
34 | %setup -q -n font-screen-cyrillic-%{version} | |
35 | ||
33339b38 AM |
36 | %build |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
39 | %{__automake} | |
de126953 | 40 | %configure \ |
3cb77947 | 41 | %if "%{_gnu}" != "-gnux32" |
02925cae JB |
42 | --build=%{_host} \ |
43 | --host=%{_host} \ | |
3cb77947 | 44 | %endif |
de126953 | 45 | --with-fontdir=%{_fontsdir}/cyrillic |
33339b38 AM |
46 | |
47 | %{__make} | |
48 | ||
33339b38 AM |
49 | %install |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
3cb77947 JB |
55 | # fonts.dir generated in post |
56 | %{__rm} $RPM_BUILD_ROOT%{_fontsdir}/cyrillic/fonts.dir | |
355547ce | 57 | |
33339b38 AM |
58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
de126953 JB |
61 | %post |
62 | fontpostinst cyrillic | |
63 | ||
64 | %postun | |
65 | fontpostinst cyrillic | |
66 | ||
33339b38 AM |
67 | %files |
68 | %defattr(644,root,root,755) | |
3cb77947 | 69 | %doc COPYING ChangeLog README.md |
433436a3 | 70 | %{_fontsdir}/cyrillic/screen*.pcf.gz |