Hello community,

here is the log from the commit of package arabic-fonts for openSUSE:Factory 
checked in at 2012-09-14 12:12:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arabic-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.arabic-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "arabic-fonts", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/arabic-fonts/arabic-fonts.changes        
2012-05-26 09:21:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.arabic-fonts.new/arabic-fonts.changes   
2012-09-14 12:12:31.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul  4 12:39:06 CEST 2012 - [email protected]
+
+- amend spec file to reflect new font packaging scheme
+  (see openFATE#313536);
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ arabic-fonts.spec ++++++
--- /var/tmp/diff_new_pack.whcwqs/_old  2012-09-14 12:12:32.000000000 +0200
+++ /var/tmp/diff_new_pack.whcwqs/_new  2012-09-14 12:12:32.000000000 +0200
@@ -16,16 +16,13 @@
 #
 
 
-
 Name:           arabic-fonts
 Version:        0.20091208
-Release:        2
-%define        bitmap_fontdir  /usr/share/fonts/misc
-%define        ttf_fontdir     /usr/share/fonts/truetype
-License:        GPL-2.0+
+Release:        0
 Summary:        A Collection of Free Arabic Fonts
-Url:            http://www.arabeyes.org/resources.php
+License:        GPL-2.0+
 Group:          System/X11/Fonts
+Url:            http://www.arabeyes.org/resources.php
 # public domain:
 Source0:        ae_fonts_mono.tar.bz2
 Source1:        
http://heanet.dl.sourceforge.net/sourceforge/arabeyes/haydar_fonts.tar.bz2
@@ -33,8 +30,18 @@
 Source3:        
http://heanet.dl.sourceforge.net/sourceforge/arabeyes/lateef.shaikh_fonts.tar.bz2
 Source4:        
http://heanet.dl.sourceforge.net/sourceforge/arabeyes/sharif.univ_ttf.bz2
 Source5:        http://downloads.sourceforge.net/arabeyes/ae_fonts_2.0.tar.bz2
+BuildRequires:  dos2unix
+BuildRequires:  fontpackages-devel
+%if 0%{?suse_version} >= 1220
+BuildRequires:  bdftopcf
+#BuildRequires:  fontconfig
+#BuildRequires:  imake
+#BuildRequires:  mkfontdir
+#BuildRequires:  xorg-cf-files
+%else
 BuildRequires:  xorg-x11
-Requires(pre):  %suseconfig_fonts_prereq
+%endif
+%reconfigure_fonts_prereq
 Provides:       scalable-font-ar
 Provides:       locale(ar)
 # FIXME: This causes a rpmlint warning; change <= to < once here's a new 
upstream version
@@ -50,6 +57,7 @@
 %prep
 %setup -T -c %{name} -n %{name} -a 0 -a 1 -a 2 -a 3 -a 5
 bunzip2 --stdout $RPM_SOURCE_DIR/sharif.univ_ttf.bz2 > sharif.univ.ttf
+dos2unix License.txt
 mv License.txt License.Naqsh.txt
 cp KacstArabicFonts-*/LICENSE LICENSE.Kacst
 cp ae_fonts*/COPYING COPYING.ae_fonts
@@ -59,8 +67,8 @@
 %build
 
 %install
-mkdir -p %{buildroot}%{bitmap_fontdir}
-mkdir -p %{buildroot}%{ttf_fontdir}
+mkdir -p %{buildroot}%{_miscfontsdir}
+mkdir -p %{buildroot}%{_ttfontsdir}
 for i in *.ttf */*.ttf */*/*.ttf
 do
     # one of the kacst TrueType font files has size zero
@@ -68,25 +76,21 @@
     # (OpenOffice even coredumps when .ttf files with size zero
     # are in the path).
     if [ -s $i ] ; then
-        install -c -m 644 $i %{buildroot}%{ttf_fontdir}
+        install -c -m 644 $i %{buildroot}%{_ttfontsdir}
     fi
 done
 for i in */*.bdf
 do
     bdftopcf $i | gzip -9  > \
-    %{buildroot}%{bitmap_fontdir}/`basename $i .bdf`.pcf.gz
+    %{buildroot}%{_miscfontsdir}/`basename $i .bdf`.pcf.gz
 done
 
-%post
-%run_suseconfig_fonts
-
-%postun
-%run_suseconfig_fonts
+%reconfigure_fonts_scriptlets
 
 %files
 %defattr(-, root,root)
 %doc License* LICENSE*
-%{bitmap_fontdir}
-%{ttf_fontdir}
+%{_miscfontsdir}
+%{_ttfontsdir}
 
 %changelog


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to