]>
Commit | Line | Data |
---|---|---|
8071583c AM |
1 | %define _name munjoyfonts |
2 | Summary: munjoy fonts | |
4aaca580 | 3 | Summary(pl.UTF-8): Fonty munjoy |
8071583c AM |
4 | Name: fonts-TTF-munjoy |
5 | Version: 0.1 | |
6 | Release: 1 | |
7 | License: distributable | |
8 | Group: Fonts | |
9 | Source0: http://www.munjoylinux.org/source/munjoyfonts.tar.gz | |
10 | # Source0-md5: 0319cc9dc14a92814498dce3e9c74056 | |
11 | URL: http://www.munjoylinux.org/ | |
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 | munjoy fonts. | |
21 | ||
0a8fd613 | 22 | %description -l pl.UTF-8 |
3cd86e7a JB |
23 | Fonty munjoy. |
24 | ||
8071583c AM |
25 | %prep |
26 | %setup -q -n %{_name} | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
31 | ||
32 | install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %post | |
38 | fontpostinst TTF | |
39 | ||
40 | %postun | |
41 | fontpostinst TTF | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %{_ttffontsdir}/* |