Compare commits

...

No commits in common. 'c9' and 'cs10' have entirely different histories.
c9 ... cs10

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<default>
<prefer>
<family>Lato</family>
</default>
</prefer>
</alias>
<alias>
<family>Lato</family>

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="font">
<id>lato</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Lato</name>
<summary>A classical sans-serif font family</summary>
<description>
<p>
The semi-rounded details of the letters give Lato a feeling of warmth,
while the strong structure provides stability and seriousness.
</p>
</description>
<updatecontact>richard_at_hughsie_dot_com</updatecontact>
<url type="homepage">http://www.latofonts.com/</url>
</component>

@ -1,25 +1,18 @@
%global fontname lato
%global fontconf 61-%{fontname}.conf
Version: 2.015
Release: 23%{?dist}
URL: http://www.latofonts.com/
Name: %{fontname}-fonts
Version: 2.015
Release: 14%{?dist}
Summary: A sanserif typeface family
%global fontlicense OFL-1.1
%global fontlicenses OFL.txt
%global fontdocs README.txt
%global fontdocsex %{fontlicenses}
License: OFL
URL: http://www.latofonts.com/
# Fonts retrieved 2015-08-07 from http://www.latofonts.com/download/Lato2OFL.zip
Source0: %{name}-%{version}.zip
Source1: %{name}-fontconfig.conf
Source2: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
Provides: google-lato-fonts = %{version}-%{release}
Obsoletes: google-lato-fonts < 1.014-1
%global fontfamily Lato
%global fontsummary A san-serif typeface family
%global fonts Lato-*.ttf
%global fontconfs %{SOURCE10}
%description
%global fontdescription %{expand:
Lato is a sanserif typeface family designed in the Summer 2010 by Warsaw-based
designer Łukasz Dziedzic ("Lato" means "Summer" in Polish). In December 2010 the
Lato family was published under the open-source Open Font License by his foundry
@ -41,53 +34,74 @@ Lato consists of nine weights (plus corresponding italics), including a
beautiful hairline style. It covers 2300+ glyphs per style and supports 100+
Latin-based languages, 50+ Cyrillic-based languages as well as Greek and IPA
phonetics.
}
# Fonts retrieved 2015-08-07 from http://www.latofonts.com/download/Lato2OFL.zip
Source0: %{name}-%{version}.zip
Source10: 61-%{fontpkgname0}.conf
%fontpkg
%prep
%setup -q -c
%setup -q -n Lato2OFL
# Fix wrong end-of-lines encoding
sed "s/\r//" Lato2OFL/OFL.txt > Lato2OFL/OFL.txt.new
touch -r Lato2OFL/OFL.txt Lato2OFL/OFL.txt.new
mv Lato2OFL/OFL.txt.new Lato2OFL/OFL.txt
%linuxtext OFL.txt
# Fix permissions
chmod 0644 Lato2OFL/{OFL.txt,README.txt}
chmod 0644 OFL.txt README.txt
%build
%fontbuild
%install
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
install -m 0644 -p Lato2OFL/*.ttf $RPM_BUILD_ROOT%{_fontdir}
%fontinstall
%check
%fontcheck
install -m 0755 -d $RPM_BUILD_ROOT%{_fontconfig_templatedir} $RPM_BUILD_ROOT%{_fontconfig_confdir}
%fontfiles
install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} $RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf}
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.015-23
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
# Add AppStream metadata
install -Dm 0644 -p %{SOURCE2} \
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
* Fri Jul 12 2024 Akira TAGOH <tagoh@redhat.com> - 2.015-22
- Fix a typo in fontconfig config.
%_font_pkg -f %{fontconf} *.ttf
%doc Lato2OFL/README.txt
%license Lato2OFL/OFL.txt
%{_datadir}/appdata/%{fontname}.metainfo.xml
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.015-21
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
%changelog
* Thu Aug 19 2021 Akira TAGOH <tagoh@redhat.com> - 2.015-14
- Rebuild to enable CI and gating.
Resolves: rhbz#1989812
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 28 2023 Akira TAGOH <tagoh@redhat.com> - 2.015-18
- Convert License tag to SPDX.
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jun 26 2023 Parag Nemade <pnemade AT fedoraproject DOT org> - 2.015-16
- Convert to new fonts packaging guidelines
- Migrate to SPDX license expression
- Drop very very old obsoletes for google-lato-fonts
- Add gating CI tests in Fedora
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.015-13
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.015-12
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save