]>
Commit | Line | Data |
---|---|---|
1 | %define _name dejavu | |
2 | Summary: Bitstream Vera True Type fonts fork with additional characters | |
3 | Summary(pl.UTF-8): Odłam fontów True Type Bitstream Vera z dodanymi znakami | |
4 | Name: fonts-TTF-DejaVu | |
5 | Version: 2.18 | |
6 | Release: 1 | |
7 | License: distributable | |
8 | Group: Fonts | |
9 | Source0: http://dl.sourceforge.net/dejavu/%{_name}-ttf-%{version}.tar.bz2 | |
10 | # Source0-md5: 78012718a15d43e2c4952db7409c9e7e | |
11 | URL: http://dejavu.sourceforge.net/wiki/index.php/Main_Page | |
12 | Requires(post,postun): fontpostinst | |
13 | Requires: %{_fontsdir}/TTF | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _ttffontsdir %{_fontsdir}/TTF | |
18 | ||
19 | %description | |
20 | DejaVu is a set of fonts based on Bitstream Vera fonts which have | |
21 | additional characters from a variety of scripts. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | DejaVu to zestaw fontów oparty na Bitstream Vera z dodanymi znakami | |
25 | wielu alfabetów. | |
26 | ||
27 | %prep | |
28 | %setup -q -n %{_name}-ttf-%{version} | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
33 | ||
34 | install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %post | |
40 | fontpostinst TTF | |
41 | ||
42 | %postun | |
43 | fontpostinst TTF | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc AUTHORS BUGS LICENSE NEWS README | |
48 | %{_ttffontsdir}/* |