1 | %define _fontdir %{_datadir}/fonts/OpenType-source-sans-pro |
---|
2 | %define _fontname SourceSansPro_FontsOnly |
---|
3 | |
---|
4 | Summary: A set of OpenType fonts designed for user interfaces |
---|
5 | Summary(ja): ユーザーインターフェース向けにデザインされた OpenType フォントセット |
---|
6 | Name: OpenType-source-sans-pro |
---|
7 | Version: 3.006 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | Group: User Interface/X |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | |
---|
13 | License: OFL |
---|
14 | URL: https://adobe-fonts.github.io/source-sans-pro/ |
---|
15 | Source: https://github.com/adobe-fonts/source-sans-pro/releases/download/%{version}R/source-sans-pro-%{version}R.zip |
---|
16 | |
---|
17 | BuildArch: noarch |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | BuildRequires: unzip |
---|
20 | Obsoletes: %{name}-doc < 3.006 |
---|
21 | |
---|
22 | %description |
---|
23 | Source Sans is a set of OpenType fonts that have been designed |
---|
24 | to work well in user interface (UI) environments, |
---|
25 | as well as in text setting for screen and print. |
---|
26 | |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q -n source-sans-pro-%{version}R |
---|
30 | |
---|
31 | |
---|
32 | %clean |
---|
33 | if test -n "%{buildroot}" && test "/" != "%{buildroot}"; then |
---|
34 | rm -rf %{buildroot} |
---|
35 | fi |
---|
36 | |
---|
37 | |
---|
38 | %build |
---|
39 | |
---|
40 | |
---|
41 | %install |
---|
42 | rm -rf %{buildroot} |
---|
43 | |
---|
44 | mkdir -p %{buildroot}%{_fontdir} |
---|
45 | cp -a OTF/*.otf %{buildroot}%{_fontdir} |
---|
46 | |
---|
47 | |
---|
48 | %post |
---|
49 | %__font_install_post %{fontdir} |
---|
50 | |
---|
51 | %postun |
---|
52 | %__font_install_postun %{fontdir} |
---|
53 | |
---|
54 | |
---|
55 | %files |
---|
56 | %defattr(-,root,root,-) |
---|
57 | %license LICENSE.md |
---|
58 | %doc README.md |
---|
59 | %{_fontdir}/*.otf |
---|
60 | |
---|
61 | |
---|
62 | %changelog |
---|
63 | * Mon May 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.006-1 |
---|
64 | - new upstream release. |
---|
65 | |
---|
66 | * Sun Jan 12 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.050-2 |
---|
67 | - rebuilt with gcc-4.8 |
---|
68 | |
---|
69 | * Sun May 05 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.050-1 |
---|
70 | - initial build for Vine Linux |
---|