]>
Commit | Line | Data |
---|---|---|
15a6d68e JB |
1 | Summary: M+ fonts (Latin and Japanese) |
2 | Summary(pl.UTF-8): Fonty M+ (łacińskie i japońskie) | |
7f3192a8 | 3 | Name: fonts-TTF-mplus |
3d9f4370 | 4 | Version: 058 |
c6c62644 | 5 | Release: 0.TESTFLIGHT.1 |
7f3192a8 PZ |
6 | License: mplus (distributable) |
7 | Group: Fonts | |
c6c62644 | 8 | #Source0Download: http://sourceforge.jp/projects/mplus-fonts/releases/ |
0b93c188 | 9 | Source0: http://dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-%{version}.tar.xz |
3d9f4370 | 10 | # Source0-md5: 6b61cbf898e3690b192b490c9fa6204d |
7f3192a8 | 11 | URL: http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index-en.html |
0b93c188 ŁK |
12 | BuildRequires: tar >= 1:1.22 |
13 | BuildRequires: xz | |
7f3192a8 PZ |
14 | Requires(post,postun): fontpostinst |
15 | Requires: %{_fontsdir}/TTF | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define _ttffontsdir %{_fontsdir}/TTF | |
20 | ||
21 | %description | |
15a6d68e JB |
22 | M+ fonts: proportional Latin (4 variations), fixed-halfwidth Latin (3 |
23 | variations), fixed-fullwidth Japanese (2 Kana variations). 7 weights | |
24 | from Thin to Black are included, but fixed-halfwidth Latin with 5 | |
25 | weights from Thin to Bold. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Fonty M+: łacińskie proporcjonalne (4 warianty), łacińskie o stałej | |
29 | szerokości połówkowej (3 warianty), japońskie o stałej pełnej | |
30 | szerokości (2 warianty Kana). Dostępne jest 7 grubości fontów, z | |
31 | wyjątkiem łacińskich o stałej szerokości połówkowej, których jest 5 | |
32 | grubości. | |
7f3192a8 PZ |
33 | |
34 | %prep | |
35 | %setup -q -n mplus-TESTFLIGHT-%{version} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
eeaffeae | 40 | cp -p *.ttf $RPM_BUILD_ROOT%{_ttffontsdir} |
7f3192a8 PZ |
41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %post | |
46 | fontpostinst TTF | |
47 | ||
48 | %postun | |
49 | fontpostinst TTF | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
15a6d68e JB |
53 | %doc README_E LICENSE_E |
54 | %lang(ja) %doc README_J LICENSE_J | |
7f3192a8 | 55 | %{_ttffontsdir}/mplus-*.ttf |