123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- %define _fontdir %{_datadir}/fonts/OpenType-mikachan
- Summary: Free Japanese Handwriting OpenType Font (mikachan_o)
- Summary(ja): フリーの手書き風日本語 OpenType フォント (みかちゃん_o)
- Name: OpenType-mikachan
- Version: 9.1
- Release: 2%{?_dist_release}
- URL: http://mikachan-font.com/
- License: distributable
- Group: User Interface/X
- BuildArch: noarch
- Buildroot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: lha
- Provides: mikachanfont
- Requires(post): xorg-x11-font-utils
- Requires(postun): xorg-x11-font-utils
- Source0: http://mikachan.sourceforge.jp/mikachan_o.lzh
- Source1: http://mikachan.sourceforge.jp/mikachanP_o.lzh
- Source2: http://mikachan.sourceforge.jp/mikachanPB_o.lzh
- Source3: http://mikachan.sourceforge.jp/mikachanPS_o.lzh
- Distribution: Vine Linux
- Vendor: Project Vine
- %description
- Free Japanese Handwriting OpenType Font (mikachan_o)
- mikachan_o : fixed-width fonts
- mikachan_o-P : proportional fonts (regular)
- mikachan_o-PB : proportional fonts (bold style)
- mikachan_o-PS : proportional fonts with somewhat smaller hiragana,
- katakana, alphabets, and numbers
- It is possible to display following characters.
- - Hiragana
- - Katakana
- - Numbers
- - Alphabets
- - Symbols
- - Kanji (for education, usual, person's name, JIS Level 1/2, IBM extended)
- # '
- %description -l ja
- フリーの手書き風日本語 OpenType フォント (みかちゃん_o) です。
- mikachan_o : 等幅フォント
- mikachan_o-P : プロポーショナルフォント
- mikachan_o-PB : 太字のプロポーショナルフォント
- mikachan_o-PS : ひらがな・カタカナ・数字・英字が少し小さめのプロポーショ
- ナルフォント
- 次の文字を表示することができます。
- - ひらがな
- - カタカナ
- - 数字
- - 英字
- - 記号
- - 漢字 (教育/常用/人名/JIS第1水準/JIS第2水準/IBM拡張)
- %prep
- %setup -n %{name}-%{version} -c -T
- if `%{_bindir}/lha l --archive-kanji-code=sjis %{SOURCE0} > /dev/null 2>&1`
- then
- srccode=euc-jp
- else
- srccode=cp932
- fi
- %{_bindir}/lha xq %{SOURCE0}
- %{_bindir}/lha xq %{SOURCE1}
- %{_bindir}/lha xq %{SOURCE2}
- %{_bindir}/lha xq %{SOURCE3}
- # FIXME: convert file name (cp932 -> utf-8)
- for i in *.otf ; do
- %__mv $i `echo $i \
- | %{_bindir}/iconv -f $srccode -t utf-8 \
- | %__sed -e 's/みかちゃん/mikachan/'`
- done
- %build
- %install
- %__rm -rf %{buildroot}
- %__mkdir -p %{buildroot}%{_fontdir}
- %__install -m644 -p *.otf %{buildroot}%{_fontdir}
- %post
- ( umask 133 ; %{_bindir}/fc-cache %{_fontdir} ) ||:
- %postun
- ( umask 133 ; %{_bindir}/fc-cache %{_fontdir} ) ||:
- %clean
- %__rm -rf %{buildroot}
- %files
- %defattr(-,root,root)
- %{_fontdir}/*
- %changelog
- * Sat Jun 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 9.1-2vl5
- - changed font path
- * Sun Oct 05 2008 Shu KONNO <owa@bg.wakwak.com> 9.1-1vl5
- - applied new versioning policy, spec in utf-8
- - updated scripts to convert file name's encode
- - changed font path
- * Fri Oct 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 9.1-0vl2
- - fix install script to support autoconfiscated lha
- * Sat May 07 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 9.1-0vl1
- - upstream release
- - fix scripts
- * Sun Feb 15 2004 KAZUKI SHIMURA <rito@pos.to> 9.0-0vl1
- - initial release
|