[unifrakturmaguntia-fonts] Initial import (#1142422)

Julien Enselme jujens at fedoraproject.org
Wed Sep 17 17:00:31 UTC 2014


commit f5759408bfc0c096958374aed86dfea0e17a3ad7
Author: Julien Enselme <jujens at jujens.eu>
Date:   Wed Sep 17 19:00:26 2014 +0200

    Initial import (#1142422)

 .gitignore                       |    1 +
 61-unifrakturmaguntia-fonts.conf |   16 ++++++++
 sources                          |    1 +
 unifrakturmaguntia-fonts.spec    |   76 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3190f74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/UnifrakturMaguntia.2014-07-06.zip
diff --git a/61-unifrakturmaguntia-fonts.conf b/61-unifrakturmaguntia-fonts.conf
new file mode 100644
index 0000000..dfd2f07
--- /dev/null
+++ b/61-unifrakturmaguntia-fonts.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>fantasy</family>
+    <prefer>
+      <family>UnifrakturMaguntia</family>
+    </prefer>
+  </alias>
+  <alias>
+    <family>UnifrakturMaguntia</family>
+    <default>
+      <family>fantasy</family>
+    </default>
+  </alias>
+</fontconfig>
diff --git a/sources b/sources
index e69de29..1c97dad 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+50b1fb0cfa7369ec5975c44d48fe9ac1  UnifrakturMaguntia.2014-07-06.zip
diff --git a/unifrakturmaguntia-fonts.spec b/unifrakturmaguntia-fonts.spec
new file mode 100644
index 0000000..6e8ecd7
--- /dev/null
+++ b/unifrakturmaguntia-fonts.spec
@@ -0,0 +1,76 @@
+%global fontname unifrakturmaguntia
+%global fontconf 61-%{fontname}-fonts.conf
+%global source_date 20140706
+
+
+Name:          %{fontname}-fonts
+Version:       0
+Release:       0.2.%{source_date}%{?dist}
+Summary:       Font that provide a Fraktur typeface that may be embedded on websites
+License:       OFL
+URL:           http://unifraktur.sourceforge.net/maguntia.html
+Source0:       http://sourceforge.net/projects/unifraktur/files/fonts/UnifrakturMaguntia.2014-07-06.zip
+Source10:      %{fontconf}
+BuildArch:     noarch
+BuildRequires: fontpackages-devel
+BuildRequires: fontforge
+Requires:      fontpackages-filesystem
+
+%description
+UnifrakturMaguntia is based on Peter Wiegel’s font Berthold Mainzer Fraktur. The
+main differences from Peter Wiegel’s font are the following:
+
+- UnifrakturMaguntia uses OpenType for displaying the font’s ligatures.
+- UnifrakturMaguntia is suitable for @font-face embedding on the internet. It
+  has a permissive license, the OFL, that explicitly allows font embedding.
+- G. Ansmann has carefully redrawn all glyphs and significantly expanded the
+  font.
+
+
+%prep
+%setup -q -n UnifrakturMaguntia.2014-07-06
+# Correct end of line encoding for OFL.txt
+sed -i 's/\r$//' OFL.txt
+
+
+%build
+fontforge -lang=ff -script "-" *.sfdir <<_EOF
+i = 1
+while ( i < \$argc )
+  Open (\$argv[i], 1)
+  Generate (\$fontname + ".ttf")
+  PrintSetup (5)
+  PrintFont (0, 0, "", \$fontname + "-sample.pdf")
+  Close()
+  i++
+endloop
+_EOF
+
+%install
+install -m 0755 -d %{buildroot}%{_fontdir}
+
+install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+                   %{buildroot}%{_fontconfig_confdir}
+
+install -m 0644 -p %{SOURCE10} \
+    %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+        %{buildroot}%{_fontconfig_confdir}/%{fontconf}
+
+
+%_font_pkg -f %{fontconf} *.ttf
+%doc OFL.txt *.pdf
+
+
+%changelog
+* Wed Sep 17 2014 Julien Enselme <jujens at jujens.eu> - 0-0.2.20140706
+- Correct the url of Source0.
+- Correct Summary.
+- Remove unuseful command in prep section.
+- Fix version.
+
+* Tue Sep 16 2014 Julien Enselme <jujens at jujens.eu> - 2014-0.1.20140706
+- Initial packaging.


More information about the scm-commits mailing list