|
Akira TAGOH |
63214f0 |
# Packaging template: basic single-family fonts packaging.
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# SPDX-License-Identifier: MIT
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# This template documents the minimal set of spec declarations, necessary to
|
|
Akira TAGOH |
63214f0 |
# package a single font family, from a single dedicated source archive.
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# It is part of the following set of packaging templates:
|
|
Akira TAGOH |
63214f0 |
# “fonts-0-simple”: basic single-family fonts packaging
|
|
Akira TAGOH |
63214f0 |
# “fonts-1-full”: less common patterns for single-family fonts packaging
|
|
Akira TAGOH |
63214f0 |
# “fonts-2-multi”: multi-family fonts packaging
|
|
Akira TAGOH |
63214f0 |
# “fonts-3-sub”: packaging fonts, released as part of something else
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# A font family is composed of font files, that share a single design, and
|
|
Akira TAGOH |
63214f0 |
# differ ONLY in:
|
|
Akira TAGOH |
63214f0 |
# — Weight Bold, Black…
|
|
Akira TAGOH |
63214f0 |
# – Width∕Stretch Narrow, Condensed, Expanded…
|
|
Akira TAGOH |
63214f0 |
# — Slope/Slant Italic, Oblique
|
|
Akira TAGOH |
63214f0 |
# Optical sizing Caption…
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# Those parameters correspond to the default axes of OpenType variable fonts:
|
|
Akira TAGOH |
63214f0 |
# https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxisreg#registered-axis-tags
|
|
Akira TAGOH |
63214f0 |
# The variable fonts model is an extension of the WWS model described in the
|
|
Akira TAGOH |
63214f0 |
# WPF Font Selection Model whitepaper (2007):
|
|
Akira TAGOH |
63214f0 |
# 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 |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# Do not rely on the naming upstream chose, to define family boundaries, it
|
|
Akira TAGOH |
63214f0 |
# will often be wrong.
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# Declaration order is chosen to limit divergence between those templates, and
|
|
Akira TAGOH |
63214f0 |
# simplify cut and pasting.
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
Version: 003.03
|
|
Akira TAGOH |
63214f0 |
Release: 23%{?dist}
|
|
Akira TAGOH |
63214f0 |
URL: http://ossipedia.ipa.go.jp/ipafont/
|
|
Akira TAGOH |
63214f0 |
BuildRequires: fonts-rpm-macros >= 1:2.0.5-9
|
|
Akira TAGOH |
63214f0 |
|
|
Akira TAGOH |
63214f0 |
# The identifier of the entity, that released the font family.
|
|
Akira TAGOH |
63214f0 |
%global foundry IPA
|
|
Akira TAGOH |
63214f0 |
# The font family license identifier. Adjust as necessary. The OFL is our
|
|
Akira TAGOH |
63214f0 |
# recommended font license.
|
|
Akira TAGOH |
63214f0 |
%global fontlicense IPA
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# The following directives are lists of space-separated shell globs
|
|
Akira TAGOH |
63214f0 |
# – matching files associated with the font family,
|
|
Akira TAGOH |
63214f0 |
# – as they exist in the build root,
|
|
Akira TAGOH |
63214f0 |
# — at the end of the %build stage:
|
|
Akira TAGOH |
63214f0 |
# – legal files (licensing…)
|
|
Akira TAGOH |
63214f0 |
%global fontlicenses IPA_Font_License_Agreement_v1.0.txt
|
|
Akira TAGOH |
63214f0 |
# – documentation files
|
|
Akira TAGOH |
63214f0 |
%global fontdocs Readme_ipamp00303.txt
|
|
Akira TAGOH |
63214f0 |
# – exclusions from the ”fontdocs” list
|
|
Akira TAGOH |
63214f0 |
%global fontdocsex %{fontlicenses}
|
|
Akira TAGOH |
63214f0 |
|
|
Akira TAGOH |
63214f0 |
# The human-friendly font family name, whitespace included, restricted to the
|
|
Akira TAGOH |
63214f0 |
# the Basic Latin Unicode block.
|
|
Akira TAGOH |
63214f0 |
%global fontfamily IPAPMincho
|
|
Akira TAGOH |
63214f0 |
%global fontsummary Japanese Proportional Mincho-typeface OpenType font by IPA
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# More shell glob lists:
|
|
Akira TAGOH |
63214f0 |
# – font family files
|
|
Akira TAGOH |
63214f0 |
%global fonts ipamp.ttf
|
|
Akira TAGOH |
63214f0 |
# – fontconfig files
|
|
Akira TAGOH |
63214f0 |
%global fontconfs %{SOURCE10}
|
|
Akira TAGOH |
63214f0 |
#
|
|
Akira TAGOH |
63214f0 |
# A multi-line description block for the generated package.
|
|
Akira TAGOH |
63214f0 |
%global fontdescription %{expand:
|
|
|
f2e5f64 |
IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004
|
|
|
f2e5f64 |
compliant, provided by Information-technology Promotion Agency, Japan.
|
|
|
f2e5f64 |
|
|
|
f2e5f64 |
This package contains Proportional Mincho style font.
|
|
Akira TAGOH |
63214f0 |
}
|
|
|
f2e5f64 |
|
|
Akira TAGOH |
63214f0 |
# http://info.openlab.ipa.go.jp/ipafont/fontdata/%{archivename}.zip
|
|
Akira TAGOH |
63214f0 |
Source0: http://info.openlab.ipa.go.jp/ipafont/fontdata/ipamp00303.zip
|
|
Akira TAGOH |
63214f0 |
# Adjust as necessary. Keeping the filename in sync with the package name is a good idea.
|
|
Akira TAGOH |
63214f0 |
# See the fontconfig templates in fonts-rpm-templates for information on how to
|
|
Akira TAGOH |
63214f0 |
# write good fontconfig files and choose the correct priority [number].
|
|
Akira TAGOH |
63214f0 |
Source10: 68-ipa-pmincho-fonts.conf
|
|
Akira TAGOH |
63214f0 |
|
|
Akira TAGOH |
63214f0 |
%fontpkg
|
|
|
f2e5f64 |
|
|
Akira TAGOH |
63214f0 |
%prep
|
|
Akira TAGOH |
63214f0 |
%setup -q -n ipamp00303
|
|
|
f2e5f64 |
|
|
|
f2e5f64 |
%build
|
|
Akira TAGOH |
63214f0 |
%fontbuild
|
|
|
f2e5f64 |
|
|
|
f2e5f64 |
%install
|
|
Akira TAGOH |
63214f0 |
%fontinstall
|
|
|
f2e5f64 |
|
|
Akira TAGOH |
63214f0 |
%check
|
|
Akira TAGOH |
63214f0 |
%fontcheck
|
|
|
f2e5f64 |
|
|
Akira TAGOH |
63214f0 |
%fontfiles
|
|
|
f2e5f64 |
|
|
|
f2e5f64 |
%changelog
|
|
Akira TAGOH |
63214f0 |
* Wed Aug 24 2022 Akira TAGOH <tagoh@redhat.com> - 003.03-23
|
|
Akira TAGOH |
63214f0 |
- Revise the spec file for new packaging guidelines.
|
|
Akira TAGOH |
63214f0 |
|
|
|
d168581 |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-22
|
|
|
d168581 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
d168581 |
|
|
|
e418b62 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-21
|
|
|
e418b62 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
e418b62 |
|
|
|
15f5799 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-20
|
|
|
15f5799 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
15f5799 |
|
|
|
c15a735 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-19
|
|
|
c15a735 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
c15a735 |
|
|
|
fdc6c10 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-18
|
|
|
fdc6c10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
fdc6c10 |
|
|
|
d6c87f6 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-17
|
|
|
d6c87f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
d6c87f6 |
|
|
|
2321835 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-16
|
|
|
2321835 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
2321835 |
|
|
|
819166f |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-15
|
|
|
819166f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
819166f |
|
|
|
3429643 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-14
|
|
|
3429643 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3429643 |
|
|
Akira TAGOH |
75f30fa |
* Wed Apr 11 2018 Akira TAGOH <tagoh@redhat.com> - 003.03-13
|
|
Akira TAGOH |
75f30fa |
- Rebuild.
|
|
Akira TAGOH |
75f30fa |
|
|
|
a3301ca |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-12
|
|
|
a3301ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a3301ca |
|
|
Akira TAGOH |
2c60a46 |
* Mon Jan 22 2018 Akira TAGOH <tagoh@redhat.com> - 003.03-11
|
|
Akira TAGOH |
2c60a46 |
- Update the priority to change the default font to Noto.
|
|
Akira TAGOH |
2c60a46 |
|
|
|
9791bd0 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-10
|
|
|
9791bd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
9791bd0 |
|
|
|
0206b57 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-9
|
|
|
0206b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
0206b57 |
|
|
|
352aecb |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 003.03-8
|
|
|
352aecb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
352aecb |
|
|
|
edcda68 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.03-7
|
|
|
edcda68 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
edcda68 |
|
|
|
e65a77c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.03-6
|
|
|
e65a77c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
e65a77c |
|
|
|
606a74b |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.03-5
|
|
|
606a74b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
606a74b |
|
|
|
76d0430 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.03-4
|
|
|
76d0430 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
76d0430 |
|
|
|
2849c4b |
* Fri Nov 23 2012 Akira TAGOH <tagoh@redhat.com>
|
|
|
2849c4b |
- the spec file cleanup
|
|
|
2849c4b |
|
|
|
9a419c0 |
* Fri Aug 17 2012 Akira TAGOH <tagoh@redhat.com> - 003.03-3
|
|
|
9a419c0 |
- Enable autohinting explicitly since the own hinting seems broken.
|
|
|
9a419c0 |
|
|
|
eeb7b73 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.03-2
|
|
|
eeb7b73 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
eeb7b73 |
|
|
|
ec08125 |
* Fri Feb 03 2012 Akira TAGOH <tagoh@redhat.com> - 003.03-1
|
|
|
ec08125 |
- New upstream release.
|
|
|
ec08125 |
|
|
|
7bbe89c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.02-6
|
|
|
7bbe89c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7bbe89c |
|
|
|
60d392c |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.02-5
|
|
|
60d392c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
60d392c |
|
|
|
4618ee2 |
* Tue May 25 2010 Akira TAGOH <tagoh@redhat.com> - 003.02-4
|
|
|
4618ee2 |
- Improve the fontconfig config file to match ja as well.
|
|
|
4618ee2 |
|
|
|
4618ee2 |
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 003.02-3
|
|
|
4618ee2 |
- Get rid of compare="contains".
|
|
|
4618ee2 |
|
|
|
4c55e6b |
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 003.02-2
|
|
|
4c55e6b |
- Get rid of binding="same" from the fontconfig config file. (#578025)
|
|
|
4c55e6b |
|
|
|
1920371 |
* Tue Feb 16 2010 Akira TAGOH <tagoh@redhat.com> - 003.02-1
|
|
|
1920371 |
- New upstream release.
|
|
|
1920371 |
|
|
|
c01cec8 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.01-4
|
|
|
c01cec8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c01cec8 |
|
|
|
7133e06 |
* Fri Jun 5 2009 Akira TAGOH <tagoh@redhat.com> - 003.01-3
|
|
|
7133e06 |
- Disable hinting.
|
|
|
7133e06 |
|
|
|
f2e5f64 |
* Wed Apr 22 2009 Akira TAGOH <tagoh@redhat.com> - 003.01-2
|
|
|
f2e5f64 |
- Correct the source URL.
|
|
|
f2e5f64 |
|
|
|
f2e5f64 |
* Tue Apr 21 2009 Akira TAGOH <tagoh@redhat.com> - 003.01-1
|
|
|
f2e5f64 |
- Initial package.
|