[1822] | 1 | %define fontname sawarabi-gothic |
---|
| 2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
| 3 | |
---|
| 4 | Name: TrueType-%{fontname} |
---|
| 5 | Summary: sawarabi gothic font |
---|
| 6 | Summary(ja): さわらびゴシックフォント |
---|
[6183] | 7 | Version: 20120515 |
---|
[2072] | 8 | Release: 1%{?_dist_release} |
---|
[1822] | 9 | License: CC-BY |
---|
| 10 | Group: User Interface/X |
---|
| 11 | URL: http://sourceforge.jp/projects/sawarabi-fonts/ |
---|
| 12 | |
---|
| 13 | Source0: %{fontname}-%{version}.tar.gz |
---|
| 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | BuildArch: noarch |
---|
| 17 | Requires: TrueType-%{fontname}-doc |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | Sawarabi gothic font is Japanese TrueType font what have been developed |
---|
| 21 | in opensource. |
---|
| 22 | |
---|
| 23 | %description -l ja |
---|
| 24 | さわらびゴシックフォントは、オープンソースで開発されている |
---|
| 25 | 日本語 TrueType フォントです。 |
---|
| 26 | |
---|
| 27 | %package doc |
---|
[2004] | 28 | Summary: swarabi gothic font documents |
---|
[1822] | 29 | Summary(ja): さわらびゴシックフォントドキュメント |
---|
| 30 | Group: User Interface/X |
---|
| 31 | |
---|
| 32 | %description doc |
---|
[2004] | 33 | This package includes important documents for sawarabi gothic font |
---|
[1822] | 34 | includes enduser license. |
---|
| 35 | |
---|
| 36 | %description -l ja doc |
---|
| 37 | このパッケージにはさわらびゴシックフォントのライセンスを含む |
---|
| 38 | ドキュメント類が含まれています。 |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q -n %{fontname} |
---|
| 43 | |
---|
| 44 | %clean |
---|
| 45 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
| 46 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 47 | fi |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
| 55 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
| 56 | |
---|
| 57 | %post |
---|
| 58 | %__font_install_post %{_fontdir} |
---|
| 59 | |
---|
| 60 | %postun |
---|
| 61 | %__font_install_postun %{_fontdir} |
---|
| 62 | |
---|
| 63 | %files |
---|
| 64 | %{_fontdir}/*.ttf |
---|
| 65 | |
---|
| 66 | %files doc |
---|
| 67 | %doc *.txt |
---|
| 68 | |
---|
| 69 | %changelog |
---|
[6183] | 70 | * Tue May 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120515-1 |
---|
| 71 | - new upstream release |
---|
| 72 | |
---|
[6025] | 73 | * Sun Apr 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120415-1 |
---|
| 74 | - new upstream release |
---|
| 75 | |
---|
[5955] | 76 | * Wed Mar 21 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120315-1 |
---|
| 77 | - new upstream release |
---|
| 78 | |
---|
[5671] | 79 | * Fri Feb 17 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120215-1 |
---|
| 80 | - new upstream release |
---|
| 81 | |
---|
[5422] | 82 | * Mon Jan 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120115-1 |
---|
| 83 | - new upstream release |
---|
| 84 | |
---|
[5291] | 85 | * Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20111215-1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
[5155] | 88 | * Fri Nov 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20111115-1 |
---|
| 89 | - new upstream release |
---|
| 90 | |
---|
[5010] | 91 | * Tue Oct 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20111015-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
[4765] | 94 | * Sat Sep 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110915-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[4617] | 97 | * Fri Aug 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110815-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[4335] | 100 | * Fri Jul 15 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110715-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[4217] | 103 | * Tue Jun 21 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110615-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[3884] | 106 | * Sun May 15 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110515-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[3724] | 109 | * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110415-1 |
---|
[2699] | 110 | - new upstream release |
---|
[3724] | 111 | - fixed %%changelog typo in Wed Feb 16 2011 |
---|
[2699] | 112 | |
---|
[3724] | 113 | * Wed Feb 16 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110215-1 |
---|
| 114 | - new upstream release |
---|
| 115 | |
---|
[2521] | 116 | * Mon Jan 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110115-1 |
---|
| 117 | - new upstream release |
---|
| 118 | |
---|
[2358] | 119 | * Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20101215-1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
[2212] | 122 | * Thu Nov 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20101115-1 |
---|
| 123 | - new upstream release |
---|
| 124 | |
---|
[2072] | 125 | * Fri Oct 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20101015-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[2004] | 128 | * Fri Oct 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20100915-2 |
---|
| 129 | - fixed doc package description |
---|
| 130 | |
---|
[1822] | 131 | * Sat Sep 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20100915-1 |
---|
| 132 | - initial build for VineSeed |
---|