diff --git a/README.md b/README.md
index 26e3cd5..faa43a0 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# ipa-gothic-fonts
-IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004 compliant, provided by Information-technology Promotion Agency, Japan.
-This package contains Gothic (sans-serif) and Proportional Gothic (sans-serif) style fonts.
+IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004
+compliant, provided by Information-technology Promotion Agency, Japan.
+
+This package contains Gothic (sans-serif) style font.
diff --git a/ipa-gothic-fonts-fontconfig.conf b/ipa-gothic-fonts-fontconfig.conf
index b9c7562..6444b84 100644
--- a/ipa-gothic-fonts-fontconfig.conf
+++ b/ipa-gothic-fonts-fontconfig.conf
@@ -18,7 +18,8 @@
-
+
+ ja-jp
ja
@@ -30,7 +31,8 @@
-
+
+ ja-jp
ja
@@ -40,17 +42,16 @@
IPAGothic
-
+
+
diff --git a/ipa-gothic-fonts.spec b/ipa-gothic-fonts.spec
index 94c8f65..7335c0f 100644
--- a/ipa-gothic-fonts.spec
+++ b/ipa-gothic-fonts.spec
@@ -1,33 +1,31 @@
%define fontdir %{_datadir}/fonts/ipa-gothic
-%define pkgver %(echo %version | tr -d .)
+%define pkg_version 00302
Name: ipa-gothic-fonts
-Version: 003.03
-Release: 2mamba
+Version: 004.01
+Release: 1mamba
Summary: Japanese Gothic-typeface OpenType font by IPA
Group: System/Fonts
Vendor: openmamba
Distribution: openmamba
-Packager: Silvan Calarco
-URL: https://web.archive.org/web/20200702171120/https://ipafont.ipa.go.jp/old/
-#URL: http://ossipedia.ipa.go.jp/ipafont/
-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
+Packager: Automatic Build System
+URL: https://ossipedia.ipa.go.jp/ipafont/index.html
+Source0: http://info.openlab.ipa.go.jp/ipafont/fontdata/ipag%{pkg_version}.zip
Source1: ipa-gothic-fonts-fontconfig.conf
-Source2: ipa-pgothic-fonts-fontconfig.conf
License: IPA
-## AUTOBUILDREQ-BEGIN
-## AUTOBUILDREQ-END
+BuildRequires: fonttools
BuildRequires: mkfontdir
BuildRequires: ttmkfdir
-Provides: ipa-pgothic-fonts
-Obsoletes: ipa-pgothic-fonts <= 003.02
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
-IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004 compliant, provided by Information-technology Promotion Agency, Japan.
-This package contains Gothic (sans-serif) and Proportional Gothic (sans-serif) style fonts.
+IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004
+compliant, provided by Information-technology Promotion Agency, Japan.
+
+This package contains Gothic (sans-serif) style font.
%prep
-%setup -q -n IPAfont%{pkgver}
+%setup -q -n ipag%{pkg_version}
+
%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 -m0644 *.ttf %{buildroot}%{fontdir}
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
for f in *.conf; do
@@ -77,12 +74,6 @@ fi
%doc Readme_*.txt IPA_Font_License_Agreement_v1.0.txt
%changelog
-* Sun May 23 2021 Silvan Calarco 003.03-2mamba
-- fix fontconfig conf files
-
-* Thu May 20 2021 Silvan Calarco 003.03-1mamba
-- update to 003.03
-
* Thu Feb 04 2021 Automatic Build System 004.01-1mamba
- automatic version update by autodist
diff --git a/ipa-pgothic-fonts-fontconfig.conf b/ipa-pgothic-fonts-fontconfig.conf
deleted file mode 100644
index c5f918d..0000000
--- a/ipa-pgothic-fonts-fontconfig.conf
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
- IPAPGothic
-
- sans-serif
-
-
-
-
-
-
- ja
-
-
- sans-serif
-
-
- IPAPGothic
-
-
-
-
-
-
- IPAPGothic
-
-
- false
-
-
- true
-
-
-
-