%define fontname hartke-aurulent-sans %define fontconf 63-%{fontname}-fonts-fontconfig.conf %define fontconfmono 64-%{fontname}-fonts-fontconfig.conf %define archivename AurulentSans-20070504 %define common_desc \ Aurulent Sans is a sans-serif font developed for use as the primary interface\ font on X Windows on GNU/Linux. It includes the latin alphabet, digits, and\ punctuation, as well as some accents. It is created by Stephen G. Hartke. Name: %{fontname}-fonts Version: 20070504 Release: 3%{?dist} Summary: A sans-serif font for use as primary interface font Group: User Interface/X License: OFL URL: http://www.geocities.com/hartke01/ Source0: %{url}%{archivename}.tgz Source1: %{fontname}-fonts-fontconfig.conf Source2: %{fontname}-mono-fonts-fontconfig.conf Source3: %{archivename}.pdf BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: fontpackages-devel Requires: %{name}-common = %{version}-%{release} %description %common_desc This package includes the Aurulent Sans font family. %_font_pkg -f %{fontconf} AurulentSans-*.otf %package common Summary: Common files of the Aurulent font family Group: User Interface/X Requires: fontpackages-filesystem %description common %common_desc This package consists of files used by other %{name} packages. %package -n %{fontname}-mono-fonts Summary: Aurulent Sans Mono font family Group: User Interface/X Requires: %{name}-common = %{version}-%{release} %description -n %{fontname}-mono-fonts %common_desc This package includes the Aurulent Sans Mono font family. %_font_pkg -n mono -f %{fontconfmono} AurulentSansMono-*.otf %prep %setup -q -c install -m 0644 -p %{SOURCE3} . %build #Nothing to do yet. Asked upstream for sources on Feb 01 2009. %install rm -fr %{buildroot} install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p *.otf %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} # Repeat for every font family install -m 0644 -p %{SOURCE1} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf} install -m 0644 -p %{SOURCE2} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconfmono} for fconf in %{fontconf}\ %{fontconfmono}; do ln -s %{_fontconfig_templatedir}/$fconf \ %{buildroot}%{_fontconfig_confdir}/$fconf done %clean rm -fr %{buildroot} %files common %defattr(0644,root,root,0755) %doc README *.pdf %changelog * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20070504-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20070504-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Feb 1 2009 Paul Lange <palango@gmx.de> - 20070504-1 - initial packaging