Summary: API documentation browser for GNOME
Summary(pl.UTF-8): Przeglądarka dokumentacji API dla GNOME
Name: devhelp
-Version: 0.13
-Release: 2
+Version: 0.15
+Release: 3
License: GPL v2+
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/devhelp/0.13/%{name}-%{version}.tar.bz2
-# Source0-md5: 230c05c1e13ba6ae44c94e034ea77348
+Source0: http://ftp.gnome.org/pub/GNOME/sources/devhelp/0.15/%{name}-%{version}.tar.bz2
+# Source0-md5: e5ec0eebc5313c0d11c2371b2b1a9c16
Patch0: %{name}-bookdir.patch
Patch1: %{name}-mozilla_includes.patch
-Patch2: %{name}-desktop.patch
URL: http://www.imendio.com/projects/devhelp/
-BuildRequires: GConf2-devel >= 2.16.0
+BuildRequires: GConf2-devel >= 2.18.0
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: gnome-common >= 2.12.0
-BuildRequires: gnome-vfs2-devel >= 2.16.3
-BuildRequires: gtk+2-devel >= 2:2.10.9
+BuildRequires: gnome-common >= 2.18.0
+BuildRequires: gnome-vfs2-devel >= 2.18.1
+BuildRequires: gtk+2-devel >= 2:2.10.11
BuildRequires: libglade2-devel >= 1:2.6.0
BuildRequires: libtool
-BuildRequires: libwnck-devel >= 2.16.3
+BuildRequires: libwnck-devel >= 2.18.0
BuildRequires: xulrunner-devel >= 1.8.0.4
BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: zlib-devel
-Requires(post,preun): GConf2 >= 2.16.0
+Requires(post,preun): GConf2 >= 2.18.0
+Requires(post,postun): desktop-file-utils
Requires(post,postun): gtk+2
Requires(post,postun): hicolor-icon-theme
Requires: %{name}-libs = %{version}-%{release}
# can be provided by mozilla or mozilla-embedded
%define _noautoreqdep libgtkembedmoz.so libxpcom.so
+# we have strict deps for it
+%define _noautoreq libxpcom.so
%description
API documentation browser for GNOME.
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
%{__libtoolize}
%{__autoheader}
%{__automake}
%configure \
+ --enable-static \
--disable-install-schemas
%{__make}
%post
%gconf_schema_install devhelp.schemas
+%update_desktop_database_post
%update_icon_cache hicolor
%preun
%gconf_schema_uninstall devhelp.schemas
%postun
+%update_desktop_database_postun
%update_icon_cache hicolor
%post libs -p /sbin/ldconfig