Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
pango
pango.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pango.spec of Package pango
# # spec file for package pango (Version 1.22.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # # norootforbuild Name: pango BuildRequires: gcc-c++ BuildRequires: cairo-devel BuildRequires: glib2-devel BuildRequires: gtk-doc %if %suse_version >= 1100 BuildRequires: libthai-devel %endif BuildRequires: perl-XML-Parser BuildRequires: sgml-skel License: LGPL v2.1 or later Group: System/Libraries AutoReqProv: on Version: 1.22.1 Release: 2.<RELEASE13> Summary: System for Layout and Rendering of Internationalised Text Source: ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.18/%{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 # PATCH-FIX-UPSTREAM pango-libtool.patch schwab@suse.de -- apparently configure.in is invoking libtool in a bad way Patch1: pango-libtool.patch # PATCH-FIX-UPSTREAM pango-bnc492733-web-segfault.patch bnc492733 vuntz@novell.com -- Fix segfault when visiting some web page Patch2: pango-bnc492733-web-segfault.patch # PATCH-FIX-UPSTREAM pango-bnc534701-CVE-2009-1194.patch bnc534701 vuntz@opensuse.org -- Taken from upstream, handle overflow with long glyphstrings Patch3: pango-bnc534701-CVE-2009-1194.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: filesystem %if %suse_version > 1010 PreReq: xorg-x11-libs xorg-x11-libXrender xorg-x11-libX11 %endif %if %suse_version > 1020 # for libXdmcp.so.6 -- see https://bugzilla.novell.com/show_bug.cgi?id=310640#c4 PreReq: xorg-x11-libXdmcp %endif Requires: cairo >= 1.2.2 %description Pango is a library for layout and rendering of text, with an emphasis on internationalisation. It forms the core of text and font handling in GTK+ 2.0. Authors: -------- Owen Taylor <otaylor@redhat.com> Changwoo Ryu <cwryu@adam.kaist.ac.kr> Sivaraj Doddannan <sivaraj@intelligroup.com> %if %suse_version >= 1100 %package module-thai-lang License: LGPL v2.1 or later Summary: System for Layout and Rendering of Internationalised Text Group: System/Libraries Provides: locale(pango:th_TH) %description module-thai-lang Pango is a library for layout and rendering of text, with an emphasis on internationalisation. It forms the core of text and font handling in GTK+ 2.0. Authors: -------- Owen Taylor <otaylor@redhat.com> Changwoo Ryu <cwryu@adam.kaist.ac.kr> Sivaraj Doddannan <sivaraj@intelligroup.com> %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}') Summary: Include files and libraries mandatory for development Group: Development/Libraries/GNOME %description devel This package contains all necessary include files and libraries needed to develop applications that require these. Authors: -------- Owen Taylor <otaylor@redhat.com> Changwoo Ryu <cwryu@adam.kaist.ac.kr> Sivaraj Doddannan <sivaraj@intelligroup.com> %package doc License: LGPL v2.1 or later Requires: %{name} = %{version} Summary: System for Layout and Rendering of Internationalised Text Group: System/Libraries %description doc Pango is a library for layout and rendering of text, with an emphasis on internationalisation. It forms the core of text and font handling in GTK+ 2.0. Authors: -------- Owen Taylor <otaylor@redhat.com> Changwoo Ryu <cwryu@adam.kaist.ac.kr> Sivaraj Doddannan <sivaraj@intelligroup.com> %prep %setup -q %if "%_lib" == "lib64" cp -a %{S:1} . %patch0 -p0 %endif %patch1 %patch2 -p1 %patch3 -p1 %build autoreconf -f -i # needed for pango-1.14.5: export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --disable-static --with-pic make %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT touch $RPM_BUILD_ROOT%{_sysconfdir}/pango/pango.modules %if "%_lib" == "lib64" mv $RPM_BUILD_ROOT%{_bindir}/pango-querymodules\ $RPM_BUILD_ROOT%{_bindir}/pango-querymodules-64 mv $RPM_BUILD_ROOT%{_sysconfdir}/pango/pango.modules\ $RPM_BUILD_ROOT%{_sysconfdir}/pango/pango64.modules %endif rm $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a rm $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %if "%_lib" == "lib64" # it is not fatal if execution fails on 32bit systems LD_LIBRARY_PATH=usr/%{_lib}\ usr/bin/pango-querymodules-64\ > etc/pango/pango64.modules || echo "pango-querymodules-64 did not run properly in postin." %else LD_LIBRARY_PATH=usr/%{_lib}\ usr/bin/pango-querymodules\ > etc/pango/pango.modules %endif %postun /sbin/ldconfig %if "%_lib" == "lib64" if [ -x usr/bin/pango-querymodules-64 ] ; then # it is not fatal if execution fails on 32bit systems LD_LIBRARY_PATH=usr/%{_lib}\ usr/bin/pango-querymodules-64\ > etc/pango/pango64.modules || echo "pango-querymodules-64 did not run properly in postun." fi %else if [ -x usr/bin/pango-querymodules ] ; then LD_LIBRARY_PATH=usr/%{_lib}\ usr/bin/pango-querymodules\ > etc/pango/pango.modules fi %endif %if %suse_version >= 1100 %post module-thai-lang %if "%_lib" == "lib64" # it is not fatal if execution fails on 32bit systems LD_LIBRARY_PATH=usr/%{_lib}\ usr/bin/pango-querymodules-64\ > etc/pango/pango64.modules || echo "pango-querymodules-64 did not run properly in postin." %else LD_LIBRARY_PATH=usr/%{_lib}\ usr/bin/pango-querymodules\ > etc/pango/pango.modules %endif %postun module-thai-lang %if "%_lib" == "lib64" if [ -x usr/bin/pango-querymodules-64 ] ; then # it is not fatal if execution fails on 32bit systems LD_LIBRARY_PATH=usr/%{_lib}\ usr/bin/pango-querymodules-64\ > etc/pango/pango64.modules || echo "pango-querymodules-64 did not run properly in postun." fi %else if [ -x usr/bin/pango-querymodules ] ; then LD_LIBRARY_PATH=usr/%{_lib}\ usr/bin/pango-querymodules\ > etc/pango/pango.modules fi %endif %endif %files %defattr(-,root,root) %if "%_lib" == "lib64" %doc README AUTHORS COPYING ChangeLog README.SuSE %else %doc README AUTHORS COPYING ChangeLog %endif # evidently no longer exists # %doc examples/HELLO.utf8 %{_bindir}/pango-* %dir %{_libdir}/pango %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 %{_sysconfdir}/pango/pangox.aliases %if "%_lib" == "lib64" %ghost %{_sysconfdir}/pango/pango64.modules %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) %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/pango-1.0 %files doc %defattr(-, root, root) %{_datadir}/gtk-doc/html/pango %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor