Package Init
This commit is contained in:
parent
9c453d890b
commit
a37fd0f5cb
25
65-kurdit-unikurd-web.conf
Normal file
25
65-kurdit-unikurd-web.conf
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match>
|
||||||
|
<test name="family">
|
||||||
|
<string>sans-serif</string>
|
||||||
|
</test>
|
||||||
|
<edit name="fontversion">
|
||||||
|
<int>12</int>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<alias>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Unikurd Web</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Unikurd Web</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
|
|
||||||
42
kurdit-unikurd-web-fonts.spec
Normal file
42
kurdit-unikurd-web-fonts.spec
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
%global fontname kurdit-unikurd-web
|
||||||
|
|
||||||
|
Name: %{fontname}-fonts
|
||||||
|
Version: 20020502
|
||||||
|
Release: 23
|
||||||
|
Summary: Kurdish font
|
||||||
|
License: GPLv3
|
||||||
|
URL: http://www.kurditgroup.org/node/1337
|
||||||
|
Source0: https://www.kurditgroup.org/sites/default/files/unikurdweb_0.zip
|
||||||
|
Source1: 65-kurdit-unikurd-web.conf
|
||||||
|
Source2: kurdit-unikurd-web.metainfo.xml
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
Requires: fontpackages-filesystem
|
||||||
|
Obsoletes: unikurd-web-font < 20020502-2
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides Kurdish font which is widely used and can
|
||||||
|
support Arabic,Persian and Latin scripts.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -c unikurdweb
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontconfig_confdir}
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir}
|
||||||
|
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/65-kurdit-unikurd-web.conf
|
||||||
|
install -Dm 0644 -p %{SOURCE2} %{buildroot}%{_datadir}/appdata/kurdit-unikurd-web.metainfo.xml
|
||||||
|
ln -s %{_fontconfig_templatedir}/65-kurdit-unikurd-web.conf %{buildroot}%{_fontconfig_confdir}/65-kurdit-unikurd-web.conf
|
||||||
|
|
||||||
|
%_font_pkg -f 65-kurdit-unikurd-web.conf *.ttf
|
||||||
|
%license gpl.txt
|
||||||
|
%{_datadir}/appdata/kurdit-unikurd-web.metainfo.xml
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jan 15 2020 lihao <lihao129@huawei.com> - 20020502-23
|
||||||
|
- Package Init
|
||||||
17
kurdit-unikurd-web.metainfo.xml
Normal file
17
kurdit-unikurd-web.metainfo.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="font">
|
||||||
|
<id>kurdit-unikurd-web</id>
|
||||||
|
<metadata_license>CC-BY-3.0</metadata_license>
|
||||||
|
<extends>Unikurd Web</extends>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
A widely used Kurdish font supporting various Arabic-like scripts
|
||||||
|
such as Arabic, Kurdish, Persian and Latin.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">http://www.kurditgroup.org/node/1337</url>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot>https://www.kurditgroup.org/sites/default/files/uweb.png</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
</component>
|
||||||
|
|
||||||
BIN
unikurdweb_0.zip
Normal file
BIN
unikurdweb_0.zip
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user