1 Name: gobject-introspection
4 Summary: Introspection system for GObject-based libraries
5 Group: Development/Libraries
6 License: GPLv2+, LGPLv2+, MIT
7 URL: http://live.gnome.org/GObjectIntrospection
8 Source0: %{name}-%{version}.tar.xz
9 Obsoletes: gir-repository
10 BuildRequires: python-lxml
11 BuildRequires: python-xml
12 BuildRequires: glib2-devel
13 BuildRequires: python-devel >= 2.5
14 BuildRequires: gettext
17 BuildRequires: libffi-devel
18 BuildRequires: mesa-libGL-devel
19 BuildRequires: cairo-gobject-devel
20 BuildRequires: libxml2-devel
21 BuildRequires: libXfixes-devel
22 BuildRequires: libX11-devel
23 BuildRequires: fontconfig-devel
24 BuildRequires: libXft-devel
25 BuildRequires: freetype-devel
26 # Bootstrap requirements
27 BuildRequires: gnome-common
28 BuildRequires: intltool
29 #BuildRequires: gtk-doc
32 GObject Introspection can scan C header and source files in order to
33 generate introspection "typelib" files. It also provides an API to examine
34 typelib files, useful for creating language bindings among other
38 Summary: Libraries and headers for gobject-introspection
39 Group: Development/Libraries
40 Requires: %name = %{version}-%{release}
43 # Not always, but whatever, it's a tiny dep to pull in
45 Obsoletes: gir-repository-devel
48 Libraries and headers for gobject-introspection
54 (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
55 %configure $CONFIGFLAGS)
56 make V=1 %{?_smp_mflags}
59 make install DESTDIR=$RPM_BUILD_ROOT
62 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
63 find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
65 %post -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
73 %dir %{_libdir}/girepository-1.0
74 %{_libdir}/girepository-1.0/*.typelib
78 %dir %{_libdir}/gobject-introspection
79 %{_libdir}/gobject-introspection/*
80 %{_libdir}/pkgconfig/*
84 %dir %{_datadir}/gobject-introspection-1.0
85 %{_datadir}/gobject-introspection-1.0/*
86 %{_datadir}/aclocal/introspection.m4
88 %dir %{_datadir}/gtk-doc/html/gi
89 %{_datadir}/gtk-doc/html/gi/*