]>
Commit | Line | Data |
---|---|---|
c45fe98d | 1 | Summary: SUSE True Type fonts |
9e5d0b42 | 2 | Summary(pl.UTF-8): Fonty True Type z dystrybucji SUSE |
c45fe98d | 3 | Name: fonts-TTF-suse |
4 | Version: 9.2 | |
5 | Release: 1 | |
6 | License: Other License(s) | |
7 | Group: Fonts | |
8 | Source0: ftp://ftp.suse.com/pub/suse/i386/9.2/suse/noarch/desktop-data-SuSE-9.2-3.1.noarch.rpm | |
9 | # Source0-md5: 313826c9c0454a1c2e45faf79d931265 | |
10 | URL: http://www.suse.com | |
11 | BuildRequires: cpio | |
12 | BuildRequires: rpm-utils | |
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 | This package contains SUSE True Type fonts (TTF). | |
22 | ||
9e5d0b42 | 23 | %description -l pl.UTF-8 |
c45fe98d | 24 | Pakiet ten zawiera fonty True Type (TTF) z dystrybucji SUSE. |
25 | ||
26 | %prep | |
27 | %setup -q -c -T | |
28 | rpm2cpio %{SOURCE0} | cpio -dimu | |
29 | mv -f usr/X11R6/lib/X11/fonts/truetype/* . | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
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 | %{_ttffontsdir}/* |