Blame SPECS/google-droid-fonts.spec

9bb601
# SPDX-License-Identifier: MIT
9bb601
BuildArch: noarch
9bb601
9bb601
# No sane versionning upstream, use git clone timestamp
9bb601
Version: 20200215
9bb601
Release: 11%{?dist}.1
9bb601
License: ASL 2.0 and OFL
9bb601
## DroidSansDevanagari is licensed under OFL
9bb601
URL:     https://android.googlesource.com/
9bb601
9bb601
%global source_name       google-droid-fonts
9bb601
9bb601
%global foundry           Google
9bb601
%global fontlicenses      NOTICE
9bb601
%global fontdocs          *.txt
9bb601
9bb601
%global common_description %{expand:
9bb601
The Droid font family was designed in the fall of 2006 by Ascenderโ€™s Steve
9bb601
Matteson, as a commission from Google to create a set of system fonts for its
9bb601
Android platform. The goal was to provide optimal quality and comfort on a
9bb601
mobile handset when rendered in application menus, web browsers and for other
9bb601
screen text.
9bb601
9bb601
The family was later extended in collaboration with other designers such as
9bb601
Pascal Zoghbi of 29ArabicLetters.}
9bb601
9bb601
%global fontfamily1       Droid Sans
9bb601
%global fontsummary1      Droid Sans, a humanist sans-serif font family
9bb601
%global fontpkgheader1   %{expand:
9bb601
Obsoletes: google-droid-kufi-fonts < %{version}-%{release}
9bb601
Suggests: font(notosans)
9bb601
}
9bb601
%global fonts1            DroidSans*ttf DroidKufi*ttf
9bb601
%global fontsex1          DroidSansMono*ttf DroidSansFallback.ttf DroidSansHebrew.ttf
9bb601
%global fontconfngs1      %{SOURCE11}
9bb601
%global fontdescription1  %{expand:
9bb601
%{common_description}
9bb601
9bb601
Droid Sans is a humanist sans serif font family designed for user interfaces and electronic communication.
9bb601
9bb601
The Arabic block was initially designed by Steve Matteson of Ascender under the
9bb601
Droid Kufi name, with consulting by Pascal Zoghbi of 29ArabicLetters to
9bb601
finalize the font family.}
9bb601
9bb601
%global fontfamily2       Droid Sans Mono
9bb601
%global fontsummary2      Droid Sans Mono, a humanist mono-space sans-serif font family
9bb601
%global fontpkgheader2    %{expand:
9bb601
Suggests: font(notosansmono)
9bb601
}
9bb601
%global fonts2            DroidSansMono*ttf
9bb601
%global fontconfngs2      %{SOURCE12}
9bb601
%global fontdescription2  %{expand:
9bb601
%{common_description}
9bb601
9bb601
Droid Sans Mono is a humanist mono-space sans serif font family designed for
9bb601
user interfaces and electronic communication.}
9bb601
9bb601
%global fontfamily3       Droid Serif
9bb601
%global fontsummary3      Droid Serif, a contemporary serif font family
9bb601
%global fontpkgheader3    %{expand:
9bb601
Suggests: font(notoserif)
9bb601
}
9bb601
%global fonts3            DroidSerif*ttf DroidNaskh*ttf
9bb601
%global fontsex3          DroidNaskhUI-Regular.ttf DroidNaskh-Regular-Shift.ttf
9bb601
%global fontconfngs3      %{SOURCE13}
9bb601
%global fontdescription3  %{expand:
9bb601
%{common_description}
9bb601
9bb601
Droid Serif is a contemporary serif typeface family designed for comfortable
9bb601
reading on screen. Droid Serif is slightly condensed to maximize the amount of
9bb601
text displayed on small screens. Vertical stress and open forms contribute to
9bb601
its readability while its proportion and overall design complement its
9bb601
companion Droid Sans.
9bb601
9bb601
The Arabic block was designed by Pascal Zoghbi of 29ArabicLetters under the
9bb601
Droid Naskh name.}
9bb601
9bb601
%global archivename google-droid-fonts-%{version}
9bb601
9bb601
9bb601
Source0:  %{archivename}.tar.xz
9bb601
# Brutal script used to pull sources from upstream git
9bb601
# Needs at least 2 Gib of space in /var/tmp
9bb601
Source1:  getdroid.sh
9bb601
Source11: 65-%{fontpkgname1}.xml
9bb601
Source12: 60-%{fontpkgname2}.xml
9bb601
Source13: 65-%{fontpkgname3}.xml
9bb601
9bb601
Name:     google-droid-fonts
9bb601
Summary:  A set of general-purpose font families released by Google as part of Android
9bb601
%description
9bb601
%wordwrap -v common_description
9bb601
9bb601
%fontpkg -a
9bb601
9bb601
%fontmetapkg
9bb601
9bb601
%prep
9bb601
%setup -q -n %{archivename}
9bb601
9bb601
%build
9bb601
%fontbuild -a
9bb601
9bb601
%install
9bb601
%fontinstall -a
9bb601
9bb601
%check
9bb601
%fontcheck -a
9bb601
9bb601
%fontfiles -a
9bb601
9bb601
%changelog
9bb601
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20200215-11.1
9bb601
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
9bb601
  Related: rhbz#1991688
9bb601
9bb601
* Tue Jun 15 2021 Akira TAGOH <tagoh@redhat.com> - 20200215-10.1
9bb601
- Add OFL to License tag for DroidSansDevanagari font.
9bb601
  Resolves: rhbz#1972027
9bb601
9bb601
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 20200215-10
9bb601
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
9bb601
9bb601
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200215-9
9bb601
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9bb601
9bb601
* Fri Sep 11 2020 Parag Nemade <pnemade AT redhat DOT com>
9bb601
- 20200215-8
9bb601
- Fix this spec file to build for F33+
9bb601
9bb601
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org>
9bb601
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9bb601
9bb601
* Mon Apr 27 2020 Nicolas Mailhot <nim@fedoraproject.org>
9bb601
- 20200215-6
9bb601
๐Ÿž Workaround Fedora problems created by rpm commit 93604e2
9bb601
9bb601
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
9bb601
- 20200215-5
9bb601
๐Ÿ’ฅ Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are
9bb601
  valid
9bb601
9bb601
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
9bb601
- 20200215-4
9bb601
๐Ÿ‘ป Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid
9bb601
9bb601
* Mon Mar 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
9bb601
- 20200215-3
9bb601
โœ… Lint, lint, lint and lint again
9bb601
9bb601
* Sat Feb 22 2020 Nicolas Mailhot <nim@fedoraproject.org>
9bb601
- 20200215-2
9bb601
โœ… Rebuild with fonts-rpm-macros 2.0.2
9bb601
9bb601
* Sat Feb 15 2020 Nicolas Mailhot <nim@fedoraproject.org>
9bb601
- 20200215-1
9bb601
โœ… Convert to fonts-rpm-macros use
9bb601
9bb601
* Sun Nov 23 2008 Nicolas Mailhot <nim@fedoraproject.org>
9bb601
- 1.0.107-1
9bb601
โœ… Initial packaging