init package
This commit is contained in:
commit
237da2960c
BIN
Scheherazade-2.100.zip
Normal file
BIN
Scheherazade-2.100.zip
Normal file
Binary file not shown.
36
sil-scheherazade-fonts-fontconfig.conf
Normal file
36
sil-scheherazade-fonts-fontconfig.conf
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Scheherazade</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Scheherazade</family>
|
||||||
|
<default>
|
||||||
|
<family>serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>Monotype Naskh</family>
|
||||||
|
<accept>
|
||||||
|
<family>Scheherazade</family>
|
||||||
|
</accept>
|
||||||
|
</alias>
|
||||||
|
<match target="font">
|
||||||
|
<test name="family" compare="eq">
|
||||||
|
<string>Scheherazade</string>
|
||||||
|
</test>
|
||||||
|
<edit name="matrix" mode="assign">
|
||||||
|
<times>
|
||||||
|
<name>matrix</name>
|
||||||
|
<matrix>
|
||||||
|
<double>1.2</double> <double>0</double>
|
||||||
|
<double>0</double> <double>1.2</double>
|
||||||
|
</matrix>
|
||||||
|
</times>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
||||||
42
sil-scheherazade-fonts.spec
Normal file
42
sil-scheherazade-fonts.spec
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
Name: sil-scheherazade-fonts
|
||||||
|
Version: 2.100
|
||||||
|
Release: 9
|
||||||
|
Summary: An Arabic script unicode font
|
||||||
|
License: OFL
|
||||||
|
URL: https://software.sil.org/scheherazade/
|
||||||
|
Source0: https://software.sil.org/downloads/r/scheherazade/Scheherazade-%{version}.zip
|
||||||
|
Source1: sil-scheherazade-fonts-fontconfig.conf
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
Requires: fontpackages-filesystem
|
||||||
|
|
||||||
|
%description
|
||||||
|
Scheherazade, named after the heroine of the classic Arabian Nights tale, is
|
||||||
|
designed in a similar style to traditional typefaces such as Monotype Naskh,
|
||||||
|
extended to cover the full Unicode Arabic repertoire.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Scheherazade-%{version}
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -m 0755 -d %{buildroot}%{_datadir}/fonts/sil-scheherazade
|
||||||
|
install -m 0644 -p *.ttf %{buildroot}%{_datadir}/fonts/sil-scheherazade
|
||||||
|
|
||||||
|
install -m 0755 -d %{buildroot}%{_datadir}/fontconfig/conf.avail
|
||||||
|
install -m 0644 -p %{SOURCE1} %{buildroot}%{_datadir}/fontconfig/conf.avail/65-sil-scheherazade.conf
|
||||||
|
|
||||||
|
install -m 0755 -d %{buildroot}/etc/fonts/conf.d
|
||||||
|
ln -s {_datadir}/fontconfig/conf.avail/65-sil-scheherazade.conf %{buildroot}/etc/fonts/conf.d/65-sil-scheherazade.conf
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%dir %{_datadir}/fonts/sil-scheherazade/
|
||||||
|
%{_datadir}/fonts/sil-scheherazade/*.ttf
|
||||||
|
%{_datadir}/fontconfig/conf.avail/65-sil-scheherazade.conf
|
||||||
|
%config(noreplace) /etc/fonts/conf.d/65-sil-scheherazade.conf
|
||||||
|
%license OFL.txt
|
||||||
|
%doc FONTLOG.txt README.txt OFL-FAQ.txt documentation/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Nov 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.100-9
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user