From 3c06517fa84262ea0aa901b5503b85b95261471e Mon Sep 17 00:00:00 2001 From: Luya Tshimbalanga Date: Aug 31 2016 18:16:49 +0000 Subject: New packaged fonts --- diff --git a/.gitignore b/.gitignore index e69de29..9021a75 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/molot.zip diff --git a/sources b/sources index e69de29..ea70abd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f11dc0094a0bb49add5585124d4d8583 molot.zip diff --git a/typetype-molot-fonts-fontconfig.conf b/typetype-molot-fonts-fontconfig.conf new file mode 100644 index 0000000..efc736c --- /dev/null +++ b/typetype-molot-fonts-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + sans-serif + + Molot + + + + Molot + + sans-serif + + + + diff --git a/typetype-molot-fonts.spec b/typetype-molot-fonts.spec new file mode 100644 index 0000000..f4c457d --- /dev/null +++ b/typetype-molot-fonts.spec @@ -0,0 +1,68 @@ +%global fontname typetype-molot +%global fontconf 61-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 1.000 +Release: 4%{?dist} +Summary: A display sans-serif font + +License: OFL +URL: http://typetype.ru/ +Source0: http://www.typetype.ru/files/fonts/molot.zip +Source1: %{name}-fontconfig.conf +Source2: %{fontname}.metainfo.xml + +BuildArch: noarch +BuildRequires: fontpackages-devel +%if 0%{?fedora} >= 21 +BuildRequires: libappstream-glib +%endif +Requires: fontpackages-filesystem + +%description +A display sans-serif font created by Roman Ershov and Jovanny Lemonad + +%prep +%autosetup -c + + +%build + + +%install +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p *.otf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} + +%if 0%{?fedora} >= 21 +install -Dm 0644 -p %{SOURCE2} \ + %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml + +%check +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{fontname}.metainfo.xml +%endif + +%_font_pkg -f %{fontconf} *.otf + +%license "FREE FONT LICENSE.txt" +%if 0%{?fedora} >= 21 +%{_datadir}/appdata/%{fontname}.metainfo.xml +%endif + +%changelog +* Sun Aug 21 2016 Luya Tshimbalanga 1.000-4 +- Used upstream url for downloading file + +* Sat Aug 20 2016 Luya Tshimbalanga 1.000-3 +- Removed legacy install line +- Include SIL OFL license + +* Fri Aug 19 2016 Luya Tshimbalanga 1.000-1 +- Initial build diff --git a/typetype-molot.metainfo.xml b/typetype-molot.metainfo.xml new file mode 100644 index 0000000..397a807 --- /dev/null +++ b/typetype-molot.metainfo.xml @@ -0,0 +1,16 @@ + + + + typetype-molot + CC0-1.0 + Molot + Sans-serif display fonts + +

A display sans-serif font created by Roman Ershov and Jovanny Lemonad

+
+ +​ Molot Regular + + http://www.typetype.ru + luya@fedoraproject.org +