%global fontname drehatlas-widelands %global fontconf 61-%{fontname}.conf %global metapkgver 2010-02-06 # This is a highly-stylized titling font, so picking an ideal substitute with # fontconfig is pointless Name: %{fontname}-fonts Version: 1.0.3.1 Release: 21.1%{?dist} License: OFL URL: http://www.drehatlas.de/ Summary: A Latin typeface inspired by feudal calligraphy Source0: http://downloads.sourceforge.net/project/drehatlas-fonts/Font-Packages/COMPLETE/drehatlas-fonts-%{metapkgver}.zip Source1: %{fontconf} Source2: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel fontforge Requires: fontpackages-filesystem %description This font was created by Peter Schwanemann as a logo for the Widelands project, but has since been enhanced. The font is decorative and not really usable for real texts, but it looks nice for logos, banners or similar stuff. All normal latin glyphs and arabic numbers are included and usable. %prep %setup -q -c "%{name}-%{version}" cd "drehatlas-fonts-%{metapkgver}/Widelands-%{version}" # Wrap the license file at 80 chars fold -s "LICENSE" > "LICENSE.new" touch -r "LICENSE" "LICENSE.new" %{__mv} "LICENSE.new" "LICENSE" %build %install cd "drehatlas-fonts-%{metapkgver}/Widelands-%{version}" %{__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}" # Add AppStream metadata %{__install} -Dm 0644 -p "%{SOURCE2}" \ "%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml" %_font_pkg -f %{fontconf} *.otf %{_datadir}/appdata/%{fontname}.metainfo.xml %doc drehatlas-fonts-%{metapkgver}/Widelands-%{version}/FONTLOG %license drehatlas-fonts-%{metapkgver}/Widelands-%{version}/LICENSE %changelog * Thu Aug 08 2019 Tomasz Tomasik - 1.0.3.1-21.1 - SPEC file cleanups - Rebuilt for EL7 * Wed Jul 24 2019 Fedora Release Engineering - 1.0.3.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.0.3.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.0.3.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.0.3.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.3.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.0.3.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.0.3.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0.3.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Oct 17 2014 Richard Hughes - 1.0.3.1-13 - Add a MetaInfo file for the software center; this is a font we want to show. * Sat Jun 07 2014 Fedora Release Engineering - 1.0.3.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Aug 08 2013 Christopher Meng - 1.0.3.1-11 - SPEC cleanup. * Sat Aug 03 2013 Fedora Release Engineering - 1.0.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.0.3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.0.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.0.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.0.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Aug 20 2010 Adam Tkac 1.0.3.1-5 - rebuild to ensure F14 has bigger NVR than F13 * Mon Mar 08 2010 Dave Ludlow 1.0.3.1-3 - Update for upstream release * Sat Oct 17 2009 Dave Ludlow 1.0.2.2-6 - Remove "Preferred Family" data via a fontforge script instead of ugly hack * Sat Oct 17 2009 Dave Ludlow 1.0.2.2-5 - Prevent font from being called 'Decorative' instead of 'Widelands' * Fri Oct 16 2009 Dave Ludlow 1.0.2.2-4 - Rename from olfb-widelands to drehatlas-widelands - Update conversion Makefile to be more general * Wed Oct 14 2009 Dave Ludlow 1.0.2.2-3 - Update for Fedora packaging guidelines * Wed Oct 14 2009 Dave Ludlow 1.0.2.2-1 - Initial packaging