]> git.pld-linux.org Git - packages/pango.git/commitdiff
- BR: libthai-devel for thai-lang module (+bcond)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Aug 2007 22:01:49 +0000 (22:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pango.spec -> 1.179

pango.spec

index 9a5fcf7c6712918cb1949a6c96b0295bc56b7145..ff23e017ea6e63160c8cd138bf7418b14e40efef 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without apidocs         # disable gtk-doc
+%bcond_without libthai         # don't build thai-lang module
 %bcond_without static_libs     # don't build static library
 #
 Summary:       System for layout and rendering of internationalized text
@@ -27,6 +28,7 @@ BuildRequires:        freetype-devel >= 2.1.7
 BuildRequires: glib2-devel >= 1:2.14.0
 %{?with_apidocs:BuildRequires: gtk-doc >= 1.8}
 BuildRequires: gtk-doc-automake >= 1.8
+%{?with_libthai:BuildRequires: libthai-devel >= 0.1.7}
 BuildRequires: libtool >= 1:1.4.2-9
 BuildRequires: perl-base
 BuildRequires: pkgconfig
@@ -102,6 +104,7 @@ Summary(pt_BR.UTF-8):       Sistema para layout e renderizaĆ§Ć£o de texto internaciona
 Group:         X11/Development/Libraries
 Requires(post,postun): %{name} = %{epoch}:%{version}-%{release}
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+%{?with_libthai:Requires:      libthai >= 0.1.7}
 
 %description modules
 System for layout and rendering of internationalized text.
@@ -245,6 +248,9 @@ exit 0
 %attr(755,root,root) %{_libdir}/pango/1.6.0/modules/pango-khmer-fc.so
 %attr(755,root,root) %{_libdir}/pango/1.6.0/modules/pango-syriac-fc.so
 %attr(755,root,root) %{_libdir}/pango/1.6.0/modules/pango-thai-fc.so
+%if %{with libthai}
+%attr(755,root,root) %{_libdir}/pango/1.6.0/modules/pango-thai-lang.so
+%endif
 %attr(755,root,root) %{_libdir}/pango/1.6.0/modules/pango-tibetan-fc.so
 %exclude %{_libdir}/pango/1.6.0/modules/pango-basic-fc.so
 %exclude %{_libdir}/pango/1.6.0/modules/pango-basic-x.so
This page took 0.316682 seconds and 4 git commands to generate.