]>
Commit | Line | Data |
---|---|---|
1 | %define _name dejavu | |
2 | %define _rel 1 | |
3 | Summary: Bitstream Vera True Type fonts fork with latin-ext-A characters | |
4 | Summary(pl.UTF-8): Odłam fontów True Type Bitstream Vera ze znakami latin-ext-A | |
5 | Name: fonts-TTF-DejaVu | |
6 | Version: 2.12 | |
7 | Release: 1 | |
8 | License: distributable | |
9 | Group: Fonts | |
10 | Source0: http://dl.sourceforge.net/dejavu/%{_name}-ttf-%{version}.tar.bz2 | |
11 | # Source0-md5: b32c9180fc4eb688ec7e61d2dd99a991 | |
12 | URL: http://dejavu.sourceforge.net/wiki/index.php/Main_Page | |
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 | |
22 | additional characters from Latin Extended-A set. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | DejaVu to zestaw fontów oparty na Bitstream Vera z dodanymi znakami | |
26 | Latin Extened-A. | |
27 | ||
28 | %prep | |
29 | %setup -q -n %{_name}-ttf-%{version} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
34 | ||
35 | install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %post | |
41 | fontpostinst TTF | |
42 | ||
43 | %postun | |
44 | fontpostinst TTF | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc AUTHORS BUGS README NEWS | |
49 | %{_ttffontsdir}/* |