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