automatic version update by autodist [release 004.01-1mamba;Thu Feb 04 2021]
This commit is contained in:
parent
62459ab250
commit
d372dcc809
@ -1,5 +1,7 @@
|
|||||||
# ipa-gothic-fonts
|
# ipa-gothic-fonts
|
||||||
|
|
||||||
IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004 compliant, provided by Information-technology Promotion Agency, Japan.
|
IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004
|
||||||
This package contains Gothic (sans-serif) and Proportional Gothic (sans-serif) style fonts.
|
compliant, provided by Information-technology Promotion Agency, Japan.
|
||||||
|
|
||||||
|
This package contains Gothic (sans-serif) style font.
|
||||||
|
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
|
|
||||||
<!-- Locale-specific overrides -->
|
<!-- Locale-specific overrides -->
|
||||||
<match>
|
<match>
|
||||||
<test name="lang" compare="contains">
|
<test name="lang">
|
||||||
|
<string>ja-jp</string>
|
||||||
<string>ja</string>
|
<string>ja</string>
|
||||||
</test>
|
</test>
|
||||||
<test name="family">
|
<test name="family">
|
||||||
@ -30,7 +31,8 @@
|
|||||||
</match>
|
</match>
|
||||||
<!-- NOTE: just for fallback - ideally better installing ipa-pgothic-fonts -->
|
<!-- NOTE: just for fallback - ideally better installing ipa-pgothic-fonts -->
|
||||||
<match>
|
<match>
|
||||||
<test name="lang" compare="contains">
|
<test name="lang">
|
||||||
|
<string>ja-jp</string>
|
||||||
<string>ja</string>
|
<string>ja</string>
|
||||||
</test>
|
</test>
|
||||||
<test name="family">
|
<test name="family">
|
||||||
@ -40,17 +42,16 @@
|
|||||||
<string>IPAGothic</string>
|
<string>IPAGothic</string>
|
||||||
</edit>
|
</edit>
|
||||||
</match>
|
</match>
|
||||||
<!-- enable hinting -->
|
<!-- disable hinting -->
|
||||||
|
<!--
|
||||||
<match target="font">
|
<match target="font">
|
||||||
<test name="family">
|
<test name="family">
|
||||||
<string>IPAGothic</string>
|
<string>IPAGothic</string>
|
||||||
</test>
|
</test>
|
||||||
<edit name="hinting" mode="assign">
|
<edit name="hinting" mode="assign">
|
||||||
<bool>true</bool>
|
|
||||||
</edit>
|
|
||||||
<edit name="autohint" mode="assign">
|
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</edit>
|
</edit>
|
||||||
</match>
|
</match>
|
||||||
|
-->
|
||||||
</fontconfig>
|
</fontconfig>
|
||||||
|
|
||||||
|
@ -1,33 +1,31 @@
|
|||||||
%define fontdir %{_datadir}/fonts/ipa-gothic
|
%define fontdir %{_datadir}/fonts/ipa-gothic
|
||||||
%define pkgver %(echo %version | tr -d .)
|
%define pkg_version 00302
|
||||||
Name: ipa-gothic-fonts
|
Name: ipa-gothic-fonts
|
||||||
Version: 003.03
|
Version: 004.01
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Japanese Gothic-typeface OpenType font by IPA
|
Summary: Japanese Gothic-typeface OpenType font by IPA
|
||||||
Group: System/Fonts
|
Group: System/Fonts
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||||
URL: https://web.archive.org/web/20200702171120/https://ipafont.ipa.go.jp/old/
|
URL: https://ossipedia.ipa.go.jp/ipafont/index.html
|
||||||
#URL: http://ossipedia.ipa.go.jp/ipafont/
|
Source0: http://info.openlab.ipa.go.jp/ipafont/fontdata/ipag%{pkg_version}.zip
|
||||||
Source0: http://deb.debian.org/debian/pool/main/f/fonts-ipafont/fonts-ipafont_%{pkgver}.orig.tar.gz
|
|
||||||
#Source0: http://info.openlab.ipa.go.jp/ipafont/fontdata/ipag%{pkg_version}.zip
|
|
||||||
Source1: ipa-gothic-fonts-fontconfig.conf
|
Source1: ipa-gothic-fonts-fontconfig.conf
|
||||||
Source2: ipa-pgothic-fonts-fontconfig.conf
|
|
||||||
License: IPA
|
License: IPA
|
||||||
## AUTOBUILDREQ-BEGIN
|
BuildRequires: fonttools
|
||||||
## AUTOBUILDREQ-END
|
|
||||||
BuildRequires: mkfontdir
|
BuildRequires: mkfontdir
|
||||||
BuildRequires: ttmkfdir
|
BuildRequires: ttmkfdir
|
||||||
Provides: ipa-pgothic-fonts
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Obsoletes: ipa-pgothic-fonts <= 003.02
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004 compliant, provided by Information-technology Promotion Agency, Japan.
|
IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004
|
||||||
This package contains Gothic (sans-serif) and Proportional Gothic (sans-serif) style fonts.
|
compliant, provided by Information-technology Promotion Agency, Japan.
|
||||||
|
|
||||||
|
This package contains Gothic (sans-serif) style font.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n IPAfont%{pkgver}
|
%setup -q -n ipag%{pkg_version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -38,7 +36,6 @@ This package contains Gothic (sans-serif) and Proportional Gothic (sans-serif) s
|
|||||||
install -d %{buildroot}%{fontdir} %{buildroot}%{_sysconfdir}/fonts/{conf.d,conf.avail}
|
install -d %{buildroot}%{fontdir} %{buildroot}%{_sysconfdir}/fonts/{conf.d,conf.avail}
|
||||||
install -m0644 *.ttf %{buildroot}%{fontdir}
|
install -m0644 *.ttf %{buildroot}%{fontdir}
|
||||||
install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.avail/65-3-ipa-gothic.conf
|
install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.avail/65-3-ipa-gothic.conf
|
||||||
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/fonts/conf.avail/65-2-ipa-pgothic.conf
|
|
||||||
|
|
||||||
pushd %{buildroot}%{_sysconfdir}/fonts/conf.avail
|
pushd %{buildroot}%{_sysconfdir}/fonts/conf.avail
|
||||||
for f in *.conf; do
|
for f in *.conf; do
|
||||||
@ -77,12 +74,6 @@ fi
|
|||||||
%doc Readme_*.txt IPA_Font_License_Agreement_v1.0.txt
|
%doc Readme_*.txt IPA_Font_License_Agreement_v1.0.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun May 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 003.03-2mamba
|
|
||||||
- fix fontconfig conf files
|
|
||||||
|
|
||||||
* Thu May 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 003.03-1mamba
|
|
||||||
- update to 003.03
|
|
||||||
|
|
||||||
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 004.01-1mamba
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 004.01-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
|
||||||
<fontconfig>
|
|
||||||
<!-- Generic names -->
|
|
||||||
<alias>
|
|
||||||
<family>IPAPGothic</family>
|
|
||||||
<default>
|
|
||||||
<family>sans-serif</family>
|
|
||||||
</default>
|
|
||||||
</alias>
|
|
||||||
|
|
||||||
<!-- Locale-specific overrides -->
|
|
||||||
<match>
|
|
||||||
<test name="lang" compare="contains">
|
|
||||||
<string>ja</string>
|
|
||||||
</test>
|
|
||||||
<test name="family">
|
|
||||||
<string>sans-serif</string>
|
|
||||||
</test>
|
|
||||||
<edit name="family" mode="prepend">
|
|
||||||
<string>IPAPGothic</string>
|
|
||||||
</edit>
|
|
||||||
</match>
|
|
||||||
|
|
||||||
<!-- enable autohinting -->
|
|
||||||
<match target="font">
|
|
||||||
<test name="family">
|
|
||||||
<string>IPAPGothic</string>
|
|
||||||
</test>
|
|
||||||
<edit name="hinting" mode="assign">
|
|
||||||
<bool>false</bool>
|
|
||||||
</edit>
|
|
||||||
<edit name="autohint" mode="assign">
|
|
||||||
<bool>true</bool>
|
|
||||||
</edit>
|
|
||||||
</match>
|
|
||||||
</fontconfig>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user