Summary: API documentation browser for GNOME
Summary(pl.UTF-8): Przeglądarka dokumentacji API dla GNOME
Name: devhelp
-Version: 0.19
-Release: 4
+Version: 2.30.0
+Release: 1
License: GPL v2+
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/devhelp/0.19/%{name}-%{version}.tar.bz2
-# Source0-md5: 66c9fb480e123c96eb1efdbad56b2d90
+Source0: http://ftp.gnome.org/pub/GNOME/sources/devhelp/2.30/%{name}-%{version}.tar.bz2
+# Source0-md5: a24087cd1b4fe6722ec05f6e88104ace
Patch0: %{name}-bookdir.patch
-Patch1: %{name}-mozilla_includes.patch
URL: http://www.imendio.com/projects/devhelp/
-BuildRequires: GConf2-devel >= 2.20.0
-BuildRequires: autoconf
+BuildRequires: GConf2-devel >= 2.24.0
+BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.9
BuildRequires: gettext-devel
-BuildRequires: gnome-common >= 2.20.0
-BuildRequires: gtk+2-devel >= 2:2.12.5
-BuildRequires: intltool >= 0.37.0
-BuildRequires: libglade2-devel >= 1:2.6.2
+BuildRequires: gnome-common >= 2.24.0
+BuildRequires: gtk+2-devel >= 2:2.14.0
+BuildRequires: gtk-webkit-devel >= 1.1.13
+BuildRequires: intltool >= 0.40.0
BuildRequires: libtool
-BuildRequires: libwnck-devel >= 2.20.3
+BuildRequires: libunique-devel >= 1.0
+BuildRequires: libwnck-devel >= 2.24.0
BuildRequires: pkgconfig
BuildRequires: python
+BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: sed >= 4.0
-BuildRequires: xulrunner-devel >= 1.8.0.4
BuildRequires: zlib-devel
-Requires(post,postun): desktop-file-utils
Requires(post,postun): gtk+2
Requires(post,postun): hicolor-icon-theme
Requires(post,preun): GConf2 >= 2.20.0
Requires: %{name}-libs = %{version}-%{release}
-%requires_eq_to xulrunner xulrunner-devel
# sr@Latn vs. sr@latin
Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# 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.
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Devhelp
Group: X11/Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
-Requires: gtk+2-devel >= 2:2.12.5
-Requires: libwnck-devel >= 2.20.0
+Requires: gtk+2-devel >= 2:2.14.0
+Requires: libwnck-devel >= 2.24.0
%description devel
Headers for Devhelp library.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
-mv po/sr@{Latn,latin}.po
+sed -i -e 's/^en@shaw//' po/LINGUAS
+rm -f po/en@shaw.po
%build
+%{__intltoolize}
%{__libtoolize}
-%{__aclocal} -I m4
+%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
--enable-static \
- --disable-install-schemas
+ --disable-schemas-install \
+ --disable-silent-rules
%{__make}
%install
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
rm -f $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/%{name}/*.py
%find_lang %{name}
%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
%files libs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libdevhelp-1.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdevhelp-1.so.0
+%attr(755,root,root) %ghost %{_libdir}/libdevhelp-1.so.1
%files devel
%defattr(644,root,root,755)