include introspection
This commit is contained in:
parent
2b97739b3a
commit
1b31bd7add
29
pango.spec
29
pango.spec
@ -9,15 +9,14 @@
|
||||
Summary: System for layout and rendering of internationalized text
|
||||
Name: pango
|
||||
Version: 1.28.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source: http://download.gnome.org/sources/pango/1.28/pango-%{version}.tar.bz2
|
||||
URL: http://www.pango.org
|
||||
|
||||
# We need to prereq this so we can run pango-querymodules
|
||||
Prereq: glib2 >= %{glib2_version}
|
||||
Prereq: freetype >= %{freetype_version}
|
||||
Requires: glib2 >= %{glib2_version}
|
||||
Requires: freetype >= %{freetype_version}
|
||||
Requires: freetype >= %{freetype_version}
|
||||
Requires: cairo >= %{cairo_version}
|
||||
Requires: libthai >= %{libthai_version}
|
||||
@ -33,6 +32,7 @@ BuildRequires: libXt-devel
|
||||
BuildRequires: cairo-devel >= %{cairo_version}
|
||||
BuildRequires: libthai-devel >= %{libthai_version}
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gobject-introspection-devel
|
||||
|
||||
# Look for pango.modules in an arch-specific directory
|
||||
Patch0: pango-1.21.4-lib64.patch
|
||||
@ -75,11 +75,14 @@ for the pango package.
|
||||
%build
|
||||
|
||||
# We try hard to not link to libstdc++
|
||||
%configure --enable-gtk-doc --enable-doc-cross-references --with-included-modules=basic-fc
|
||||
%configure \
|
||||
--enable-gtk-doc \
|
||||
--enable-doc-cross-references \
|
||||
--enable-introspection \
|
||||
--with-included-modules=basic-fc
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# Deriving /etc/pango/$host location
|
||||
# NOTE: Duplicated below
|
||||
@ -142,9 +145,6 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/pango/$host/pango.modules
|
||||
echo %dir %{_sysconfdir}/pango/$host > modules.files
|
||||
echo %ghost %{_sysconfdir}/pango/$host/pango.modules >> modules.files
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
@ -218,6 +218,10 @@ fi
|
||||
|
||||
%dir %{_sysconfdir}/pango
|
||||
%config %{_sysconfdir}/pango/pangox.aliases
|
||||
%{_libdir}/girepository-1.0/Pango-1.0.typelib
|
||||
%{_libdir}/girepository-1.0/PangoCairo-1.0.typelib
|
||||
%{_libdir}/girepository-1.0/PangoFT2-1.0.typelib
|
||||
%{_libdir}/girepository-1.0/PangoXft-1.0.typelib
|
||||
|
||||
|
||||
%files devel
|
||||
@ -226,9 +230,16 @@ fi
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/*
|
||||
%doc %{_datadir}/gtk-doc/html/pango
|
||||
%{_datadir}/gir-1.0/Pango-1.0.gir
|
||||
%{_datadir}/gir-1.0/PangoCairo-1.0.gir
|
||||
%{_datadir}/gir-1.0/PangoFT2-1.0.gir
|
||||
%{_datadir}/gir-1.0/PangoXft-1.0.gir
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu May 27 2010 Matthias Clasen <mclasen@redhat.com> - 1.28.0-2
|
||||
- Enable introspection
|
||||
|
||||
* Tue Mar 30 2010 Matthias Clasen <mclasen@redhat.com> - 1.28.0-1
|
||||
- Update to 1.28.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user