|
|
6c15ec5 |
%global pkgname roboto
|
|
|
e5a50bc |
%global srcname %{pkgname}-unhinted
|
|
|
6c15ec5 |
%global fontname google-roboto
|
|
|
9268422 |
%global fontconf 64-%{fontname}
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
Name: google-roboto-fonts
|
|
|
5da4c9a |
Version: 2.138
|
|
|
e187c47 |
Release: 7%{?dist}
|
|
|
6c15ec5 |
Summary: Google Roboto fonts
|
|
|
6c15ec5 |
|
|
|
f2fd0b2 |
# Only the metainfo.xml files are CC0
|
|
|
f2fd0b2 |
License: ASL 2.0 and CC0
|
|
|
e5a50bc |
URL: https://github.com/google/roboto
|
|
|
e5a50bc |
Source0: https://github.com/google/%{pkgname}/releases/download/v%{version}/%{srcname}.zip
|
|
|
b5e245d |
Source1: %{fontconf}-condensed-fontconfig.conf
|
|
|
b5e245d |
Source2: %{fontconf}-fontconfig.conf
|
|
|
b5e245d |
Source3: %{fontname}-condensed.metainfo.xml
|
|
|
b5e245d |
Source4: %{fontname}.metainfo.xml
|
|
|
6c15ec5 |
BuildArch: noarch
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
BuildRequires: fontpackages-devel
|
|
|
6c15ec5 |
|
|
|
54fb239 |
Obsoletes: %{fontname}-common < 2.134-1
|
|
|
9aac9d4 |
|
|
|
6c15ec5 |
%description
|
|
|
6c15ec5 |
Roboto is a sans-serif typeface family introduced with Android Ice Cream
|
|
|
6c15ec5 |
Sandwich operating system. Google describes the font as "modern, yet
|
|
|
6c15ec5 |
approachable" and "emotional".
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
%package -n %{fontname}-condensed-fonts
|
|
|
6c15ec5 |
Summary: Google Roboto condensed fonts
|
|
|
54fb239 |
Obsoletes: %{fontname}-common < 2.134-1
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
%description -n %{fontname}-condensed-fonts
|
|
|
6c15ec5 |
Google Roboto condensed fonts.
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
%prep
|
|
|
5da4c9a |
%autosetup -c -n %{srcname}
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
%build
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
%install
|
|
|
6c15ec5 |
# install fonts
|
|
|
6c15ec5 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
e5a50bc |
install -m 0644 -p Roboto*.ttf %{buildroot}%{_fontdir}
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
# install fontconfig files
|
|
|
6c15ec5 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
6c15ec5 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
b5e245d |
install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
|
|
b5e245d |
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-condensed.conf
|
|
|
6c15ec5 |
for fconf in %{fontconf}.conf %{fontconf}-condensed.conf; do
|
|
|
6c15ec5 |
ln -s %{_fontconfig_templatedir}/$fconf %{buildroot}%{_fontconfig_confdir}/$fconf
|
|
|
6c15ec5 |
done
|
|
|
6c15ec5 |
|
|
|
f2fd0b2 |
# install appdata
|
|
|
f2fd0b2 |
install -m 0755 -d %{buildroot}%{_datadir}/appdata
|
|
|
b5e245d |
install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata
|
|
|
f2fd0b2 |
|
|
|
6c15ec5 |
%_font_pkg -f %{fontconf}.conf Roboto-*.ttf
|
|
|
f2fd0b2 |
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
54fb239 |
%license LICENSE
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
%_font_pkg -n condensed -f %{fontconf}-condensed.conf RobotoCondensed-*.ttf
|
|
|
f2fd0b2 |
%{_datadir}/appdata/%{fontname}-condensed.metainfo.xml
|
|
|
e5a50bc |
%license LICENSE
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
%changelog
|
|
|
e187c47 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-7
|
|
|
e187c47 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e187c47 |
|
|
|
2d31a92 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-6
|
|
|
2d31a92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
2d31a92 |
|
|
|
eb8e340 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-5
|
|
|
eb8e340 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
eb8e340 |
|
|
|
e231e78 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-4
|
|
|
e231e78 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e231e78 |
|
|
|
6693b9b |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-3
|
|
|
6693b9b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6693b9b |
|
|
|
bcfd1a9 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.138-2
|
|
|
bcfd1a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
bcfd1a9 |
|
|
|
5da4c9a |
* Tue Nov 14 2017 Harry Mallon <hjmallon@gmail.com> - 2.138-1
|
|
|
5da4c9a |
- new upstream release
|
|
|
5da4c9a |
|
|
|
3b6a49b |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.136-3
|
|
|
3b6a49b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
3b6a49b |
|
|
|
674454e |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.136-2
|
|
|
674454e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
674454e |
|
|
|
3cf1965 |
* Mon Jan 30 2017 David Tardon <dtardon@redhat.com> - 2.136-1
|
|
|
3cf1965 |
- new upstream release
|
|
|
3cf1965 |
|
|
|
b5e245d |
* Tue Nov 08 2016 David Tardon <dtardon@redhat.com> - 2.135-1
|
|
|
b5e245d |
- new upstream release
|
|
|
b5e245d |
|
|
|
e5a50bc |
* Mon Sep 26 2016 David Tardon <dtardon@redhat.com> - 2.134-1
|
|
|
e5a50bc |
- update to latest release
|
|
|
e5a50bc |
|
|
|
6d62717 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-10
|
|
|
6d62717 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
6d62717 |
|
|
|
7d83f5c |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-9
|
|
|
7d83f5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7d83f5c |
|
|
|
9aac9d4 |
* Tue Dec 23 2014 David Tardon <dtardon@redhat.com> - 1.2-8
|
|
|
9aac9d4 |
- revert the previous "update"
|
|
|
4da80d8 |
- Resolves: rhbz#1174935 fix font metadata
|
|
|
9aac9d4 |
|
|
|
8a6ce4e |
* Tue Dec 23 2014 David Tardon <dtardon@redhat.com> - 1.2-7
|
|
|
8a6ce4e |
- drop obsolete requires
|
|
|
8a6ce4e |
|
|
|
6a08d1a |
* Wed Dec 17 2014 David Tardon <dtardon@redhat.com> - 1.2-6
|
|
|
6a08d1a |
- Resolves: rhbz#1174935 update to what is presumably the latest release
|
|
|
6a08d1a |
of the font
|
|
|
6a08d1a |
|
|
|
3b3d769 |
* Mon Nov 24 2014 David Tardon <dtardon@redhat.com> - 1.2-5
|
|
|
3b3d769 |
- use just Roboto as the font's name in metainfo
|
|
|
3b3d769 |
|
|
|
d2b00f9 |
* Thu Nov 20 2014 David Tardon <dtardon@redhat.com> - 1.2-4
|
|
|
d2b00f9 |
- add AppData files
|
|
|
d2b00f9 |
|
|
|
e6e53f0 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
|
e6e53f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
e6e53f0 |
|
|
|
6c15ec5 |
* Mon Apr 07 2014 David Tardon <dtardon@redhat.com> - 1.2-2
|
|
|
6c15ec5 |
- integrate package review suggestions
|
|
|
6c15ec5 |
|
|
|
6c15ec5 |
* Thu Apr 03 2014 David Tardon <dtardon@redhat.com> - 1.2-1
|
|
|
6c15ec5 |
- initial import
|