From 9626328c47d6c4d77a44168dd1688a83a973cc68 Mon Sep 17 00:00:00 2001 From: Luya Tshimbalanga Date: Aug 31 2016 16:52:06 +0000 Subject: new package --- diff --git a/.gitignore b/.gitignore index e69de29..71e7931 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/grand-hotel.zip diff --git a/astigmatic-grand-hotel-fonts-fontconfig.conf b/astigmatic-grand-hotel-fonts-fontconfig.conf new file mode 100644 index 0000000..7a415fe --- /dev/null +++ b/astigmatic-grand-hotel-fonts-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + serif + + Grand Hotel + + + + Grand Hotel + + serif + + + + diff --git a/astigmatic-grand-hotel-fonts.spec b/astigmatic-grand-hotel-fonts.spec new file mode 100644 index 0000000..ec96fc3 --- /dev/null +++ b/astigmatic-grand-hotel-fonts.spec @@ -0,0 +1,69 @@ +%global fontname astigmatic-grand-hotel +%global fontconf 61-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 1.000 +Release: 2%{?dist} +Summary: Script retro style fonts + +License: OFL +URL: http://www.astigmatic.com/ +Source0: https://www.fontsquirrel.com/fonts/download/grand-hotel/grand-hotel.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 +Grand Hotel finds its inspiration from the title screen of the 1937 film “Cafe +Metropole” starring Tyrone Power. This condensed upright connecting script has +a classic vibe to it. + +It has a wonderful weight to it that feels subtly tied to Holiday and Bakery +themed designs, even though it can work outside that genre. + +%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 "SIL Open Font License.txt" +%if 0%{?fedora} >= 21 +%{_datadir}/appdata/%{fontname}.metainfo.xml +%endif + +%changelog +* Sat Aug 20 2016 Luya Tshimbalanga 1.000-2 +- Remove legacy install code line "rm -fr %%{buildroot}" + +* Fri Aug 19 2016 Luya Tshimbalanga 1.000-1 +- Initial build diff --git a/astigmatic-grand-hotel.metainfo.xml b/astigmatic-grand-hotel.metainfo.xml new file mode 100644 index 0000000..e9d80ca --- /dev/null +++ b/astigmatic-grand-hotel.metainfo.xml @@ -0,0 +1,18 @@ + + + + astigmatic-grand-hotel + CC0-1.0 + Grand Hotel + A retro scripted font from 1937 + +

Grand Hotel finds its inspiration from the title screen of the 1937 film “Cafe Metropole” starring Tyrone Power. This condensed upright connecting script has a classic vibe to it.

+

It has a wonderful weight to it that feels subtly tied to Holiday and Bakery themed designs, even though it can work outside that genre.

+

Designed by Brian J. Bonislawsky and Jim Lyles for Astigmatic (AOETI).

+
+ +​ Grand Hotel Regular +​ + http://www.astigmatic.org + luya@fedoraproject.org +
diff --git a/sources b/sources index e69de29..0b2c356 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +063bf9d3b518fc286c41447da58c640c grand-hotel.zip