diff --git a/saab-fonts-fontconfig.conf b/saab-fonts-fontconfig.conf new file mode 100644 index 0000000..a6a3e3d --- /dev/null +++ b/saab-fonts-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + sans-serif + + Saab + + + + Saab + + serif + + + + diff --git a/saab-fonts.spec b/saab-fonts.spec new file mode 100644 index 0000000..2e02f2c --- /dev/null +++ b/saab-fonts.spec @@ -0,0 +1,47 @@ +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 - 0.91-19 +- Package init diff --git a/saab.0.91.zip b/saab.0.91.zip new file mode 100644 index 0000000..cf42399 Binary files /dev/null and b/saab.0.91.zip differ