[pcaro-hermit-fonts] Initial import of pcaro-hermit-fonts

Ryan Brown ryansb at fedoraproject.org
Thu Jul 31 16:05:56 UTC 2014


commit ca88400c1639c271e13e4da48baed07f6901e233
Author: Ryan S. Brown <sb at ryansb.com>
Date:   Mon Jul 28 11:43:40 2014 -0400

    Initial import of pcaro-hermit-fonts

 .gitignore                         |    1 +
 pcaro-hermit-fonts-fontconfig.conf |   17 +++++++++
 pcaro-hermit-fonts.spec            |   69 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 4 files changed, 88 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5d47936 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/otf-hermit-1.21.tar.gz
diff --git a/pcaro-hermit-fonts-fontconfig.conf b/pcaro-hermit-fonts-fontconfig.conf
new file mode 100644
index 0000000..798cec8
--- /dev/null
+++ b/pcaro-hermit-fonts-fontconfig.conf
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>monospace</family>
+    <prefer>
+      <family>Hermit</family>
+    </prefer>
+  </alias>
+  <alias>
+    <family>Hermit</family>
+    <default>
+      <family>monospace</family>
+    </default>
+  </alias>
+</fontconfig>
+
diff --git a/pcaro-hermit-fonts.spec b/pcaro-hermit-fonts.spec
new file mode 100644
index 0000000..4251f6f
--- /dev/null
+++ b/pcaro-hermit-fonts.spec
@@ -0,0 +1,69 @@
+%global fontname pcaro-hermit
+%global fontconf 69-%{fontname}.conf
+
+Name:           %{fontname}-fonts
+Version:        1.21
+Release:        4%{?dist}
+Summary:        Hermit monospace fonts
+
+License:        OFL
+URL:            https://pcaro.es/p/hermit
+Source0:        https://pcaro.es/d/otf-hermit-%{version}.tar.gz
+Source1:        %{name}-fontconfig.conf
+
+BuildArch:      noarch
+BuildRequires:  fontpackages-devel
+Requires:       fontpackages-filesystem
+
+
+%description
+Hermit is a monospace font designed to be clear, pragmatic and very readable.
+Its creation has been focused on programming. Every glyph was carefully planned
+and calculated, according to defined principles and rules. For this reason,
+Hermit is coherent and regular.
+
+
+%prep
+%setup -cq
+
+
+%build
+
+
+%install
+sed -i "s|\r||g" LICENSE # remove windows encoding of LICENSE file
+
+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}
+
+
+%_font_pkg -f %{fontconf} *.otf
+
+
+%doc LICENSE
+
+
+%changelog
+* Thu Jul 31 2014 Ryan Brown <sb at ryansb.com> - 1.21-4
+- Respond to Parag An's review bz#1124070
+- Change the way DOS line endings are removed
+
+* Thu Jul 31 2014 Ryan Brown <sb at ryansb.com> - 1.21-3
+- Respond to Parag An's review bz#1124070
+- Add empty %%build section to satisfy rpmlint
+- Remove optional Group tag
+
+* Mon Jul 28 2014 Ryan Brown <sb at ryansb.com> - 1.21-2
+- Fix rpmlint encoding and spelling errors
+
+* Mon Jul 28 2014 Ryan Brown <sb at ryansb.com> - 1.21-1
+- Created package
+- Pulled 1.21 source from upstream
diff --git a/sources b/sources
index e69de29..8230f87 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+95e44bd81eb96f04e129ee019726db9a  otf-hermit-1.21.tar.gz


More information about the scm-commits mailing list