[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 |
---|
| 7 | Version: 1.050 |
---|
[8160] | 8 | Release: 2%{?_dist_release} |
---|
[7646] | 9 | License: OFL |
---|
| 10 | Group: User Interface/X |
---|
| 11 | URL: http://sourceforge.net/projects/sourcesans.adobe/ |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | Source: http://sourceforge.net/projects/sourcesans.adobe/files/%{_fontname}-%{version}.zip |
---|
| 15 | BuildRequires: unzip |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | Source Sans is a set of OpenType fonts that have been designed |
---|
| 19 | to work well in user interface (UI) environments, |
---|
| 20 | as well as in text setting for screen and print. |
---|
| 21 | |
---|
| 22 | %package doc |
---|
| 23 | Summary: Source Sans pro font documents |
---|
| 24 | Summary(ja): Source sans pro フォントドキュメント |
---|
| 25 | Group: User Interface/X |
---|
| 26 | |
---|
| 27 | %description doc |
---|
| 28 | This package includes important documents for Source Sans pro fonts |
---|
| 29 | includes enduser license. |
---|
| 30 | |
---|
| 31 | %description -l ja doc |
---|
| 32 | このパッケージには Source Sans pro フォントのライセンスを含む |
---|
| 33 | ドキュメント類が含まれています。 |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q -n %{_fontname}-%{version} |
---|
| 37 | |
---|
| 38 | %clean |
---|
| 39 | if test -n "%{buildroot}" && test "/" != "%{buildroot}"; then |
---|
| 40 | rm -rf %{buildroot} |
---|
| 41 | fi |
---|
| 42 | |
---|
| 43 | %build |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | rm -rf %{buildroot} |
---|
| 47 | |
---|
| 48 | mkdir -p %{buildroot}%{_fontdir} |
---|
| 49 | cp -a OTF/*.otf %{buildroot}%{_fontdir} |
---|
| 50 | |
---|
| 51 | %post |
---|
| 52 | %__font_install_post %{fontdir} |
---|
| 53 | |
---|
| 54 | %postun |
---|
| 55 | %__font_install_postun %{fontdir} |
---|
| 56 | |
---|
| 57 | %files |
---|
| 58 | %defattr(-,root,root,-) |
---|
| 59 | %{_fontdir}/*.otf |
---|
| 60 | |
---|
| 61 | %files doc |
---|
| 62 | %defattr(-,root,root,-) |
---|
| 63 | %doc LICENSE.txt ReadMe.html SourceSansProReadMe.html |
---|
| 64 | |
---|
| 65 | %changelog |
---|
[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 |
---|