Compare commits

..

No commits in common. 'c9' and 'i10c-beta' have entirely different histories.

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig> <fontconfig>
<alias> <alias>
<family>sans-serif</family> <family>sans-serif</family>
<default> <prefer>
<family>Lato</family> <family>Lato</family>
</default> </prefer>
</alias> </alias>
<alias> <alias>
<family>Lato</family> <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 Version: 2.015
%global fontconf 61-%{fontname}.conf Release: 22%{?dist}
URL: http://www.latofonts.com/
Name: %{fontname}-fonts %global fontlicense OFL-1.1
Version: 2.015 %global fontlicenses OFL.txt
Release: 14%{?dist} %global fontdocs README.txt
Summary: A sanserif typeface family %global fontdocsex %{fontlicenses}
License: OFL %global fontfamily Lato
URL: http://www.latofonts.com/ %global fontsummary A san-serif typeface family
# Fonts retrieved 2015-08-07 from http://www.latofonts.com/download/Lato2OFL.zip %global fonts Lato-*.ttf
Source0: %{name}-%{version}.zip %global fontconfs %{SOURCE10}
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
%description %global fontdescription %{expand:
Lato is a sanserif typeface family designed in the Summer 2010 by Warsaw-based 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 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 Lato family was published under the open-source Open Font License by his foundry
@ -41,53 +34,73 @@ Lato consists of nine weights (plus corresponding italics), including a
beautiful hairline style. It covers 2300+ glyphs per style and supports 100+ 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 Latin-based languages, 50+ Cyrillic-based languages as well as Greek and IPA
phonetics. phonetics.
}
# Fonts retrieved 2015-08-07 from http://www.latofonts.com/download/Lato2OFL.zip
Source0: %{name}-%{version}.zip
Source10: 61-%{fontpkgname0}.conf
%fontpkg
%prep %prep
%setup -q -c %setup -q -n Lato2OFL
# Fix wrong end-of-lines encoding # Fix wrong end-of-lines encoding
sed "s/\r//" Lato2OFL/OFL.txt > Lato2OFL/OFL.txt.new %linuxtext OFL.txt
touch -r Lato2OFL/OFL.txt Lato2OFL/OFL.txt.new
mv Lato2OFL/OFL.txt.new Lato2OFL/OFL.txt
# Fix permissions # Fix permissions
chmod 0644 Lato2OFL/{OFL.txt,README.txt} chmod 0644 OFL.txt README.txt
%build %build
%fontbuild
%install %install
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir} %fontinstall
install -m 0644 -p Lato2OFL/*.ttf $RPM_BUILD_ROOT%{_fontdir}
%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} %changelog
ln -s %{_fontconfig_templatedir}/%{fontconf} $RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf} * Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.015-22
- Rebuilt for MSVSphere 10
# Add AppStream metadata * Fri Jul 12 2024 Akira TAGOH <tagoh@redhat.com> - 2.015-22
install -Dm 0644 -p %{SOURCE2} \ - Fix a typo in fontconfig config.
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
%_font_pkg -f %{fontconf} *.ttf * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.015-21
%doc Lato2OFL/README.txt - Bump release for June 2024 mass rebuild
%license Lato2OFL/OFL.txt
%{_datadir}/appdata/%{fontname}.metainfo.xml
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
%changelog * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-19
* Thu Aug 19 2021 Akira TAGOH <tagoh@redhat.com> - 2.015-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
- Rebuild to enable CI and gating.
Resolves: rhbz#1989812 * 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 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-13
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.015-12 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-12
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-11 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.015-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save