|
|
aa44e3 |
%global fontname julietaula-montserrat
|
|
|
ffbabc |
%global fontconf 61-%{fontname}
|
|
|
ffbabc |
%global common_desc \
|
|
|
ffbabc |
A typeface inspired by signs around the Montserrat area of Buenos Aires, Argentina
|
|
|
aa44e3 |
|
|
|
ffbabc |
Name: %{fontname}-fonts
|
|
|
aa44e3 |
Version: 7.200
|
|
|
ffbabc |
Release: 2%{?dist}.2
|
|
|
aa44e3 |
# Override versioning to sync with upstream
|
|
|
aa44e3 |
Epoch: 1
|
|
|
ffbabc |
Summary: Sans-serif typeface inspired from Montserrat area
|
|
|
aa44e3 |
|
|
|
aa44e3 |
License: OFL
|
|
|
aa44e3 |
URL: https://github.com/JulietaUla/Montserrat
|
|
|
aa44e3 |
Source0: %{url}/archive/Montserrat/v%{version}.tar.gz#/Montserrat-%{version}.tar.gz
|
|
|
aa44e3 |
Source1: %{name}-fontconfig.conf
|
|
|
ffbabc |
Source3: %{fontname}.metainfo.xml
|
|
|
aa44e3 |
|
|
|
aa44e3 |
BuildArch: noarch
|
|
|
aa44e3 |
BuildRequires: fontpackages-devel
|
|
|
aa44e3 |
BuildRequires: libappstream-glib
|
|
|
aa44e3 |
Requires: fontpackages-filesystem
|
|
|
aa44e3 |
|
|
|
aa44e3 |
# Reset the old date based versioning
|
|
|
aa44e3 |
Obsoletes: %{name} < 1:%{version}-%{release}
|
|
|
aa44e3 |
|
|
|
aa44e3 |
|
|
|
aa44e3 |
%description
|
|
|
ffbabc |
%common_desc
|
|
|
ffbabc |
|
|
|
ffbabc |
%_font_pkg -f %{fontconf}.conf *.otf
|
|
|
ffbabc |
%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
|
|
ffbabc |
%license Montserrat-%{version}/OFL.txt
|
|
|
ffbabc |
%doc Montserrat-%{version}/README.md
|
|
|
aa44e3 |
|
|
|
aa44e3 |
%prep
|
|
|
aa44e3 |
%autosetup -c
|
|
|
aa44e3 |
|
|
|
aa44e3 |
%build
|
|
|
aa44e3 |
|
|
|
aa44e3 |
|
|
|
aa44e3 |
%install
|
|
|
aa44e3 |
install -Dpm 0644 Montserrat-%{version}/fonts/otf/*.otf -t %{buildroot}%{_fontdir}
|
|
|
aa44e3 |
|
|
|
aa44e3 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
aa44e3 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
aa44e3 |
|
|
|
ffbabc |
# Install Montserrat fonts
|
|
|
aa44e3 |
install -m 0644 -p %{SOURCE1} \
|
|
|
ffbabc |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
|
|
ffbabc |
|
|
|
ffbabc |
for fconf in %{fontconf}.conf ; do
|
|
|
ffbabc |
ln -s %{_fontconfig_templatedir}/$fconf \
|
|
|
ffbabc |
%{buildroot}%{_fontconfig_confdir}/$fconf
|
|
|
ffbabc |
done
|
|
|
aa44e3 |
|
|
|
ffbabc |
# Add AppStream metadata file, Repeat for every font family
|
|
|
ffbabc |
install -Dm 0644 -p %{SOURCE3} \
|
|
|
aa44e3 |
%{buildroot}%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
|
|
aa44e3 |
|
|
|
aa44e3 |
%check
|
|
|
aa44e3 |
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
|
|
aa44e3 |
|
|
|
aa44e3 |
%changelog
|
|
|
ffbabc |
* Wed May 27 2020 Akira TAGOH <tagoh@redhat.com> - 1:7.200-2.1
|
|
|
ffbabc |
- Backport fontconfig files from Fedora
|
|
|
ffbabc |
- Sub-packaging per family names as usually do in Fdora.
|
|
|
ffbabc |
Resolves: rhbz#1777843
|
|
|
ffbabc |
|
|
|
aa44e3 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.200-2
|
|
|
aa44e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Wed Nov 01 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 1:7.200-1
|
|
|
aa44e3 |
- Upstream release
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.002-3
|
|
|
aa44e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Sun May 21 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 1:6.002-2
|
|
|
aa44e3 |
- Fix obsolete tag
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Mon May 15 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 1:6.002-1
|
|
|
aa44e3 |
- Use Epoch to sync version with upstream
|
|
|
aa44e3 |
- Latest stable upstream release
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:20151221-6
|
|
|
aa44e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Wed Apr 20 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-5
|
|
|
aa44e3 |
- Improved appstream file with fonts list
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Sun Mar 27 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-4
|
|
|
aa44e3 |
- Fixed compatibility issue with Fedora 22 and EPEL7 less
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Fri Mar 25 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-3
|
|
|
aa44e3 |
- Switched doc section to license
|
|
|
aa44e3 |
- Deleted oft and ttf subdirectories
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Fri Mar 25 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-2
|
|
|
aa44e3 |
- Moved appstream-util to check section
|
|
|
aa44e3 |
|
|
|
aa44e3 |
* Thu Mar 24 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-1
|
|
|
aa44e3 |
- Initial build
|