Akira TAGOH 3e8de48
# Packaging template: basic single-family fonts packaging.
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# SPDX-License-Identifier: MIT
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# This template documents the minimal set of spec declarations, necessary to
Akira TAGOH 3e8de48
# package a single font family, from a single dedicated source archive.
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# It is part of the following set of packaging templates:
Akira TAGOH 3e8de48
# “fonts-0-simple”: basic single-family fonts packaging
Akira TAGOH 3e8de48
# “fonts-1-full”:   less common patterns for single-family fonts packaging
Akira TAGOH 3e8de48
# “fonts-2-multi”:  multi-family fonts packaging
Akira TAGOH 3e8de48
# “fonts-3-sub”:    packaging fonts, released as part of something else
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# A font family is composed of font files, that share a single design, and
Akira TAGOH 3e8de48
# differ ONLY in:
Akira TAGOH 3e8de48
# — Weight        Bold, Black…
Akira TAGOH 3e8de48
# – Width∕Stretch Narrow, Condensed, Expanded…
Akira TAGOH 3e8de48
# — Slope/Slant   Italic, Oblique
Akira TAGOH 3e8de48
# Optical sizing  Caption…
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# Those parameters correspond to the default axes of OpenType variable fonts:
Akira TAGOH 3e8de48
# https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxisreg#registered-axis-tags
Akira TAGOH 3e8de48
# The variable fonts model is an extension of the WWS model described in the
Akira TAGOH 3e8de48
# WPF Font Selection Model whitepaper (2007):
Akira TAGOH 3e8de48
# https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/02/24/90/36/WPF%20Font%20Selection%20Model.pdf
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# Do not rely on the naming upstream chose, to define family boundaries, it
Akira TAGOH 3e8de48
# will often be wrong.
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# Declaration order is chosen to limit divergence between those templates, and
Akira TAGOH 3e8de48
# simplify cut and pasting.
Akira TAGOH 3e8de48
#
Akira TAGOH 32fce7e
%global	archivedate 20110406
d8cc1e3
%global	download_root	http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/
Akira TAGOH 3e8de48
Version: 1.00
f31b4bd
Release: 0.32.%{archivedate}git%{?dist}
Akira TAGOH 3e8de48
URL:     http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts
Akira TAGOH 3e8de48
BuildRequires: fonts-rpm-macros >= 1:2.0.5-9
Akira TAGOH 3e8de48
Akira TAGOH 3e8de48
# The identifier of the entity, that released the font family.
Akira TAGOH 3e8de48
%global foundry           Motoya
Akira TAGOH 3e8de48
# The font family license identifier. Adjust as necessary. The OFL is our
Akira TAGOH 3e8de48
# recommended font license.
Akira TAGOH 32fce7e
%global fontlicense       Apache-2.0
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# The following directives are lists of space-separated shell globs
Akira TAGOH 3e8de48
#   – matching files associated with the font family,
Akira TAGOH 3e8de48
#   – as they exist in the build root,
Akira TAGOH 3e8de48
#   — at the end of the %build stage:
Akira TAGOH 3e8de48
# – legal files (licensing…)
Akira TAGOH 3e8de48
%global fontlicenses      NOTICE
Akira TAGOH 3e8de48
# – documentation files
Akira TAGOH 3e8de48
%global fontdocs          README.txt
Akira TAGOH 3e8de48
# – exclusions from the ”fontdocs” list
Akira TAGOH 3e8de48
%global fontdocsex        %{fontlicenses}
Akira TAGOH 3e8de48
Akira TAGOH 3e8de48
# The human-friendly font family name, whitespace included, restricted to the
Akira TAGOH 3e8de48
# the Basic Latin Unicode block.
Akira TAGOH 3e8de48
%global fontfamily        MotoyaLCedar
Akira TAGOH 3e8de48
%global fontsummary       Japanese Gothic-typeface TrueType fonts by MOTOYA Co,LTD
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# More shell glob lists:
Akira TAGOH 3e8de48
# – font family files
Akira TAGOH 3e8de48
%global fonts             MTLc3m.ttf
Akira TAGOH 3e8de48
# – fontconfig files
Akira TAGOH 3e8de48
%global fontconfs         %{SOURCE10}
Akira TAGOH 3e8de48
#
Akira TAGOH 3e8de48
# A multi-line description block for the generated package.
Akira TAGOH 3e8de48
%global fontdescription   %{expand:
d8cc1e3
Motoya font was created in 1950s, it aims beauty and readability.
d8cc1e3
"MotoyaLCedar W3 mono", Gothic-typeface font was contributed by
d8cc1e3
MOTOYA Co,LTD. for Android platform.
Akira TAGOH 3e8de48
}
Akira TAGOH 3e8de48
Akira TAGOH 3e8de48
Source0:  %{download_root}MTLc3m.ttf
Akira TAGOH 3e8de48
# Adjust as necessary. Keeping the filename in sync with the package name is a good idea.
Akira TAGOH 3e8de48
# See the fontconfig templates in fonts-rpm-templates for information on how to
Akira TAGOH 3e8de48
# write good fontconfig files and choose the correct priority [number].
Akira TAGOH 3e8de48
Source10: 70-motoya-lcedar-fonts.conf
Akira TAGOH 3e8de48
Source20: %{download_root}NOTICE
Akira TAGOH 3e8de48
Source21: %{download_root}README.txt
Akira TAGOH 3e8de48
Akira TAGOH 3e8de48
%fontpkg
d8cc1e3
d8cc1e3
%prep
d8cc1e3
%setup -q -c -T
Akira TAGOH 3e8de48
cp %{SOURCE0} .
Akira TAGOH 3e8de48
cp %{SOURCE20} .
Akira TAGOH 3e8de48
cp %{SOURCE21} .
d8cc1e3
d8cc1e3
%build
Akira TAGOH 3e8de48
%fontbuild
d8cc1e3
d8cc1e3
%install
Akira TAGOH 3e8de48
%fontinstall
Akira TAGOH 18330aa
Akira TAGOH 18330aa
%check
Akira TAGOH 3e8de48
%fontcheck
d8cc1e3
Akira TAGOH 3e8de48
%fontfiles
d8cc1e3
d8cc1e3
%changelog
f31b4bd
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.32.20110406git
f31b4bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
f31b4bd
91d9ced
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.31.20110406git
91d9ced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
91d9ced
c7646a7
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.30.20110406git
c7646a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
c7646a7
Akira TAGOH 32fce7e
* Fri Dec  2 2022 Akira TAGOH <tagoh@redhat.com> - 1.00-0.29.20110406git
Akira TAGOH 32fce7e
- Convert License tag to SPDX.
Akira TAGOH 32fce7e
Akira TAGOH 3e8de48
* Wed Aug 24 2022 Akira TAGOH <tagoh@redhat.com> - 1.00-0.28.20110406git
Akira TAGOH 3e8de48
- Revise the spec file for new packaging guidelines.
Akira TAGOH 3e8de48
325575b
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.27.20110406git
325575b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
325575b
f03ef09
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.26.20110406git
f03ef09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f03ef09
9c9ff55
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.25.20110406git
9c9ff55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9c9ff55
83283d3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.24.20110406git
83283d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
83283d3
3e0d631
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.23.20110406git
3e0d631
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3e0d631
4e6354b
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.22.20110406git
4e6354b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4e6354b
6cd60b3
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.21.20110406git
6cd60b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6cd60b3
Akira TAGOH 18330aa
* Wed Jun  5 2019 Akira TAGOH <tagoh@redhat.com> - 1.00-0.20.20110406git
Akira TAGOH 18330aa
- Install metainfo files under %%{_metainfodir}.
Akira TAGOH 18330aa
Akira TAGOH 42953bc
* Fri May 17 2019 Akira TAGOH <tagoh@redhat.com> - 1.00-0.19.20110406git
Akira TAGOH 42953bc
- Fix a typo in conf.
Akira TAGOH 42953bc
137a7fb
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.18.20110406git
137a7fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
137a7fb
d328b1a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.17.20110406git
d328b1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d328b1a
be2b582
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.16.20110406git
be2b582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
be2b582
Akira TAGOH 0902de7
* Mon Jan 22 2018 Akira TAGOH <tagoh@redhat.com> - 1.00-0.14.20110406git
Akira TAGOH 0902de7
- Update the priority to change the default font to Noto.
Akira TAGOH 0902de7
05c98e1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.14.20110406git
05c98e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
05c98e1
8af1a7b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.13.20110406git
8af1a7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8af1a7b
f8aafe9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-0.12.20110406git
f8aafe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f8aafe9
1a525b7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-0.11.20110406git
1a525b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1a525b7
6bcaefb
* Sun Nov 09 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.00-0.10.20110406git
6bcaefb
- Add metainfo file to show this font in gnome-software
6bcaefb
- Remove %%clean section which is optional now
6bcaefb
- Remove removal of buildroot in %%install
6bcaefb
- Remove group tag
6bcaefb
bb66a14
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-0.9.20110406git
bb66a14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bb66a14
b280abb
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-0.8.20110406git
b280abb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b280abb
f61ca52
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-0.7.20110406git
f61ca52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f61ca52
dbc39b6
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-0.6.20110406git
dbc39b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dbc39b6
8c6c906
* Wed Jul  4 2012 Akira TAGOH <tagoh@redhat.com> - 1.00-0.5.20110406git
8c6c906
- Correct fontconfig config file. (#837530)
8c6c906
77f318f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-0.4.20110406git
77f318f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
77f318f
8b6c706
* Fri Apr  8 2011 Akira TAGOH <tagoh@redhat.com> - 1.00-0.3.20110406git
8b6c706
- Updates from upstream git.
8b6c706
  https://review.source.android.com/#change,22161
8b6c706
caf3cf5
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-0.2.20100928git
caf3cf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
caf3cf5
d8cc1e3
* Tue Sep 28 2010 Akira TAGOH <tagoh@redhat.com> - 1.00-0.1.20100928git
d8cc1e3
- Initial package.