|
|
f624429 |
%global fontname julietaula-montserrat
|
|
|
1a76a16 |
%global fontconf 61-%{fontname}
|
|
|
1a76a16 |
%global common_desc \
|
|
|
7050304 |
A typeface inspired by signs around the Montserrat area of Buenos Aires, Argentina
|
|
|
f624429 |
|
|
|
1a76a16 |
Name: %{fontname}-fonts
|
|
|
935d64a |
Version: 7.200
|
|
|
7050304 |
Release: 5%{?dist}
|
|
|
aaf710a |
# Override versioning to sync with upstream
|
|
|
aaf710a |
Epoch: 1
|
|
|
1a76a16 |
Summary: Sans-serif typeface inspired from Montserrat area
|
|
|
f624429 |
|
|
|
f624429 |
License: OFL
|
|
|
aaf710a |
URL: https://github.com/JulietaUla/Montserrat
|
|
|
aaf710a |
Source0: %{url}/archive/Montserrat/v%{version}.tar.gz#/Montserrat-%{version}.tar.gz
|
|
|
f624429 |
Source1: %{name}-fontconfig.conf
|
|
|
1a76a16 |
Source2: %{name}-alternates-fontconfig.conf
|
|
|
1a76a16 |
Source3: %{fontname}.metainfo.xml
|
|
|
1a76a16 |
Source4: %{fontname}-alternates.metainfo.xml
|
|
|
f624429 |
|
|
|
f624429 |
BuildArch: noarch
|
|
|
f624429 |
BuildRequires: fontpackages-devel
|
|
|
f624429 |
%if 0%{?fedora} >= 21
|
|
|
f624429 |
BuildRequires: libappstream-glib
|
|
|
f624429 |
%endif
|
|
|
f624429 |
Requires: fontpackages-filesystem
|
|
|
f624429 |
|
|
|
6c3ccb5 |
# Reset the old date based versioning
|
|
|
6c3ccb5 |
Obsoletes: %{name} < 1:%{version}-%{release}
|
|
|
aaf710a |
|
|
|
aaf710a |
|
|
|
f624429 |
%description
|
|
|
1a76a16 |
%common_desc
|
|
|
1a76a16 |
|
|
|
1a76a16 |
%package common
|
|
|
1a76a16 |
Summary: Common files for %{name}
|
|
|
1a76a16 |
Requires: fontpackages-filesystem
|
|
|
1a76a16 |
|
|
|
1a76a16 |
%description common
|
|
|
1a76a16 |
%common_desc
|
|
|
1a76a16 |
This package consists of files used by other %{name} packages.
|
|
|
1a76a16 |
|
|
|
1a76a16 |
%package -n %{fontname}
|
|
|
7050304 |
Summary: Base version of the Montserrat area inspired typeface
|
|
|
7050304 |
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
1a76a16 |
|
|
|
1a76a16 |
%description -n %{fontname}
|
|
|
1a76a16 |
%common_desc
|
|
|
1a76a16 |
|
|
|
1a76a16 |
%_font_pkg -f %{fontconf}.conf Montserrat-*.otf
|
|
|
1a76a16 |
%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
|
|
1a76a16 |
|
|
|
7050304 |
%package -n %{fontname}-alternates-fonts
|
|
|
7050304 |
Summary: A Montserrat area inspired typeface family alternate version
|
|
|
7050304 |
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
1a76a16 |
|
|
|
7050304 |
%description -n %{fontname}-alternates-fonts
|
|
|
1a76a16 |
%common_desc
|
|
|
1a76a16 |
|
|
|
1a76a16 |
%_font_pkg -n alternates -f %{fontconf}-alternates.conf MontserratAlternates-*.otf
|
|
|
1a76a16 |
%{_datadir}/metainfo/%{fontname}-alternates.metainfo.xml
|
|
|
f624429 |
|
|
|
f624429 |
%prep
|
|
|
aaf710a |
%autosetup -c
|
|
|
f624429 |
|
|
|
f624429 |
%build
|
|
|
f624429 |
|
|
|
f624429 |
|
|
|
f624429 |
%install
|
|
|
aaf710a |
install -Dpm 0644 Montserrat-%{version}/fonts/otf/*.otf -t %{buildroot}%{_fontdir}
|
|
|
f624429 |
|
|
|
f624429 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
f624429 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
f624429 |
|
|
|
1a76a16 |
# Install Montserrat fonts
|
|
|
f624429 |
install -m 0644 -p %{SOURCE1} \
|
|
|
1a76a16 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
|
|
1a76a16 |
|
|
|
1a76a16 |
# Install MontserratAlternates fonts
|
|
|
1a76a16 |
install -m 0644 -p %{SOURCE2} \
|
|
|
1a76a16 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-alternates.conf
|
|
|
f624429 |
|
|
|
1a76a16 |
for fconf in %{fontconf}.conf \
|
|
|
1a76a16 |
%{fontconf}-alternates.conf ; do
|
|
|
1a76a16 |
ln -s %{_fontconfig_templatedir}/$fconf \
|
|
|
7050304 |
%{buildroot}%{_fontconfig_confdir}/$fconf
|
|
|
1a76a16 |
done
|
|
|
1a76a16 |
|
|
|
1a76a16 |
# Add AppStream metadata file, Repeat for every font family
|
|
|
f624429 |
%if 0%{?fedora} >= 21
|
|
|
1a76a16 |
install -Dm 0644 -p %{SOURCE3} \
|
|
|
aaf710a |
%{buildroot}%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
|
|
1a76a16 |
install -Dm 0644 -p %{SOURCE4} \
|
|
|
1a76a16 |
%{buildroot}%{_datadir}/metainfo/%{fontname}-alternates.metainfo.xml
|
|
|
f624429 |
|
|
|
f624429 |
%check
|
|
|
aaf710a |
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
|
|
1a76a16 |
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{fontname}-alternates.metainfo.xml
|
|
|
f624429 |
%endif
|
|
|
1a76a16 |
|
|
|
1a76a16 |
%files common
|
|
|
aaf710a |
%license Montserrat-%{version}/OFL.txt
|
|
|
aaf710a |
%doc Montserrat-%{version}/README.md
|
|
|
f624429 |
|
|
|
f624429 |
%changelog
|
|
|
7050304 |
* Sat Oct 27 2018 Luya Tshimbalanga <luya@fedoraproject.org> - 1:7.200-5
|
|
|
7050304 |
- Add missing epoch for dependencies rhbz#1643607
|
|
|
7050304 |
- Shorten the description
|
|
|
7050304 |
|
|
|
1a76a16 |
* Sat Oct 20 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.200-4
|
|
|
1a76a16 |
- Update spec file adhering to Fedora Fonts guideline rhbz#1628832
|
|
|
1a76a16 |
|
|
|
c3cb868 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.200-3
|
|
|
c3cb868 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c3cb868 |
|
|
|
20890c6 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.200-2
|
|
|
20890c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
20890c6 |
|
|
|
935d64a |
* Wed Nov 01 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 1:7.200-1
|
|
|
935d64a |
- Upstream release
|
|
|
935d64a |
|
|
|
fa4b310 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.002-3
|
|
|
fa4b310 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
fa4b310 |
|
|
|
6c3ccb5 |
* Sun May 21 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 1:6.002-2
|
|
|
6c3ccb5 |
- Fix obsolete tag
|
|
|
6c3ccb5 |
|
|
|
aaf710a |
* Mon May 15 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 1:6.002-1
|
|
|
aaf710a |
- Use Epoch to sync version with upstream
|
|
|
aaf710a |
- Latest stable upstream release
|
|
|
aaf710a |
|
|
|
28a4c22 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:20151221-6
|
|
|
f77cf66 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f77cf66 |
|
|
|
aaf710a |
* Wed Apr 20 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-5
|
|
|
ec06842 |
- Improved appstream file with fonts list
|
|
|
ec06842 |
|
|
|
aaf710a |
* Sun Mar 27 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-4
|
|
|
db3b56a |
- Fixed compatibility issue with Fedora 22 and EPEL7 less
|
|
|
db3b56a |
|
|
|
aaf710a |
* Fri Mar 25 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-3
|
|
|
f624429 |
- Switched doc section to license
|
|
|
f624429 |
- Deleted oft and ttf subdirectories
|
|
|
f624429 |
|
|
|
aaf710a |
* Fri Mar 25 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-2
|
|
|
f624429 |
- Moved appstream-util to check section
|
|
|
f624429 |
|
|
|
aaf710a |
* Thu Mar 24 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 0:20151221-1
|
|
|
f624429 |
- Initial build
|