|
@@ -1,16 +1,16 @@
|
|
%define _fontdir %{_datadir}/fonts/%{name}
|
|
%define _fontdir %{_datadir}/fonts/%{name}
|
|
-%define migu_version 20110514
|
|
|
|
|
|
+%define migu_version 20121030
|
|
%define inconsolata_version 001.010
|
|
%define inconsolata_version 001.010
|
|
|
|
|
|
Summary: TrueType font designed for programing
|
|
Summary: TrueType font designed for programing
|
|
Summary(ja): プログラミング用 TrueType フォント
|
|
Summary(ja): プログラミング用 TrueType フォント
|
|
Name: TrueType-ricty
|
|
Name: TrueType-ricty
|
|
-Version: 3.1.0
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 3.2.1
|
|
|
|
+Release: 1%{?_dist_release}
|
|
License: public domain, SIL OFL v1.1, M+ FONT LICENSE, IPA Font License v1.0
|
|
License: public domain, SIL OFL v1.1, M+ FONT LICENSE, IPA Font License v1.0
|
|
Group: User Interface/X
|
|
Group: User Interface/X
|
|
URL: http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html
|
|
URL: http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html
|
|
-Source0: http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty/Ricty-%{version}.tar.gz
|
|
|
|
|
|
+Source0: Ricty-%{version}.zip
|
|
Requires: OpenType-inconsolata >= %{inconsolata_version}
|
|
Requires: OpenType-inconsolata >= %{inconsolata_version}
|
|
Requires: TrueType-migu >= %{migu_version}
|
|
Requires: TrueType-migu >= %{migu_version}
|
|
|
|
|
|
@@ -35,6 +35,8 @@ Ricty フォントは、パッケージのインストール時に生成され
|
|
%prep
|
|
%prep
|
|
%setup -q -n Ricty-%{version}
|
|
%setup -q -n Ricty-%{version}
|
|
|
|
|
|
|
|
+%__sed -i -e "s,#!/usr/local/bin/fontforge,#!/usr/bin/fontforge," ricty_discord_patch.pe || exit 1
|
|
|
|
+
|
|
%build
|
|
%build
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -58,8 +60,8 @@ echo "Generating Ricty fonts ... "
|
|
%__cp %{_datadir}/%{name}/ricty_generator.sh . || exit 1
|
|
%__cp %{_datadir}/%{name}/ricty_generator.sh . || exit 1
|
|
sh ricty_generator.sh \
|
|
sh ricty_generator.sh \
|
|
%{_datadir}/fonts/OpenType-inconsolata/Inconsolata.otf \
|
|
%{_datadir}/fonts/OpenType-inconsolata/Inconsolata.otf \
|
|
- %{_datadir}/fonts/TrueType-migu/Migu-1M-regular.ttf \
|
|
|
|
- %{_datadir}/fonts/TrueType-migu/Migu-1M-bold.ttf
|
|
|
|
|
|
+ %{_datadir}/fonts/TrueType-migu/migu-1m-regular.ttf \
|
|
|
|
+ %{_datadir}/fonts/TrueType-migu/migu-1m-bold.ttf
|
|
%__rm -f ricty_discord_patch.pe ricty_generator.sh ||:
|
|
%__rm -f ricty_discord_patch.pe ricty_generator.sh ||:
|
|
[ ! -f Ricty-Regular.ttf ] && echo "failed." && exit 1
|
|
[ ! -f Ricty-Regular.ttf ] && echo "failed." && exit 1
|
|
[ ! -f Ricty-Bold.ttf ] && echo "failed." && exit 1
|
|
[ ! -f Ricty-Bold.ttf ] && echo "failed." && exit 1
|
|
@@ -77,6 +79,7 @@ fi
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
|
|
+%doc README.md
|
|
%{_datadir}/%{name}/
|
|
%{_datadir}/%{name}/
|
|
# %{_fontdir}/Ricty-Regular.ttf
|
|
# %{_fontdir}/Ricty-Regular.ttf
|
|
# %{_fontdir}/Ricty-Bold.ttf
|
|
# %{_fontdir}/Ricty-Bold.ttf
|
|
@@ -85,6 +88,17 @@ fi
|
|
%{_fontdir}/
|
|
%{_fontdir}/
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Mar 9 2013 Munehiro Yamamoto <munepi@vinelinux.org> 3.2.1-1
|
|
|
|
+- new upstream release
|
|
|
|
+- supported the new naming rule for Migu fonts
|
|
|
|
+
|
|
|
|
+* Thu Jan 12 2012 Munehiro Yamamoto <munepi@vinelinux.org> 3.1.3-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
|
|
+* Sat Oct 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.1.2-1
|
|
|
|
+- new upstream release
|
|
|
|
+- set %%migu_version to 20111002
|
|
|
|
+
|
|
* Wed Jun 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.1.0-2
|
|
* Wed Jun 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.1.0-2
|
|
- added Requires(post): fontforge
|
|
- added Requires(post): fontforge
|
|
|
|
|