|
@@ -0,0 +1,56 @@
|
|
|
|
+%define ver 1.0
|
|
|
|
+%define rel 1
|
|
|
|
+
|
|
|
|
+%define fontname UniHentaiKana
|
|
|
|
+%define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
|
|
|
|
+
|
|
|
|
+Summary: Unicode Hentai-Kana font
|
|
|
|
+Summary(ja): Unicode変態仮名フォント
|
|
|
|
+Name: OpenType-UniHentaiKana
|
|
|
|
+Version: %{ver}
|
|
|
|
+Release: %{rel}%{?_dist_release}
|
|
|
|
+Source0: http://wakufactory.jp/densho/font/hentai/UniHentaiKana-Regular.otf
|
|
|
|
+Source1: http://ipafont.ipa.go.jp/ipa_font_license_v1-html
|
|
|
|
+License: IPA FONT LICENSE AGREEMENT V1.0
|
|
|
|
+Group: User Interface/X
|
|
|
|
+URL: http://wakufactory.jp/densho/font/hentai/
|
|
|
|
+BuildArch: noarch
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+Packager: iwaim
|
|
|
|
+
|
|
|
|
+%description
|
|
|
|
+%{summary}
|
|
|
|
+
|
|
|
|
+%prep
|
|
|
|
+%setup -T -c %{name}-%{version}
|
|
|
|
+%{__cp} %SOURCE0 .
|
|
|
|
+%{__cp} %SOURCE1 .
|
|
|
|
+
|
|
|
|
+%build
|
|
|
|
+
|
|
|
|
+%install
|
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
+%{__mkdir_p} ${RPM_BUILD_ROOT}%{_fontdir}
|
|
|
|
+%{__install} -m0644 *.otf ${RPM_BUILD_ROOT}%{_fontdir}
|
|
|
|
+
|
|
|
|
+%clean
|
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
+
|
|
|
|
+%post
|
|
|
|
+%__font_install_post %{_fontdir}
|
|
|
|
+
|
|
|
|
+%postun
|
|
|
|
+%__font_install_postun %{_fontdir}
|
|
|
|
+
|
|
|
|
+%files
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%doc ipa_font_license_v1-html
|
|
|
|
+%{_fontdir}
|
|
|
|
+
|
|
|
|
+%changelog
|
|
|
|
+* Tue Jun 27 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0-1
|
|
|
|
+- initial build for Vine Linux
|
|
|
|
+
|