Added metainfo for gnome-software

This commit is contained in:
Pravin Satpute 2014-11-06 13:29:48 +05:30
parent 84c04c5bcd
commit a00dfe7ecc
16 changed files with 168 additions and 3 deletions

15
kacst-art.metainfo.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-art</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Kacst</name>
<summary>Fonts for arabic from arabeyes project</summary>
<description>
<p>
This package contains fonts for the display of Arabic
from the King Abdulaziz City for Science and Technology(kacst).
</p>
</description>
<updatecontact>psatpute_at_redhat_dot_com</updatecontact>
<url type="homepage">http://old.arabeyes.org/resources.php</url>
</component>

6
kacst-book.metainfo.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-book</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-decorative</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-digital</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

6
kacst-farsi.metainfo.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-farsi</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

View File

@ -27,8 +27,22 @@ Source12: %{fontconf}-qurn.conf
Source13: %{fontconf}-screen.conf
Source14: %{fontconf}-title.conf
Source15: %{fontconf}-titlel.conf
Source16: %{fontname}-art.metainfo.xml
Source17: %{fontname}-book.metainfo.xml
Source18: %{fontname}-decorative.metainfo.xml
Source19: %{fontname}-digital.metainfo.xml
Source20: %{fontname}-farsi.metainfo.xml
Source21: %{fontname}-letter.metainfo.xml
Source22: %{fontname}-naskh.metainfo.xml
Source23: %{fontname}-office.metainfo.xml
Source24: %{fontname}-one.metainfo.xml
Source25: %{fontname}-pen.metainfo.xml
Source26: %{fontname}-poster.metainfo.xml
Source27: %{fontname}-qurn.metainfo.xml
Source28: %{fontname}-screen.metainfo.xml
Source29: %{fontname}-title.metainfo.xml
Source30: %{fontname}-titlel.metainfo.xml
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: dos2unix
BuildRequires: fontpackages-devel > 1.13
@ -59,6 +73,8 @@ Obsoletes: %{name} < 2.0-3
This package contains book type fonts for the display of Arabic
%_font_pkg -n book -f %{fontconf}-book* KacstBook.ttf
%{_datadir}/appdata/%{fontname}-base.metainfo.xml
%package -n %{fontname}-digital-fonts
Summary: Fonts for arabic from arabeyes project
@ -71,6 +87,8 @@ Obsoletes: %{name} < 2.0-3
This package contains digital type fonts for the display of Arabic
%_font_pkg -n digital -f %{fontconf}-digital* KacstDigital.ttf
%{_datadir}/appdata/%{fontname}-digital.metainfo.xml
%package -n %{fontname}-letter-fonts
Summary: Fonts for arabic from arabeyes project
@ -83,6 +101,7 @@ Obsoletes: %{name} < 2.0-3
This package contains book kacst fonts for the display of Arabic
%_font_pkg -n letter -f %{fontconf}-letter* KacstLetter.ttf
%{_datadir}/appdata/%{fontname}-letter.metainfo.xml
%package -n %{fontname}-office-fonts
Summary: Fonts for arabic from arabeyes project
@ -95,6 +114,8 @@ Obsoletes: %{name} < 2.0-3
This package contains office type fonts for the display of Arabic
%_font_pkg -n office -f %{fontconf}-office* KacstOffice.ttf
%{_datadir}/appdata/%{fontname}-office.metainfo.xml
%package -n %{fontname}-pen-fonts
Summary: Fonts for arabic from arabeyes project
@ -107,6 +128,8 @@ Obsoletes: %{name} < 2.0-3
This package contains pen type fonts for the display of Arabic
%_font_pkg -n pen -f %{fontconf}-pen* kacstPen.ttf
%{_datadir}/appdata/%{fontname}-pen.metainfo.xml
%package -n %{fontname}-qurn-fonts
Summary: Fonts for arabic from arabeyes project
@ -119,6 +142,7 @@ Obsoletes: %{name} < 2.0-3
This package contains qurn type fonts for the display of Arabic
%_font_pkg -n qurn -f %{fontconf}-qurn* KacstQurn.ttf
%{_datadir}/appdata/%{fontname}-qurn.metainfo.xml
%package -n %{fontname}-titlel-fonts
Summary: Fonts for arabic from arabeyes project
@ -131,6 +155,7 @@ Obsoletes: %{name} < 2.0-3
This package contains title large type fonts for the display of Arabic
%_font_pkg -n titlel -f %{fontconf}-titlel.conf KacstTitleL.ttf
%{_datadir}/appdata/%{fontname}-titlel.metainfo.xml
%package -n %{fontname}-art-fonts
Summary: Fonts for arabic from arabeyes project
@ -143,6 +168,7 @@ Obsoletes: %{name} < 2.0-3
This package contains art type fonts for the display of Arabic
%_font_pkg -n art -f %{fontconf}-art* KacstArt.ttf
%{_datadir}/appdata/%{fontname}-art.metainfo.xml
%package -n %{fontname}-decorative-fonts
Summary: Fonts for arabic from arabeyes project
@ -155,6 +181,7 @@ Obsoletes: %{name} < 2.0-3
This package contains decorative type fonts for the display of Arabic
%_font_pkg -n decorative -f %{fontconf}-decorative* KacstDecorative.ttf
%{_datadir}/appdata/%{fontname}-decorative.metainfo.xml
%package -n %{fontname}-farsi-fonts
Summary: Fonts for arabic from arabeyes project
@ -167,6 +194,7 @@ Obsoletes: %{name} < 2.0-3
This package contains farsi type fonts for the display of Arabic
%_font_pkg -n farsi -f %{fontconf}-farsi* KacstFarsi.ttf
%{_datadir}/appdata/%{fontname}-farsi.metainfo.xml
%package -n %{fontname}-naskh-fonts
Summary: Fonts for arabic from arabeyes project
@ -179,6 +207,7 @@ Obsoletes: %{name} < 2.0-3
This package contains naskh type fonts for the display of Arabic
%_font_pkg -n naskh -f %{fontconf}-naskh* KacstNaskh.ttf
%{_datadir}/appdata/%{fontname}-naskh.metainfo.xml
%package -n %{fontname}-one-fonts
Summary: Fonts for arabic from arabeyes project
@ -191,6 +220,7 @@ Obsoletes: %{name} < 2.0-3
This package contains one type fonts for the display of Arabic
%_font_pkg -n one -f %{fontconf}-one* KacstOne.ttf
%{_datadir}/appdata/%{fontname}-one.metainfo.xml
%package -n %{fontname}-poster-fonts
Summary: Fonts for arabic from arabeyes project
@ -203,6 +233,7 @@ Obsoletes: %{name} < 2.0-3
This package contains poster type fonts for the display of Arabic
%_font_pkg -n poster -f %{fontconf}-poster* KacstPoster.ttf
%{_datadir}/appdata/%{fontname}-poster.metainfo.xml
%package -n %{fontname}-screen-fonts
Summary: Fonts for arabic from arabeyes project
@ -215,6 +246,7 @@ Obsoletes: %{name} < 2.0-3
This package contains screen type fonts for the display of Arabic
%_font_pkg -n screen -f %{fontconf}-screen* KacstScreen.ttf
%{_datadir}/appdata/%{fontname}-screen.metainfo.xml
%package -n %{fontname}-title-fonts
Summary: Fonts for arabic from arabeyes project
@ -227,6 +259,7 @@ Obsoletes: %{name} < 2.0-3
This package contains title type fonts for the display of Arabic
%_font_pkg -n title -f %{fontconf}-title.conf KacstTitle.ttf
%{_datadir}/appdata/%{fontname}-title.metainfo.xml
%prep
@ -295,9 +328,38 @@ for fconf in %{fontconf}-art.conf \
%{buildroot}%{_fontconfig_confdir}/$fconf
done
# Add AppStream metadata
install -Dm 0644 -p %{SOURCE16} \
%{buildroot}%{_datadir}/appdata/%{fontname}-art.metainfo.xml
install -Dm 0644 -p %{SOURCE17} \
%{buildroot}%{_datadir}/appdata/%{fontname}-book.metainfo.xml
install -Dm 0644 -p %{SOURCE18} \
%{buildroot}%{_datadir}/appdata/%{fontname}-decorative.metainfo.xml
install -Dm 0644 -p %{SOURCE19} \
%{buildroot}%{_datadir}/appdata/%{fontname}-digital.metainfo.xml
install -Dm 0644 -p %{SOURCE20} \
%{buildroot}%{_datadir}/appdata/%{fontname}-farsi.metainfo.xml
install -Dm 0644 -p %{SOURCE21} \
%{buildroot}%{_datadir}/appdata/%{fontname}-letter.metainfo.xml
install -Dm 0644 -p %{SOURCE22} \
%{buildroot}%{_datadir}/appdata/%{fontname}-naskh.metainfo.xml
install -Dm 0644 -p %{SOURCE23} \
%{buildroot}%{_datadir}/appdata/%{fontname}-office.metainfo.xml
install -Dm 0644 -p %{SOURCE24} \
%{buildroot}%{_datadir}/appdata/%{fontname}-one.metainfo.xml
install -Dm 0644 -p %{SOURCE25} \
%{buildroot}%{_datadir}/appdata/%{fontname}-pen.metainfo.xml
install -Dm 0644 -p %{SOURCE26} \
%{buildroot}%{_datadir}/appdata/%{fontname}-poster.metainfo.xml
install -Dm 0644 -p %{SOURCE27} \
%{buildroot}%{_datadir}/appdata/%{fontname}-qurn.metainfo.xml
install -Dm 0644 -p %{SOURCE28} \
%{buildroot}%{_datadir}/appdata/%{fontname}-screen.metainfo.xml
install -Dm 0644 -p %{SOURCE29} \
%{buildroot}%{_datadir}/appdata/%{fontname}-title.metainfo.xml
install -Dm 0644 -p %{SOURCE30} \
%{buildroot}%{_datadir}/appdata/%{fontname}-titlel.metainfo.xml
%clean
rm -rf %{buildroot}
%files common
%defattr(-,root,root,-)
@ -305,6 +367,10 @@ rm -rf %{buildroot}
%dir %{fontdir}
%changelog
* Thu Nov 06 2014 Pravin Satpute <psatpute@redhat.com> - 2.0-13
- Added metainfo for gnome-software
- Removed buildroot and clean section
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-letter</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

6
kacst-naskh.metainfo.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-naskh</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-office</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

6
kacst-one.metainfo.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-one</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

6
kacst-pen.metainfo.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-pen</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-poster</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

6
kacst-qurn.metainfo.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-qurn</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-screen</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

6
kacst-title.metainfo.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-title</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>kacst-titlel</id>
<metadata_license>CC0-1.0</metadata_license>
<extends>kacst-art</extends>
</component>