]>
Commit | Line | Data |
---|---|---|
66199d89 JB |
1 | Summary: Collection of Thai bitmap fonts |
2 | Summary(pl.UTF-8): Kolekcja bitmapowych fontów tajskich | |
3 | Name: fonts-bitmap-thai | |
798d002a | 4 | Version: 1.2.7 |
f37ea468 | 5 | Release: 1 |
798d002a | 6 | License: Public Domain, GPL v2+, MIT-like |
66199d89 | 7 | Group: Fonts |
f37ea468 | 8 | Source0: http://linux.thai.net/pub/thailinux/software/thaixfonts/thaixfonts-%{version}.tar.xz |
798d002a | 9 | # Source0-md5: 57f9d5a7461decd8d9a739dae8159523 |
66199d89 JB |
10 | URL: http://linux.thai.net/projects/thaixfonts |
11 | BuildRequires: xorg-app-bdftopcf | |
12 | BuildRequires: xorg-app-mkfontdir | |
f37ea468 JB |
13 | BuildRequires: tar >= 1:1.22 |
14 | BuildRequires: xz | |
66199d89 JB |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | thaixfonts is a collection of Thai bitmap fonts available in free | |
19 | licenses. It aims to collect fonts for installation convenience, and | |
20 | maintain them as needed. This is because most fonts are aged, | |
21 | unmaintained, and now even unavailable in the original sources. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | thaixfonts to kolekcja bitmapowych fontów tajskich dostępnych na | |
25 | wolnych licencjach. Jej celem jest zebranie fontów dla wygody | |
26 | instalacji i w razie potrzeby utrzymywanie ich. Jest to przydatne, | |
27 | ponieważ większość fontów jest już stara, nie utrzymywana, a nawet | |
28 | niedostępna w oryginalnych źródłach. | |
29 | ||
30 | %prep | |
31 | %setup -q -n thaixfonts-%{version} | |
32 | ||
33 | %build | |
34 | %configure \ | |
35 | --with-fontdir=%{_fontsdir}/misc | |
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | mv -f $RPM_BUILD_ROOT%{_fontsdir}/misc/{thai.alias,fonts.alias.thai} | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %post | |
50 | fontpostinst misc | |
51 | ||
52 | %postun | |
53 | fontpostinst misc | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc AUTHORS COPYING ChangeLog NEWS README | |
58 | %{_fontsdir}/misc/etl*-thai.pcf.gz | |
59 | %{_fontsdir}/misc/pvemacs_*.pcf.gz | |
60 | %{_fontsdir}/misc/pvfixed_*.pcf.gz | |
61 | %{_fontsdir}/misc/thai*.pcf.gz | |
62 | %{_fontsdir}/misc/fonts.alias.thai |