sil-scheherazade-fonts/sil-scheherazade-fonts.spec
2022-05-10 17:30:03 +08:00

46 lines
1.6 KiB
RPMSpec

Name: sil-scheherazade-fonts
Version: 2.100
Release: 10
Summary: An Arabic script unicode font
License: OFL-1.1
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
* Tue May 10 2022 yaoxin <yaoxin30@h-partners.com> - 2.100-10
- License compliance rectification
* Thu Nov 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.100-9
- Package init