]>
Commit | Line | Data |
---|---|---|
7ecb6bff | 1 | %define tarname ttf-bitstream-vera |
653f4752 TP |
2 | Summary: Bitstream Vera True Type fonts |
3 | Summary(pl): Fonty True Type Bitstream Vera | |
8839d8b3 | 4 | Name: fonts-TTF-bitstream-vera |
ed6816dc | 5 | Version: 1.10 |
ee978f7f | 6 | Release: 3 |
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 | |
7ecb6bff | 14 | Requires: %{_fontsdir}/TTF |
ee978f7f | 15 | Obsoletes: fonts-ttf-bitstream-vera |
ed6816dc AF |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define _ttffontsdir %{_fontsdir}/TTF | |
20 | ||
21 | %description | |
653f4752 | 22 | This package contains Bitstream Vera True Type fonts (TTF). |
f7f7debe TP |
23 | |
24 | %description -l pl | |
653f4752 | 25 | Pakiet ten zawiera fonty True Type (TTF) Bitstream Vera. |
ed6816dc AF |
26 | |
27 | %prep | |
28 | %setup -q -n %{tarname}-%{version} | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
33 | install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %post | |
f7f7debe | 39 | fontpostinst TTF |
ed6816dc | 40 | |
35416088 | 41 | %postun |
f7f7debe | 42 | fontpostinst TTF |
ed6816dc AF |
43 | |
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | # README.TXT is almost empty | |
47 | %doc COPYRIGHT.TXT RELEASENOTES.TXT | |
48 | %{_ttffontsdir}/* |