Dominique Leuenberger 4 years ago committed by Git OBS Bridge
commit b809a70b77

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 18 21:50:05 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Modernize $RPM_* shell vars and shell logic to generate BDFs.
-------------------------------------------------------------------
Sat Apr 29 15:08:06 UTC 2017 - bwiedemann@suse.com

@ -1,7 +1,7 @@
#
# spec file for package arabic-fonts
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -27,7 +27,7 @@ Name: arabic-fonts
Version: 0.20161120
Release: 0
Summary: A Collection of Free Arabic Fonts
License: GPL-2.0 and SUSE-Public-Domain and OFL-1.1
License: GPL-2.0-only AND SUSE-Public-Domain AND OFL-1.1
Group: System/X11/Fonts
Url: http://www.arabeyes.org/resources.php
# public domain:
@ -101,7 +101,7 @@ Arabic bitmap font (Haydar family).
%package -n arabic-kacst-fonts
Summary: Arabic Kacst Fonts
License: GPL-2.0
License: GPL-2.0-only
Group: System/X11/Fonts
Version: 2.01
Release: 0
@ -112,7 +112,7 @@ TrueType families developed by Kacst institution.
%package -n arabic-kacstone-fonts
Summary: Arabic Kacst One Fonts
License: GPL-2.0
License: GPL-2.0-only
Group: System/X11/Fonts
Version: 5.0
Release: 0
@ -123,7 +123,7 @@ KacstOne family developed by Kacst institution.
%package -n arabic-naqsh-fonts
Summary: Arabic Naqsh Font
License: GPL-2.0
License: GPL-2.0-only
Group: System/X11/Fonts
Version: 2.1
Release: 0
@ -147,7 +147,7 @@ Arabic TrueType font (Nesf2 family).
%package -n arabic-ae-fonts
Summary: Arabic Free and Open Source Fonts
License: GPL-2.0
License: GPL-2.0-only
Group: System/X11/Fonts
Version: 2.0
Release: 0
@ -171,10 +171,10 @@ Amiri family is high quality Arabic Naskh typeface.
%prep
%setup -T -c %{name} -n %{name} -a 0 -a 2 -a 3 -a 5 -a 6 -a 7
%if %{with_haydar}
tar xf %{SOURCE1}
tar -xf %{SOURCE1}
%endif
%if %{with_nesf2}
bunzip2 --stdout $RPM_SOURCE_DIR/sharif.univ_ttf.bz2 > Nesf2.ttf
bunzip2 --stdout %{_sourcedir}/sharif.univ_ttf.bz2 > Nesf2.ttf
%endif
%build
@ -195,8 +195,8 @@ do
done
for i in */*.bdf
do
bdftopcf $i | gzip -n -9 > \
%{buildroot}%{_miscfontsdir}/`basename $i .bdf`.pcf.gz
o="${i##*/}"
bdftopcf "$i" | gzip -n9 >"%{buildroot}/%{_miscfontsdir}/${o%.bdf}.pcf.gz"
done
%reconfigure_fonts_scriptlets

Loading…
Cancel
Save