Blame SPECS/aajohan-comfortaa-fonts.spec

4ae090
%global fontname aajohan-comfortaa
4ae090
%global fontconf 61-%{fontname}.conf
4ae090
4ae090
Name:           %{fontname}-fonts
4ae090
Version:        3.001
4ae090
Release:        10%{?dist}
4ae090
Summary:        Modern style true type font
4ae090
4ae090
License:        OFL
4ae090
URL:            http://aajohan.deviantart.com
4ae090
Source0:        http://www.deviantart.com/download/105395949/comfortaa___font_by_aajohan-d1qr019.zip
4ae090
Source1:        %{name}-fontconfig.conf
4ae090
Source2:        %{fontname}.metainfo.xml
4ae090
4ae090
BuildArch:      noarch
4ae090
BuildRequires:  fontpackages-devel
4ae090
BuildRequires:	libappstream-glib
4ae090
Requires:       fontpackages-filesystem
4ae090
4ae090
%description
4ae090
Comfortaa is a sans-serif font comfortable in every aspect with
4ae090
Bold, Regular, and Thin variants.
4ae090
It has very good European language coverage and decent Cyrillic coverage.  
4ae090
4ae090
%prep
4ae090
%autosetup -n %{version}
4ae090
4ae090
# Fixing
4ae090
# wrong-file-end-of-line-encoding issue
4ae090
# Thanks to Paul Flo Williams
4ae090
4ae090
for file in *.txt; do
4ae090
 sed 's/\r//g' "$file" | \
4ae090
 fold -s > "$file.new" && \
4ae090
 touch -r "$file" "$file.new" && \
4ae090
 mv "$file.new" "$file"
4ae090
done
4ae090
4ae090
%build
4ae090
4ae090
%install
4ae090
install -m 0755 -d %{buildroot}%{_fontdir}
4ae090
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
4ae090
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
4ae090
                   %{buildroot}%{_fontconfig_confdir}
4ae090
install -m 0644 -p %{SOURCE1} \
4ae090
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
4ae090
4ae090
ln -s %{_fontconfig_templatedir}/%{fontconf} \
4ae090
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
4ae090
4ae090
# Add AppStream metadata
4ae090
install -Dm 0644 -p %{SOURCE2} \
4ae090
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
4ae090
%check
4ae090
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{fontname}.metainfo.xml
4ae090
4ae090
%_font_pkg -f %{fontconf} *.ttf
4ae090
%doc FONTLOG.txt OFL.txt
4ae090
%{_datadir}/appdata/%{fontname}.metainfo.xml
4ae090
4ae090
%changelog
4ae090
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.001-10
4ae090
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
4ae090
  Related: rhbz#1991688
4ae090
4ae090
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.001-9
4ae090
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
4ae090
4ae090
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.001-8
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4ae090
4ae090
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.001-7
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4ae090
4ae090
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.001-6
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4ae090
4ae090
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.001-5
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4ae090
4ae090
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.001-4
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4ae090
4ae090
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.001-3
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4ae090
4ae090
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.001-2
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4ae090
4ae090
* Mon Oct 02 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 3.001-1
4ae090
- Update to 3.001
4ae090
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4ae090
4ae090
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.004-7
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4ae090
4ae090
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.004-6
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4ae090
4ae090
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.004-5
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4ae090
4ae090
* Sun Oct 19 2014 Parag Nemade <pnemade AT redhat DOT com> - 2.004-4
4ae090
- Add metainfo file to show this font in gnome-software
4ae090
4ae090
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.004-3
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4ae090
4ae090
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.004-2
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4ae090
4ae090
* Sat May 11 2013 Luya Tshimbalanga <luya@fedoraproject.org> - 2.004-1
4ae090
- Latest upstream release
4ae090
4ae090
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.003-2
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4ae090
4ae090
* Sun Dec 30 2012 Luya Tshimbalanga <luya@fedoraproject.org> - 2.003-1
4ae090
- Upstream update (rhbz#786442)
4ae090
4ae090
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.002-6
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4ae090
4ae090
* Sat Jan 14 2012 Luya Tshimbalanga <luya@fedoraproject.org> - 2.002-5
4ae090
- Upstream update (rhbz#771541)
4ae090
- Spec cleaned up
4ae090
- updated filename documentation
4ae090
4ae090
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.004-3
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4ae090
4ae090
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.004-2
4ae090
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4ae090
4ae090
* Fri Dec 3 2010 Luya Tshimbalanga <luya@fedoraproject.org> - 1.004-1
4ae090
- Upstream update rhbz#658745
4ae090
4ae090
* Thu Sep 23 2010 Luya Tshimbalanga <luya@fedoraproject.org> - 1.003-5.1
4ae090
- Changed to the correct description rhbz#636987
4ae090
4ae090
* Tue Aug 3 2010 Luya Tshimbalanga <luya@fedoraproject.org> - 1.003-4
4ae090
- Set the right close tag inside 61 conf file
4ae090
4ae090
* Fri Jul 30 2010 Luya Tshimbalanga <luya@fedoraproject.org> - 1.003-3
4ae090
- Added missing documentations
4ae090
- Switched to the right versioning
4ae090
- Addressed wrong-file-end-of-line-encoding issue
4ae090
4ae090
* Thu Jul 29 2010 Luya Tshimbalanga <luya@fedoraproject.org> - 1.003-2
4ae090
- Set prefix to 61 for fontconfig.conf
4ae090
- Shortened description
4ae090
- Some fixes
4ae090
4ae090
* Tue Jul 27 2010 Luya Tshimbalanga <luya@fedoraproject.org> - 1.003-1
4ae090
- Initial RPM release.