%global fontname alef %global fontconf 65-%{fontname}.conf Name: %{fontname}-fonts Version: 1.0 Release: 2%{?dist} Summary: A free multi-lingual font designed for screens Group: User Interface/X License: OFL URL: http://alef.hagilda.com Source0: http://alef.hagilda.com/Alef.zip Source1: %{name}-fontconfig.conf BuildArch: noarch BuildRequires: fontpackages-devel BuildRequires: dos2unix Requires: fontpackages-filesystem %description Alef is a free multilingual font designed specifically for screens. Alef supports English, Hebrew, and various other European languages, and it's readable even in extremely small sizes. %prep %setup -q -c %build dos2unix OFL-license.txt %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p TTF/*.ttf %{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} %_font_pkg -f %{fontconf} *.ttf %doc readme.txt OFL-license.txt %changelog * Fri Feb 14 2014 Elad Alfassa - 1.0-2 - Fix issues from review * Sat Apr 13 2013 Elad Alfassa - 1.0-1 - Initial packaging