diff --git a/libucil.spec b/libucil.spec index 9532da8..db98848 100644 --- a/libucil.spec +++ b/libucil.spec @@ -16,6 +16,7 @@ Patch1: libucil-0.9.10-leaks.patch # fix some compile-time warnings Patch2: libucil-0.9.10-warnings.patch +BuildRequires: autoconf, automake, gettext-devel, libtool BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext, gtk-doc >= 1.4 BuildRequires: libunicap-devel, glib2-devel, pango-devel, alsa-lib-devel BuildRequires: libtheora-devel, libogg-devel, libvorbis-devel, libpng-devel @@ -44,6 +45,11 @@ documentation of the library, too. %patch0 -p1 %patch1 -p1 %patch2 -p1 +# fixes for gtk-doc 1.26 +sed -i -e '/^DOC_SOURCE_DIR/s/--source-dir=//g' doc/libucil/Makefile.am +mkdir -p m4 +gtkdocize --copy +autoreconf -fiv %build %configure --disable-rpath --enable-gtk-doc