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