commit
88dc5c2f4f
@ -0,0 +1 @@
|
|||||||
|
SOURCES/roboto-unhinted.zip
|
@ -0,0 +1 @@
|
|||||||
|
4cf39e62ddf62ada9260585a95e6838c5100da7e SOURCES/roboto-unhinted.zip
|
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Roboto Condensed</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Roboto Condensed</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
<match target="scan">
|
||||||
|
<test name="family">
|
||||||
|
<string>Roboto Condensed</string>
|
||||||
|
</test>
|
||||||
|
<edit name="width">
|
||||||
|
<const>condensed</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
||||||
|
|
@ -0,0 +1,49 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Roboto</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Roboto</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
<match target="scan">
|
||||||
|
<test name="style">
|
||||||
|
<string>Thin</string>
|
||||||
|
</test>
|
||||||
|
<edit name="weight">
|
||||||
|
<const>thin</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="scan">
|
||||||
|
<test name="style">
|
||||||
|
<string>Thin Italic</string>
|
||||||
|
</test>
|
||||||
|
<edit name="weight">
|
||||||
|
<const>thin</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="scan">
|
||||||
|
<test name="style">
|
||||||
|
<string>Black</string>
|
||||||
|
</test>
|
||||||
|
<edit name="weight">
|
||||||
|
<const>black</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="scan">
|
||||||
|
<test name="style">
|
||||||
|
<string>Black Italic</string>
|
||||||
|
</test>
|
||||||
|
<edit name="weight">
|
||||||
|
<const>black</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="font">
|
||||||
|
<id>google-roboto-condensed</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<extends>google-roboto</extends>
|
||||||
|
</component>
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="font">
|
||||||
|
<id>google-roboto</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<name>Roboto</name>
|
||||||
|
<summary>Roboto font family</summary>
|
||||||
|
<description>
|
||||||
|
<p>Roboto is a sans-serif typeface family introduced with Android Ice Cream
|
||||||
|
Sandwich operating system. Google describes the font as "modern, yet
|
||||||
|
approachable" and "emotional".
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<update_contact>dtardon@redhat.com</update_contact>
|
||||||
|
<url type="homepage">https://www.google.com/fonts/specimen/Roboto</url>
|
||||||
|
</component>
|
@ -0,0 +1,144 @@
|
|||||||
|
%global pkgname roboto
|
||||||
|
%global srcname %{pkgname}-unhinted
|
||||||
|
%global fontname google-roboto
|
||||||
|
%global fontconf 64-%{fontname}
|
||||||
|
|
||||||
|
Name: google-roboto-fonts
|
||||||
|
Version: 2.138
|
||||||
|
Release: 10%{?dist}
|
||||||
|
Summary: Google Roboto fonts
|
||||||
|
|
||||||
|
# Only the metainfo.xml files are CC0
|
||||||
|
License: ASL 2.0 and CC0
|
||||||
|
URL: https://github.com/google/roboto
|
||||||
|
Source0: https://github.com/google/%{pkgname}/releases/download/v%{version}/%{srcname}.zip
|
||||||
|
Source1: %{fontconf}-condensed-fontconfig.conf
|
||||||
|
Source2: %{fontconf}-fontconfig.conf
|
||||||
|
Source3: %{fontname}-condensed.metainfo.xml
|
||||||
|
Source4: %{fontname}.metainfo.xml
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
|
||||||
|
Obsoletes: %{fontname}-common < 2.134-1
|
||||||
|
|
||||||
|
%description
|
||||||
|
Roboto is a sans-serif typeface family introduced with Android Ice Cream
|
||||||
|
Sandwich operating system. Google describes the font as "modern, yet
|
||||||
|
approachable" and "emotional".
|
||||||
|
|
||||||
|
%package -n %{fontname}-condensed-fonts
|
||||||
|
Summary: Google Roboto condensed fonts
|
||||||
|
Obsoletes: %{fontname}-common < 2.134-1
|
||||||
|
|
||||||
|
%description -n %{fontname}-condensed-fonts
|
||||||
|
Google Roboto condensed fonts.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -c -n %{srcname}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
# install fonts
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
|
install -m 0644 -p Roboto*.ttf %{buildroot}%{_fontdir}
|
||||||
|
|
||||||
|
# install fontconfig files
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||||
|
%{buildroot}%{_fontconfig_confdir}
|
||||||
|
install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
||||||
|
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-condensed.conf
|
||||||
|
for fconf in %{fontconf}.conf %{fontconf}-condensed.conf; do
|
||||||
|
ln -s %{_fontconfig_templatedir}/$fconf %{buildroot}%{_fontconfig_confdir}/$fconf
|
||||||
|
done
|
||||||
|
|
||||||
|
# install appdata
|
||||||
|
install -m 0755 -d %{buildroot}%{_datadir}/appdata
|
||||||
|
install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata
|
||||||
|
|
||||||
|
%_font_pkg -f %{fontconf}.conf Roboto-*.ttf
|
||||||
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%_font_pkg -n condensed -f %{fontconf}-condensed.conf RobotoCondensed-*.ttf
|
||||||
|
%{_datadir}/appdata/%{fontname}-condensed.metainfo.xml
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 14 2017 Harry Mallon <hjmallon@gmail.com> - 2.138-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.136-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.136-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 30 2017 David Tardon <dtardon@redhat.com> - 2.136-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Tue Nov 08 2016 David Tardon <dtardon@redhat.com> - 2.135-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Mon Sep 26 2016 David Tardon <dtardon@redhat.com> - 2.134-1
|
||||||
|
- update to latest release
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 23 2014 David Tardon <dtardon@redhat.com> - 1.2-8
|
||||||
|
- revert the previous "update"
|
||||||
|
- Resolves: rhbz#1174935 fix font metadata
|
||||||
|
|
||||||
|
* Tue Dec 23 2014 David Tardon <dtardon@redhat.com> - 1.2-7
|
||||||
|
- drop obsolete requires
|
||||||
|
|
||||||
|
* Wed Dec 17 2014 David Tardon <dtardon@redhat.com> - 1.2-6
|
||||||
|
- Resolves: rhbz#1174935 update to what is presumably the latest release
|
||||||
|
of the font
|
||||||
|
|
||||||
|
* Mon Nov 24 2014 David Tardon <dtardon@redhat.com> - 1.2-5
|
||||||
|
- use just Roboto as the font's name in metainfo
|
||||||
|
|
||||||
|
* Thu Nov 20 2014 David Tardon <dtardon@redhat.com> - 1.2-4
|
||||||
|
- add AppData files
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Apr 07 2014 David Tardon <dtardon@redhat.com> - 1.2-2
|
||||||
|
- integrate package review suggestions
|
||||||
|
|
||||||
|
* Thu Apr 03 2014 David Tardon <dtardon@redhat.com> - 1.2-1
|
||||||
|
- initial import
|
Loading…
Reference in new issue