Browse Source

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2126 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh 13 years ago
parent
commit
ba3edda4de
1 changed files with 13 additions and 88 deletions
  1. 13 88
      T/TrueType-kiloji/TrueType-kiloji-vl.spec

+ 13 - 88
T/TrueType-kiloji/TrueType-kiloji-vl.spec

@@ -5,7 +5,7 @@ Name:             TrueType-%{fontname}
 Summary:          kiloji font - Handwriting-like general styles
 Summary(ja):      手書き風総合書体 きろ字フォント
 Version:          2.1.0
-Release:          1%{?_dist_release}
+Release:          2%{?_dist_release}
 License:          New BSD
 Group:            User Interface/X
 URL:              http://www.ez0.net/distribution/font/%{fontname}/
@@ -21,12 +21,14 @@ BuildRequires:    unzip
 BuildRoot:        %{_tmppath}/%{name}-%{version}-root
 BuildArch:        noarch
 
+Obsoletes: %{name}-bold, %{name}-fixed, %{name}-proportional, %{name}-thin
+
 %description
 kilo-ji, "kilo" is the author name of these fonts
 and "ji" means "characters" in Japanese.
-This fonts consists of four styles. 
+This fonts consists of four styles.
 
-- kiloji.ttf (kiloji Fixed)
+- kiloji.ttf (kiloji Monospace)
 - kiloji_p.ttf (kiloji Proportional)
 - kiloji_b.ttf (kiloji Bold)
 - kiloji_d.ttf (kiloji Thin)
@@ -34,64 +36,13 @@ This fonts consists of four styles.
 %description -l ja
 きろ字の "kilo" とはこれらのフォントの作者の名前であり、
 "ji" は 日本語で "文字" を意味します。
-このフォントは4種の書体から成っています。 
+このフォントは4種の書体から成っています。
 
 - kiloji.ttf(等幅)
 - kiloji_p.ttf (プロポーショナル)
 - kiloji_b.ttf (太字)
 - kiloji_d.ttf (細字)
 
-このパッケージはきろ字フォントのメタパッケージです。
-上記4書体すべてをインストールします。
-
-%package fixed
-Summary: kiloji fonts (fixed)
-Summary(ja): きろ字フォント(等幅)
-Group: User Interface/X
-Requires: TrueType-kiloji-doc
-
-%description fixed
-This package includes kiloji TrueType fonts (fixed).
-
-%description -l ja fixed
-このパッケージにはきろ字フォント(等幅)が含まれています。
-
-%package proportional
-Summary: kiloji fonts (proportional)
-Summary(ja): きろ字フォント(プロポーショナル)
-Group: User Interface/X
-Requires: TrueType-kiloji-doc
-
-%description proportional
-This package includes kiloji TrueType fonts (proportional).
-
-%description -l ja proportional
-このパッケージにはきろ字フォント(プロポーショナル)が含まれています。
-
-%package bold
-Summary: kiloji fonts (bold)
-Summary(ja): きろ字フォント(太字)
-Group: User Interface/X
-Requires: TrueType-kiloji-doc
-
-%description bold
-This package includes kiloji TrueType fonts (bold).
-
-%description -l ja bold
-このパッケージにはきろ字フォント(太字)が含まれています。
-
-%package thin
-Summary: kiloji fonts (thin)
-Summary(ja): きろ字フォント(細字)
-Group: User Interface/X
-Requires: TrueType-kiloji-doc
-
-%description thin
-This package includes kiloji TrueType fonts (thin).
-
-%description -l ja thin
-このパッケージにはきろ字フォント(細字)が含まれています。
-
 %package doc
 Summary: kiloji fonts Documents
 Summary(ja): きろ字フォントドキュメント
@@ -126,48 +77,22 @@ rm -rf %{buildroot}
 mkdir -p $RPM_BUILD_ROOT%{_fontdir}
 cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
 
-%post fixed
+%post
 %__font_install_post %{_fontdir}
 
-%post proportional
-%__font_install_post %{_fontdir}
-
-%post bold
-%__font_install_post %{_fontdir}
-
-%post thin
-%__font_install_post %{_fontdir}
-
-
-%postun fixed
-%__font_install_postun %{_fontdir}
-
-%postun proportional
-%__font_install_postun %{_fontdir}
-
-%postun bold
-%__font_install_postun %{_fontdir}
-
-%postun thin
+%postun
 %__font_install_postun %{_fontdir}
 
 %files
-
-%files fixed
-%{_fontdir}/%{fontname}.ttf
-
-%files proportional
-%{_fontdir}/%{fontname}_p.ttf
-
-%files bold
-%{_fontdir}/%{fontname}_b.ttf
-
-%files thin
-%{_fontdir}/%{fontname}_d.ttf
+%{_fontdir}/%{fontname}*.ttf
 
 %files doc
 %doc Collecting.txt License.txt
 
 %changelog
+* Sun Oct 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1.0-2
+- unified bold/fixed/proportional/thin pacakage
+- fixed %%description a little
+
 * Wed Sep 30 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1.0-1
 - initial build for VineSeed