]>
Commit | Line | Data |
---|---|---|
19c74cca JB |
1 | Summary: Sony fixed bitmap fonts |
2 | Summary(pl.UTF-8): Fonty bitmapowe Sony o stałej szerokości | |
382c32d7 | 3 | Name: xorg-font-font-sony-misc |
c8fcb08e JB |
4 | Version: 1.0.4 |
5 | Release: 1 | |
382c32d7 | 6 | License: MIT |
433b3eb5 | 7 | Group: Fonts |
c8fcb08e JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/font/font-sony-misc-%{version}.tar.xz |
9 | # Source0-md5: ed9d0215f66b622457cd6ecef29a71ec | |
10 | URL: https://xorg.freedesktop.org/ | |
11 | BuildRequires: autoconf >= 2.60 | |
382c32d7 | 12 | BuildRequires: automake |
c8fcb08e | 13 | BuildRequires: tar >= 1:1.22 |
382c32d7 | 14 | BuildRequires: xorg-app-bdftopcf |
382c32d7 AM |
15 | BuildRequires: xorg-app-mkfontdir |
16 | BuildRequires: xorg-app-mkfontscale | |
c8fcb08e JB |
17 | BuildRequires: xorg-font-font-util >= 1.4 |
18 | BuildRequires: xorg-util-util-macros >= 1.20 | |
19 | BuildRequires: xz | |
4d01eea8 JB |
20 | Requires(post,postun): fontpostinst |
21 | Requires: %{_fontsdir}/misc | |
19c74cca JB |
22 | # contains useful aliases for these fonts |
23 | Requires: xorg-font-font-alias >= 1.0.0 | |
a240aaaa | 24 | BuildArch: noarch |
433b3eb5 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
382c32d7 AM |
26 | |
27 | %description | |
19c74cca JB |
28 | Sony fixed bitmap fonts in ISO-8859-1 (Latin) and JISX 0201.1976 |
29 | (Japanese) encodings. | |
382c32d7 | 30 | |
b634a97d | 31 | %description -l pl.UTF-8 |
19c74cca JB |
32 | Fonty bitmapowe Sony o stałej szerokości znaków w kodowaniach |
33 | ISO-8859-1 (łacińskim) i JISX 0201.1976 (japońskim). | |
382c32d7 AM |
34 | |
35 | %prep | |
36 | %setup -q -n font-sony-misc-%{version} | |
37 | ||
382c32d7 AM |
38 | %build |
39 | %{__aclocal} | |
40 | %{__autoconf} | |
41 | %{__automake} | |
4d01eea8 | 42 | %configure \ |
c8fcb08e | 43 | %if "%{_gnu}" != "-gnux32" |
c3bd5083 JB |
44 | --build=%{_host} \ |
45 | --host=%{_host} \ | |
c8fcb08e | 46 | %endif |
4d01eea8 | 47 | --with-fontdir=%{_fontsdir}/misc |
382c32d7 AM |
48 | |
49 | %{__make} | |
50 | ||
382c32d7 AM |
51 | %install |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
382c32d7 AM |
57 | %clean |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
4d01eea8 JB |
60 | %post |
61 | fontpostinst misc | |
62 | ||
63 | %postun | |
64 | fontpostinst misc | |
65 | ||
382c32d7 AM |
66 | %files |
67 | %defattr(644,root,root,755) | |
c8fcb08e | 68 | %doc COPYING ChangeLog README.md |
c3bd5083 JB |
69 | %{_fontsdir}/misc/8x16*.pcf.gz |
70 | %{_fontsdir}/misc/12x24*.pcf.gz |