|
|
f624429 |
%global fontname julietaula-montserrat
|
|
|
f624429 |
%global fontconf 61-%{fontname}.conf
|
|
|
f624429 |
%global commit b0153c845dc0835915d97facd61367d71710e99c
|
|
|
f624429 |
%global commitdate 20151221
|
|
|
f624429 |
#%%global shortcommit %%(c=%%{commit}; echo ${c:0:7})
|
|
|
f624429 |
#%%global gitversion .git%%{commitdate}.%%{shortcommit}
|
|
|
f624429 |
|
|
|
f624429 |
#global archivename %%{name}-%%{version}
|
|
|
f624429 |
|
|
|
f624429 |
Name: julietaula-montserrat-fonts
|
|
|
f624429 |
Version: %{commitdate}
|
|
|
f77cf66 |
Release: 6%{?dist}
|
|
|
f624429 |
Summary: Sans-serif typeface created by Julieta Ulanovsky
|
|
|
f624429 |
|
|
|
f624429 |
License: OFL
|
|
|
f624429 |
URL: https://github.com/JulietaUla/Montserrat/
|
|
|
f624429 |
Source0: %{url}/archive/%{commit}/Montserrat-%{commit}.zip
|
|
|
f624429 |
Source1: %{name}-fontconfig.conf
|
|
|
f624429 |
Source2: %{fontname}.metainfo.xml
|
|
|
f624429 |
Source3: LICENSE.txt
|
|
|
f624429 |
|
|
|
f624429 |
|
|
|
f624429 |
BuildArch: noarch
|
|
|
f624429 |
BuildRequires: fontpackages-devel
|
|
|
f624429 |
%if 0%{?fedora} >= 21
|
|
|
f624429 |
BuildRequires: libappstream-glib
|
|
|
f624429 |
%endif
|
|
|
f624429 |
Requires: fontpackages-filesystem
|
|
|
f624429 |
|
|
|
f624429 |
%description
|
|
|
f624429 |
A typeface created by Julieta Ulanovsky inspired by signs around
|
|
|
f624429 |
the Montserrat area of Buenos Aires, Argentina
|
|
|
f624429 |
|
|
|
f624429 |
%prep
|
|
|
f624429 |
%setup -q -c
|
|
|
f624429 |
cp -p %{SOURCE3} .
|
|
|
f624429 |
|
|
|
f624429 |
%build
|
|
|
f624429 |
|
|
|
f624429 |
|
|
|
f624429 |
%install
|
|
|
f624429 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
f624429 |
install -m 0644 -p Montserrat-%{commit}/ttf/*.ttf %{buildroot}%{_fontdir}
|
|
|
f624429 |
install -m 0644 -p Montserrat-%{commit}/otf/*.otf %{buildroot}%{_fontdir}
|
|
|
f624429 |
|
|
|
f624429 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
f624429 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
f624429 |
|
|
|
f624429 |
install -m 0644 -p %{SOURCE1} \
|
|
|
f624429 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
f624429 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
f624429 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
f624429 |
|
|
|
f624429 |
%if 0%{?fedora} >= 21
|
|
|
f624429 |
install -Dm 0644 -p %{SOURCE2} \
|
|
|
f624429 |
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
f624429 |
|
|
|
f624429 |
%check
|
|
|
f624429 |
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
f624429 |
%endif
|
|
|
db3b56a |
%_font_pkg -f %{fontconf} *.ttf *.otf
|
|
|
f624429 |
%if 0%{?fedora} >= 21
|
|
|
f624429 |
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
f624429 |
%endif
|
|
|
f624429 |
%license LICENSE.txt
|
|
|
f624429 |
|
|
|
f624429 |
%changelog
|
|
|
f77cf66 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20151221-6
|
|
|
f77cf66 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f77cf66 |
|
|
|
ec06842 |
* Wed Apr 20 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 20151221-5
|
|
|
ec06842 |
- Improved appstream file with fonts list
|
|
|
ec06842 |
|
|
|
db3b56a |
* Sun Mar 27 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 20151221-4
|
|
|
db3b56a |
- Fixed compatibility issue with Fedora 22 and EPEL7 less
|
|
|
db3b56a |
|
|
|
f624429 |
* Fri Mar 25 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 20151221-3
|
|
|
f624429 |
- Switched doc section to license
|
|
|
f624429 |
- Deleted oft and ttf subdirectories
|
|
|
f624429 |
|
|
|
f624429 |
* Fri Mar 25 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 20151221-2
|
|
|
f624429 |
- Moved appstream-util to check section
|
|
|
f624429 |
|
|
|
f624429 |
* Thu Mar 24 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 20151221-1
|
|
|
f624429 |
- Initial build
|