]>
Commit | Line | Data |
---|---|---|
ed6816dc | 1 | %define tarname ttf-bitstream-vera |
653f4752 TP |
2 | Summary: Bitstream Vera True Type fonts |
3 | Summary(pl): Fonty True Type Bitstream Vera | |
ed6816dc AF |
4 | Name: fonts-ttf-bitstream-vera |
5 | Version: 1.10 | |
f7f7debe | 6 | Release: 1 |
ed6816dc | 7 | License: distributable |
b15e23d1 | 8 | Group: Fonts |
ed6816dc AF |
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{tarname}/1.10/%{tarname}-%{version}.tar.bz2 |
10 | # Source0-md5: bb22bd5b4675f5dbe17c6963d8c00ed6 | |
11 | #Source1: %{name}.Fontmap | |
f7f7debe TP |
12 | URL: http://www.gnome.org/fonts/ |
13 | Requires(post,postun): fontpostinst | |
14 | Requires: %{_fontsdir}/TTF | |
ed6816dc AF |
15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _ttffontsdir %{_fontsdir}/TTF | |
19 | ||
20 | %description | |
653f4752 | 21 | This package contains Bitstream Vera True Type fonts (TTF). |
f7f7debe TP |
22 | |
23 | %description -l pl | |
653f4752 | 24 | Pakiet ten zawiera fonty True Type (TTF) Bitstream Vera. |
ed6816dc AF |
25 | |
26 | %prep | |
27 | %setup -q -n %{tarname}-%{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 | |
f7f7debe | 38 | fontpostinst TTF |
ed6816dc | 39 | |
35416088 | 40 | %postun |
f7f7debe | 41 | fontpostinst TTF |
ed6816dc AF |
42 | |
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | # README.TXT is almost empty | |
46 | %doc COPYRIGHT.TXT RELEASENOTES.TXT | |
47 | %{_ttffontsdir}/* |