diff --git a/pango.changes b/pango.changes index 1cc657b..f0763dd 100644 --- a/pango.changes +++ b/pango.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 29 14:49:22 CEST 2008 - sbrabec@suse.cz + +- Do not build thai-lang module for older products. + ------------------------------------------------------------------- Fri Jul 18 17:20:53 CEST 2008 - vuntz@novell.com diff --git a/pango.spec b/pango.spec index 4057eaf..802af02 100644 --- a/pango.spec +++ b/pango.spec @@ -12,14 +12,17 @@ Name: pango -BuildRequires: cairo-devel glib2-devel gtk-doc libthai-devel perl-XML-Parser sgml-skel +BuildRequires: cairo-devel glib2-devel gtk-doc perl-XML-Parser sgml-skel +%if %suse_version >= 1100 +BuildRequires: libthai-devel +%endif License: LGPL v2.1 or later Group: System/Libraries AutoReqProv: on Version: 1.21.3 -Release: 10 +Release: 14 Summary: System for Layout and Rendering of Internationalised Text -Source: ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.18/%{name}-%{version}.tar.bz2 +Source: ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.21/%{name}-%{version}.tar.bz2 Source1: README.SuSE # PATCH-FIX-UPSTREAM pango64.patch bgo129534 -- needed for biarch. Unfortunately, this is not good enough for usptream. Patch0: pango64.patch @@ -49,6 +52,8 @@ Authors: Changwoo Ryu Sivaraj Doddannan +%if %suse_version >= 1100 + %package module-thai-lang License: LGPL v2.1 or later Summary: System for Layout and Rendering of Internationalised Text @@ -68,6 +73,8 @@ Authors: Changwoo Ryu Sivaraj Doddannan +%endif + %package devel License: LGPL v2.1 or later Requires: %{name} = %{version} cairo-devel fontconfig-devel freetype2-devel glib2-devel glibc-devel %(rpm -q --whatprovides XFree86-devel --queryformat '%{NAME}') @@ -179,7 +186,9 @@ fi %dir %{_libdir}/pango/1.6.0 %dir %{_libdir}/pango/1.6.0/modules %{_libdir}/pango/1.6.0/modules/*.so +%if %suse_version >= 1100 %exclude %{_libdir}/pango/1.6.0/modules/pango-thai-lang.so +%endif %{_libdir}/lib*.so.* %doc %{_mandir}/man?/*.* %dir %{_sysconfdir}/pango @@ -189,10 +198,12 @@ fi %else %ghost %{_sysconfdir}/pango/pango.modules %endif +%if %suse_version >= 1100 %files module-thai-lang %defattr(-, root, root) %{_libdir}/pango/1.6.0/modules/pango-thai-lang.so +%endif %files devel %defattr(-, root, root) @@ -205,6 +216,8 @@ fi %{_datadir}/gtk-doc/html/pango %changelog +* Tue Jul 29 2008 sbrabec@suse.cz +- Do not build thai-lang module for older products. * Fri Jul 18 2008 vuntz@novell.com - Tag pango64.patch * Tue Jul 08 2008 crrodriguez@suse.de