Rev | Line | |
---|
[7646] | 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 |
---|
[12393] | 7 | Version: 3.006 |
---|
| 8 | Release: 1%{?_dist_release} |
---|
| 9 | Group: User Interface/X |
---|
| 10 | Vendor: Project Vine |
---|
| 11 | Distribution: Vine Linux |
---|
| 12 | |
---|
[7646] | 13 | License: OFL |
---|
[12393] | 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 | |
---|
[7646] | 17 | BuildArch: noarch |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | BuildRequires: unzip |
---|
[12393] | 20 | Obsoletes: %{name}-doc < 3.006 |
---|
[7646] | 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 | |
---|
[12393] | 28 | %prep |
---|
| 29 | %setup -q -n source-sans-pro-%{version}R |
---|
[7646] | 30 | |
---|
| 31 | |
---|
| 32 | %clean |
---|
| 33 | if test -n "%{buildroot}" && test "/" != "%{buildroot}"; then |
---|
| 34 | rm -rf %{buildroot} |
---|
| 35 | fi |
---|
| 36 | |
---|
[12393] | 37 | |
---|
[7646] | 38 | %build |
---|
| 39 | |
---|
[12393] | 40 | |
---|
[7646] | 41 | %install |
---|
| 42 | rm -rf %{buildroot} |
---|
| 43 | |
---|
| 44 | mkdir -p %{buildroot}%{_fontdir} |
---|
| 45 | cp -a OTF/*.otf %{buildroot}%{_fontdir} |
---|
| 46 | |
---|
[12393] | 47 | |
---|
[7646] | 48 | %post |
---|
| 49 | %__font_install_post %{fontdir} |
---|
| 50 | |
---|
| 51 | %postun |
---|
| 52 | %__font_install_postun %{fontdir} |
---|
| 53 | |
---|
[12393] | 54 | |
---|
[7646] | 55 | %files |
---|
| 56 | %defattr(-,root,root,-) |
---|
[12393] | 57 | %license LICENSE.md |
---|
| 58 | %doc README.md |
---|
[7646] | 59 | %{_fontdir}/*.otf |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %changelog |
---|
[12393] | 63 | * Mon May 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.006-1 |
---|
| 64 | - new upstream release. |
---|
| 65 | |
---|
[8160] | 66 | * Sun Jan 12 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.050-2 |
---|
| 67 | - rebuilt with gcc-4.8 |
---|
| 68 | |
---|
[7646] | 69 | * Sun May 05 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.050-1 |
---|
| 70 | - initial build for Vine Linux |
---|
Note: See
TracBrowser
for help on using the repository browser.