|
|
3c06517 |
%global fontname typetype-molot
|
|
|
3c06517 |
%global fontconf 61-%{fontname}.conf
|
|
|
3c06517 |
|
|
|
3c06517 |
Name: %{fontname}-fonts
|
|
|
3c06517 |
Version: 1.000
|
|
|
0fd03ba |
Release: 9%{?dist}
|
|
|
3c06517 |
Summary: A display sans-serif font
|
|
|
3c06517 |
|
|
|
3c06517 |
License: OFL
|
|
|
3c06517 |
URL: http://typetype.ru/
|
|
|
3c06517 |
Source0: http://www.typetype.ru/files/fonts/molot.zip
|
|
|
3c06517 |
Source1: %{name}-fontconfig.conf
|
|
|
3c06517 |
Source2: %{fontname}.metainfo.xml
|
|
|
3c06517 |
|
|
|
3c06517 |
BuildArch: noarch
|
|
|
3c06517 |
BuildRequires: fontpackages-devel
|
|
|
3c06517 |
%if 0%{?fedora} >= 21
|
|
|
3c06517 |
BuildRequires: libappstream-glib
|
|
|
3c06517 |
%endif
|
|
|
3c06517 |
Requires: fontpackages-filesystem
|
|
|
3c06517 |
|
|
|
3c06517 |
%description
|
|
|
3c06517 |
A display sans-serif font created by Roman Ershov and Jovanny Lemonad
|
|
|
3c06517 |
|
|
|
3c06517 |
%prep
|
|
|
3c06517 |
%autosetup -c
|
|
|
3c06517 |
|
|
|
3c06517 |
|
|
|
3c06517 |
%build
|
|
|
3c06517 |
|
|
|
3c06517 |
|
|
|
3c06517 |
%install
|
|
|
3c06517 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
3c06517 |
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
|
|
|
3c06517 |
|
|
|
3c06517 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
3c06517 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
3c06517 |
|
|
|
3c06517 |
install -m 0644 -p %{SOURCE1} \
|
|
|
3c06517 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
3c06517 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
3c06517 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
3c06517 |
|
|
|
3c06517 |
%if 0%{?fedora} >= 21
|
|
|
3c06517 |
install -Dm 0644 -p %{SOURCE2} \
|
|
|
3c06517 |
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
3c06517 |
|
|
|
3c06517 |
%check
|
|
|
3c06517 |
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
3c06517 |
%endif
|
|
|
3c06517 |
|
|
|
3c06517 |
%_font_pkg -f %{fontconf} *.otf
|
|
|
3c06517 |
|
|
|
3c06517 |
%license "FREE FONT LICENSE.txt"
|
|
|
3c06517 |
%if 0%{?fedora} >= 21
|
|
|
3c06517 |
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
3c06517 |
%endif
|
|
|
3c06517 |
|
|
|
3c06517 |
%changelog
|
|
|
0fd03ba |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.000-9
|
|
|
0fd03ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
0fd03ba |
|
|
|
197d754 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.000-8
|
|
|
197d754 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
197d754 |
|
|
|
a54c54b |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.000-7
|
|
|
a54c54b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a54c54b |
|
|
|
0818422 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.000-6
|
|
|
0818422 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0818422 |
|
|
|
b3281dd |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.000-5
|
|
|
b3281dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b3281dd |
|
|
|
3c06517 |
* Sun Aug 21 2016 Luya Tshimbalanga <luya@fedoraproject.org> 1.000-4
|
|
|
3c06517 |
- Used upstream url for downloading file
|
|
|
3c06517 |
|
|
|
3c06517 |
* Sat Aug 20 2016 Luya Tshimbalanga <luya_tfz@thefinalzone.net> 1.000-3
|
|
|
3c06517 |
- Removed legacy install line
|
|
|
3c06517 |
- Include SIL OFL license
|
|
|
3c06517 |
|
|
|
3c06517 |
* Fri Aug 19 2016 Luya Tshimbalanga <luya_tfz@thefinalzone.net> 1.000-1
|
|
|
3c06517 |
- Initial build
|