saab-fonts/saab-fonts.spec
2020-02-14 03:54:07 -05:00

48 lines
1.4 KiB
RPMSpec

Name: saab-fonts
Version: 0.91
Release: 19
Summary: A first free OpenType, Gurmukhi (Punjabi) font.
License: GPLv2+ with exceptions
URL: http://guca.sourceforge.net/typography/fonts/saab/
Source0: http://downloads.sf.net/guca/saab.0.91.zip
Source1: %{name}-fontconfig.conf
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
Saab is the first ever freely available, Unicode 4.0 compliant, OpenType,
Gurmukhi (Punjabi) font. The creation of this font was a combined effort
by Bhupinder Singh and Sukhjinder Sidhu to help encourage the use of
Punjabi online. This web site serves as the official download point for Saab.
%define fontconf 67-saab.conf
%prep
%setup -q -c
%build
%install
install -m 0755 -d %{buildroot}%{_datadir}/fonts/saab
install -m 0644 Saab.otf %{buildroot}%{_datadir}/fonts/saab
install -m 0755 -d %{buildroot}%{_sysconfdir}/fonts/conf.d
install -m 0755 -d %{buildroot}%{_datadir}/fontconfig/conf.avail
install -m 0644 -p -D %{SOURCE1} %{buildroot}%{_datadir}/fontconfig/conf.avail/%{fontconf}
ln -s %{_datadir}/fontconfig/conf.avail/%{fontconf} %{buildroot}%{_sysconfdir}/fonts/conf.d/%{fontconf}
%files
%defattr(-,root,root)
%{_datadir}/fonts/saab/Saab.otf
%{_sysconfdir}/fonts/conf.d/67-saab.conf
%{_fontconfig_templatedir}/%{fontconf}
%changelog
* Fri Feb 14 2020 Senlin Xia <xiasenlin1@huawei.com> - 0.91-19
- Package init