%global fontname opendyslexic %global fontconf 60-%{fontname}.conf %global gitdate 20210904 %global gitrev e7ac50a Name: %{fontname}-fonts # This is the version from the compiled fonts (thanks fontforge) Version: 0.940 Release: 4%{?dist} Summary: Font designed for dyslexics and high readability License: OFL URL: http://dyslexicfonts.com/ # No source tarballs that I could find, so we get it from github # git clone https://github.com/antijingoist/opendyslexic # tar cfj opendyslexic-20210904gite7ac50a.tar.bz2 opendyslexic Source0: %{fontname}-%{gitdate}git%{gitrev}.tar.bz2 Source1: %{name}-fontconfig.conf Source2: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description OpenDyslexic is a new open sourced font created to increase readability for readers with dyslexia. The typefaces includes regular, bold, italic and bold-italic styles. It is being updated continually and improved based on input from dyslexic users. %prep %setup -q -n %{fontname} %build # Nothing to do here. %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p compiled/OpenDyslexic*.otf %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} install -m 0644 -p %{SOURCE1} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf} # Add AppStream metadata install -Dm 0644 -p %{SOURCE2} \ %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf} %_font_pkg -f %{fontconf} *.otf %{_datadir}/appdata/%{fontname}.metainfo.xml %doc README.md %license OFL.txt %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0.940-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.940-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.940-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Sep 4 2021 Tom Callaway - 0.940-1 - update to SIL OFL fork (same upstream) * Thu Jul 22 2021 Fedora Release Engineering - 0.600-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.600-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.600-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.600-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.600-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.600-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.600-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.600-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.600-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.600-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.600-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.600-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Oct 15 2014 Richard Hughes - 0.600-5 - Add a MetaInfo file for the software center; this is a font we want to show. * Sat Jun 07 2014 Fedora Release Engineering - 0.600-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.600-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.600-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Oct 8 2012 Tom Callaway - 0.600-1 - initial package