commit 133173c183fa9bd13a45d4f802ed81d72102ab03
Author: Akira TAGOH <[email protected]>
Date: Fri Mar 20 16:29:19 2015 +0900
Add metainfo file.
ipa-ex-gothic-fonts.spec | 10 +++++++++-
ipa-ex-gothic.metainfo.xml | 21 +++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
---
diff --git a/ipa-ex-gothic-fonts.spec b/ipa-ex-gothic-fonts.spec
index 1b13603..76cbcee 100644
--- a/ipa-ex-gothic-fonts.spec
+++ b/ipa-ex-gothic-fonts.spec
@@ -6,7 +6,7 @@
Name: %{fontname}-fonts
Version: 002.01
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Japanese Gothic-typeface OpenType font by IPA
Group: User Interface/X
@@ -14,6 +14,7 @@ License: IPA
URL: http://ossipedia.ipa.go.jp/ipafont/
Source0:
http://info.openlab.ipa.go.jp/ipafont/fontdata/%{archivename}.zip
Source1: %{name}-fontconfig.conf
+Source2: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
@@ -41,6 +42,9 @@ install -m 0755 -d
$RPM_BUILD_ROOT%{_fontconfig_templatedir} \
install -m 0644 -p %{SOURCE1} \
$RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}
+install -m 0755 -d $RPM_BUILD_ROOT%{_datadir}/appdata
+install -m 0644 -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata
+
ln -s %{_fontconfig_templatedir}/%{fontconf} \
$RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf}
@@ -48,9 +52,13 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} \
%_font_pkg -f %{fontconf} *.ttf
%doc Readme_%{archivename}.utf8.txt IPA_Font_License_Agreement_v1.0.txt
+%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
+* Fri Mar 20 2015 Akira TAGOH <[email protected]> - 002.01-5
+- Add metainfo file.
+
* Sat Jun 07 2014 Fedora Release Engineering <[email protected]>
- 002.01-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/ipa-ex-gothic.metainfo.xml b/ipa-ex-gothic.metainfo.xml
new file mode 100644
index 0000000..6d767b9
--- /dev/null
+++ b/ipa-ex-gothic.metainfo.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2015 Akira TAGOH <[email protected]> -->
+<component type="font">
+ <id>ipa-ex-gothic</id>
+ <metadata_license>CC-BY-3.0</metadata_license>
+ <project_license>IPA</project_license>
+ <name>IPAexGothic</name>
+ <summary>Japanese Gothic-typeface OpenType font by IPA</summary>
+ <description>
+ <p>
+ IPAex Font is a Japanese OpenType fonts that is JIS X 0213:2004
+ compliant, provided by Information-technology Promotion Agency, Japan.
+ </p>
+ <p>
+ This font is a sans-serif based typeface.
+ </p>
+ </description>
+ <url type="homepage">http://ossipedia.ipa.go.jp/ipafont/</url>
+ <updatecontact>[email protected]</updatecontact>
+</component>
+
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/