]>
Commit | Line | Data |
---|---|---|
2f5c820f | 1 | %define _name dejavu |
2 | Summary: Bitstream Vera True Type fonts fork with latin-ext-A characters | |
3 | Summary(pl): Odłam czionek True Type Bitstream Vera ze znakami latin-ext-A | |
4 | Name: fonts-TTF-DejaVu | |
5 | Version: 1.0 | |
6 | Release: 1 | |
7 | License: distributable | |
8 | Group: Fonts | |
9 | Source0: http://www.srnet.cz/~stepan/sw/data/%{_name}-ttf-%{version}.tar.gz | |
10 | # Source0-md5: 1289834767d32c4ae3b4d27c2558eb54 | |
11 | #Source1: %{name}.Fontmap | |
12 | URL: http://www.gnome.org/fonts/ | |
13 | Requires(post,postun): fontpostinst | |
14 | Requires: %{_fontsdir}/TTF | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _ttffontsdir %{_fontsdir}/TTF | |
19 | ||
20 | %description | |
21 | DejaVu is a set of fonts based on Bitstream Vera fonts which have additional characters from Latin Extended-A set. | |
22 | ||
23 | %description -l pl | |
24 | DejaVu to zestaw czcionek oparty na Bitstream Vera z rozszerzonym wsparciem dla znaków Latin Extened-A. | |
25 | ||
26 | %prep | |
27 | %setup -q -n %{_name}-ttf-%{version} | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
32 | install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %post | |
38 | fontpostinst TTF | |
39 | ||
40 | %postun | |
41 | fontpostinst TTF | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc README | |
46 | %{_ttffontsdir}/* |