[oflb-prociono-fonts] Change source url to have working font building against fontforge2
Parag Nemade
pnemade at fedoraproject.org
Tue Nov 25 04:49:26 UTC 2014
commit ae365492c58eb80ed2f406800ca43ed8be700b8d
Author: Parag Nemade <pnemade at redhat.com>
Date: Tue Nov 25 10:19:19 2014 +0530
Change source url to have working font building against fontforge2
.gitignore | 2 +
oflb-prociono-fonts.spec | 59 ++++++++++++++++++++-----------------------
oflb-prociono.metainfo.xml | 2 +-
sources | 3 +-
4 files changed, 32 insertions(+), 34 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 061432a..aebbf22 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
chemoelectric_-_Prociono.zip
+/Prociono-Regular.ttf
+/OFL.txt
diff --git a/oflb-prociono-fonts.spec b/oflb-prociono-fonts.spec
index 281b7a1..d7dde49 100644
--- a/oflb-prociono-fonts.spec
+++ b/oflb-prociono-fonts.spec
@@ -1,19 +1,20 @@
-%global fontname oflb-prociono
-%global fontconf 62-%{fontname}.conf
-
-Name: %{fontname}-fonts
-Version: 20090715
-Release: 9%{?dist}
-Summary: A text roman with standard and discretionary ligatures, class-based kerning
-License: Public Domain
-URL: http://openfontlibrary.org/media/files/chemoelectric/206
-Source0: http://openfontlibrary.org/people/chemoelectric/chemoelectric_-_Prociono.zip
-Source1: %{name}-fontconfig.conf
-Source2: %{fontname}.metainfo.xml
-
-BuildArch: noarch
-BuildRequires: fontforge,fontpackages-devel
-Requires: fontpackages-filesystem
+%global fontname oflb-prociono
+%global fontconf 62-%{fontname}.conf
+
+Name: %{fontname}-fonts
+Version: 20141125
+Release: 1%{?dist}
+Summary: A text roman with standard and discretionary ligatures, class-based kerning
+License: OFL
+URL: http://www.google.com/fonts/specimen/Prociono
+Source0: https://googlefontdirectory.googlecode.com/hg/ofl/prociono/Prociono-Regular.ttf
+Source1: https://googlefontdirectory.googlecode.com/hg/ofl/prociono/OFL.txt
+Source2: %{name}-fontconfig.conf
+Source3: %{fontname}.metainfo.xml
+
+BuildArch: noarch
+BuildRequires: fontforge,fontpackages-devel
+Requires: fontpackages-filesystem
%description
A serif font created by Barry Schwartz
@@ -23,43 +24,37 @@ either "raccoon" or the star Procyon. The author prefers to
think of this font as a raccoon.
%prep
-%setup -qc -n chemoelectric_-_Prociono.zip
+%setup -q -c -T
+cp -p %{SOURCE0} %{SOURCE1} .
%build
-fontforge -lang=ff -script "-" *.sfd <<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
+#nothing to build
%install
install -m 755 -d %{buildroot}%{_fontdir}
install -m 644 -p *.ttf %{buildroot}%{_fontdir}
install -m 755 -d %{buildroot}%{_fontconfig_templatedir} \
- %{buildroot}%{_fontconfig_confdir}
+ %{buildroot}%{_fontconfig_confdir}
install -m 644 -p %{SOURCE1} \
- %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
- %{buildroot}%{_fontconfig_confdir}/%{fontconf}
+ %{buildroot}%{_fontconfig_confdir}/%{fontconf}
# Add AppStream metadata
install -Dm 0644 -p %{SOURCE2} \
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
%_font_pkg -f %{fontconf} *.ttf
-%doc LICENSE
+%doc OFL.txt
%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
+* Tue Nov 25 2014 Parag Nemade <pnemade AT redhat DOT com> - 20141125-1
+- Change source url to have working font building against fontforge2
+
* Sat Oct 18 2014 Parag Nemade <pnemade AT redhat DOT com> - 20090715-9
- Add metainfo file to show this font in gnome-software
diff --git a/oflb-prociono.metainfo.xml b/oflb-prociono.metainfo.xml
index f3cc71a..5cbfe06 100644
--- a/oflb-prociono.metainfo.xml
+++ b/oflb-prociono.metainfo.xml
@@ -15,5 +15,5 @@
</p>
</description>
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
- <url type="homepage">http://openfontlibrary.org/media/files/chemoelectric/206</url>
+ <url type="homepage">http://www.google.com/fonts/specimen/Prociono</url>
</component>
diff --git a/sources b/sources
index b0024f4..a0d0969 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-9348a003073fda8723fc49c921b1efa8 chemoelectric_-_Prociono.zip
+b3d857a94854ab6f03ef84d648363686 Prociono-Regular.ttf
+3e5d9fb648d3c2f815cffc7359b5ded5 OFL.txt
More information about the fonts-bugs
mailing list