]>
Commit | Line | Data |
---|---|---|
c1b1908d | 1 | Summary: X font alias databases |
e8ed3233 | 2 | Summary(pl.UTF-8): Baza aliasów fontów X |
4a3bbf46 | 3 | Name: xorg-font-font-alias |
de806e01 JB |
4 | Version: 1.0.5 |
5 | Release: 1 | |
4a3bbf46 | 6 | License: MIT |
c1b1908d | 7 | Group: Fonts |
de806e01 JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/font/font-alias-%{version}.tar.xz |
9 | # Source0-md5: 79f4c023e27d1db1dfd90d041ce89835 | |
0efcf226 | 10 | URL: https://xorg.freedesktop.org/ |
de806e01 | 11 | BuildRequires: autoconf >= 2.60 |
4a3bbf46 | 12 | BuildRequires: automake |
de806e01 | 13 | BuildRequires: tar >= 1:1.22 |
7eba69c2 | 14 | BuildRequires: xorg-font-font-util >= 1.2 |
de806e01 JB |
15 | BuildRequires: xorg-util-util-macros >= 1.20 |
16 | BuildRequires: xz | |
b3a989ea | 17 | Requires(post,postun): fontpostinst |
b7ea9ccc | 18 | BuildArch: noarch |
c1b1908d | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4a3bbf46 AM |
20 | |
21 | %description | |
c1b1908d | 22 | X font alias databases. |
4a3bbf46 | 23 | |
1c9a3b5f JR |
24 | %description -l pl.UTF-8 |
25 | Baza aliasów fontów X. | |
4a3bbf46 AM |
26 | |
27 | %prep | |
28 | %setup -q -n font-alias-%{version} | |
29 | ||
4a3bbf46 AM |
30 | %build |
31 | %{__aclocal} | |
32 | %{__autoconf} | |
33 | %{__automake} | |
ba6a763d | 34 | %configure \ |
46be872d | 35 | %if "%{_host_cpu}" != "x32" |
7ec2c677 JB |
36 | --build=%{_host} \ |
37 | --host=%{_host} \ | |
46be872d | 38 | %endif |
214ba5eb | 39 | --with-fontrootdir=%{_fontsdir} |
4a3bbf46 AM |
40 | |
41 | %{__make} | |
42 | ||
4a3bbf46 AM |
43 | %install |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
b3a989ea | 49 | for d in 100dpi 75dpi cyrillic misc ; do |
0efcf226 | 50 | %{__mv} $RPM_BUILD_ROOT%{_fontsdir}/$d/fonts.alias $RPM_BUILD_ROOT%{_fontsdir}/$d/fonts.alias.xorg |
b3a989ea JB |
51 | done |
52 | ||
4a3bbf46 AM |
53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
b3a989ea JB |
56 | %post |
57 | fontpostinst 100dpi | |
58 | fontpostinst 75dpi | |
59 | fontpostinst cyrillic | |
60 | fontpostinst misc | |
61 | ||
62 | %postun | |
63 | fontpostinst 100dpi | |
64 | fontpostinst 75dpi | |
65 | fontpostinst cyrillic | |
66 | fontpostinst misc | |
67 | ||
4a3bbf46 AM |
68 | %files |
69 | %defattr(644,root,root,755) | |
0efcf226 | 70 | %doc COPYING ChangeLog README.md |
b3a989ea JB |
71 | %{_fontsdir}/100dpi/fonts.alias.xorg |
72 | %{_fontsdir}/75dpi/fonts.alias.xorg | |
73 | %{_fontsdir}/cyrillic/fonts.alias.xorg | |
74 | %{_fontsdir}/misc/fonts.alias.xorg |