%global fontname junicode Name: %{fontname}-fonts Version: 0.7.8 Release: 2%{?dist} Summary: A serif font with broad Unicode coverage for medievalists Group: User Interface/X License: OFL URL: http://junicode.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{fontname}/%{fontname}-%{version}.tar.gz Patch1: junicode-0.7.8-fix-font-path.patch Patch2: junicode-0.7.8-fix-ttfautohint.patch BuildArch: noarch BuildRequires: fontpackages-devel, fontforge, texlive, texlive-polyglossia BuildRequires: texlive-euenc, texlive-xetex, texlive-xetex-def, texlive-xltxtra BuildRequires: ttfautohint Requires: fontpackages-filesystem %description A Unicode font for medievalists. In addition to a character set large enough for general use, Junicode contains all characters from the Medival Unicode Font Initiative (MUFI) v1.0 recommendations and has partial coverage of v2.0 and v3.0. %prep %setup -q -n junicode %patch1 -p1 %patch2 -p1 %build make %{?_smp_mflags} cd doc/ for fn in *.tex; do xelatex ${fn} done %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p *.ttf %{buildroot}%{_fontdir} %_font_pkg *.ttf %doc doc/*.pdf %changelog * Thu Feb 20 2014 Sean Burke - 0.7.8-2 - Modify to use ttfautohint now that it's packaged * Sat Sep 7 2013 Sean Burke - 0.7.8-1 - Initial packaging.