Browse Source

new: OpenType-UniHentaiKana

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11129 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 6 years ago
parent
commit
af8e9ce725
1 changed files with 56 additions and 0 deletions
  1. 56 0
      O/OpenType-UniHentaiKana/OpenType-UniHentaiKana-vl.spec

+ 56 - 0
O/OpenType-UniHentaiKana/OpenType-UniHentaiKana-vl.spec

@@ -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
+