inital lklug-fonts
This commit is contained in:
commit
1e99f2e81a
22
65-lklug.conf
Normal file
22
65-lklug.conf
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match>
|
||||||
|
<test name="lang">
|
||||||
|
<string>si-lk</string>
|
||||||
|
</test>
|
||||||
|
<test name="family">
|
||||||
|
<string>sans-serif</string>
|
||||||
|
</test>
|
||||||
|
<edit name="family" mode="prepend">
|
||||||
|
<string>LKLUG</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<alias>
|
||||||
|
<family>LKLUG</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
|
|
||||||
BIN
lklug-20090803.tar.gz
Normal file
BIN
lklug-20090803.tar.gz
Normal file
Binary file not shown.
41
lklug-fonts.spec
Normal file
41
lklug-fonts.spec
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
%global cvsdate 20090803
|
||||||
|
|
||||||
|
Name: lklug-fonts
|
||||||
|
Version: 0.6
|
||||||
|
Release: 19.%{cvsdate}cvs
|
||||||
|
Summary: OpenType Font for Sinhala
|
||||||
|
License: GPLv2
|
||||||
|
URL: http://sinhala.sourceforge.net/
|
||||||
|
Source: lklug-%{cvsdate}.tar.gz
|
||||||
|
Source1: 65-lklug.conf
|
||||||
|
Source2: lklug.metainfo.xml
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: fontpackages-devel fontforge
|
||||||
|
Requires: fontpackages-filesystem
|
||||||
|
|
||||||
|
%global fontname lklug
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains fonts for displaying of Sinhala.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -c -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontdir} %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
|
||||||
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||||
|
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/65-lklug.conf
|
||||||
|
ln -s %{_fontconfig_templatedir}/65-lklug.conf %{buildroot}%{_fontconfig_confdir}/65-lklug.conf
|
||||||
|
install -Dm 0644 -p %{SOURCE2} %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
|
%files
|
||||||
|
%_font_pkg -f 65-lklug.conf *.ttf
|
||||||
|
%doc CREDITS COPYING README.fonts
|
||||||
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Nov 25 2019 likexin<likexin4@huawei.com> - 0.6-19.20090803cvs
|
||||||
|
- Pakcage init
|
||||||
16
lklug.metainfo.xml
Normal file
16
lklug.metainfo.xml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="font">
|
||||||
|
<id>lklug</id>
|
||||||
|
<metadata_license>CC-BY-3.0</metadata_license>
|
||||||
|
<name>Lklug</name>
|
||||||
|
<summary>Font for Sinhala language</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
This package provides the Lklug font for Sinhala made by the
|
||||||
|
by Yannis Haralambous and are in GPL. OTF tables are added by
|
||||||
|
Anuradha Ratnaweera and Harshani Devadithya.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<updatecontact>psatpute_at_redhat_dot_com</updatecontact>
|
||||||
|
<url type="homepage">http://sinhala.sourceforge.net/</url>
|
||||||
|
</component>
|
||||||
Loading…
x
Reference in New Issue
Block a user