%define prefix /usr Summary: System for layout and rendering of internationalized text Name: pango Version: @VERSION@ Release: 1 Copyright: LGPL Group: System Environment/Libraries Source: http://www.pango.org/download/pango-%{version}.tar.gz BuildRoot: /var/tmp/pango-%{PACKAGE_VERSION}-root %description A library to handle unicode strings %package devel Summary: System for layout and rendering of internationalized text Group: Development/Libraries Requires: pango = %{PACKAGE_VERSION} Requires: libunicode-devel Requires: fribidi-devel Requires: XFree86-devel %description devel The pango-devel package includes the static libraries and header files for the pango package. Install pango-devel if you want to develop programs which will use pango. %changelog * Fri Feb 11 2000 Owen Taylor - Created spec file %prep %setup %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --sysconfdir=/etc --localstatedir=/var %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{prefix} make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig if ! test -d /var/lib/pango ; then mkdir -p /var/lib/pango/ fi /usr/bin/pango-querymodules /usr/lib/pango/modules/*.so > /var/lib/pango/pango.modules %postun -p /sbin/ldconfig %files %doc README AUTHORS COPYING ChangeLog TODO %{prefix}/lib/libpango*-*.so %{prefix}/bin/pango-querymodules %{prefix}/lib/pango/modules/* %files devel %defattr(-, root, root) %{prefix}/lib/libpango*.so %{prefix}/lib/libpango*.a %{prefix}/include/*