#define realver 0.15.99 Summary: GtkHTML is a HTML rendering/editing library. Name: gtkhtml Version: 0.16.0 Release: alt2 Copyright: GPL Group: Graphical desktop/GNOME Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gtkhtml/%{name}-%{version}.tar.bz2 Patch: gtkhtml-0.16.0-fontset.patch URL: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gtkhtml/ Requires: %name = %{version} PreReq: oaf >= 0.6.6 Requires: GConf >= 1.0.4 Requires: bonobo >= 1.0.0 Requires: control-center Requires: gnome-print >= 0.28 Requires: libghttp Requires: gdk-pixbuf >= 0.8 Requires: libgal >= 0.18 # Automatically added by buildreq on Fri Oct 26 2001 BuildRequires: bonobo control-center-devel docbook-dtd30-sgml docbook-dtd31-sgml docbook-style-dsssl esound-devel gdk-pixbuf-devel gettext-devel glib-devel gnome-libs-devel gtk+-devel gtk-doc imlib-devel indent libaudiofile-devel libbonobo-devel libdb1-devel libgal-devel libGConf-devel libghttp-devel libglade-devel libglibwww1-devel libgnomeprint-devel libORBit-devel libpopt-devel libxml-devel libxode-devel oaf-devel openjade openssl-devel sgml-common w3c-libwww-devel XFree86-devel xml-i18n-tools zlib-devel %description GtkHTML is a HTML rendering/editing library. GtkHTML is not designed to be the ultimate HTML browser/editor: instead, it is designed to be easily embedded into applications that require lightweight HTML functionality. GtkHTML was originally based on KDE's KHTMLW widget, but is now developed independently of it. The most important difference between KHTMLW and GtkHTML, besides being GTK-based, is that GtkHTML is also an editor. Thanks to the Bonobo editor component that comes with the library, it's extremely simple to add HTML editing to an existing application. %package -n lib%{name} Summary: Libraries for GtkHTML Group: System/Libraries Requires: libgal >= 0.18 %description -n lib%{name} GtkHTML is a HTML rendering/editing library. GtkHTML is not designed to be the ultimate HTML browser/editor: instead, it is designed to be easily embedded into applications that require lightweight HTML functionality. This package contains libraries used by GtkHTML. %package -n lib%{name}-devel Provides: lib%{name}-devel Summary: Development libraries, header files and utilities for GtkHTML Group: Development/GNOME and GTK+ Requires: lib%{name} = %{version} %description -n lib%{name}-devel GtkHTML is a HTML rendering/editing library. GtkHTML is not designed to be the ultimate HTML browser/editor: instead, it is designed to be easily embedded into applications that require lightweight HTML functionality. This package contains the files necessary to develop applications with GtkHTML. %package -n lib%{name}-devel-static Provides: lib%{name}-devel-static Summary: Static development libraries for GtkHTML Group: Development/GNOME and GTK+ Requires: lib%{name} = %{version}, lib%{name}-devel = %{version} %description -n lib%{name}-devel-static GtkHTML is a HTML rendering/editing library. GtkHTML is not designed to be the ultimate HTML browser/editor: instead, it is designed to be easily embedded into applications that require lightweight HTML functionality. This package contains the files necessary to develop statically linked applications with GtkHTML. %prep %setup -q %patch -p1 %build %configure --with-gconf --with-bonobo #CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%_prefix --with-gconf --with-bonobo %make_build testgtkhtml_LDFLAGS= gtest_LDFLAGS= %install %makeinstall mkdir -p $RPM_BUILD_ROOT%{_menudir} cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name} ?package(%{name}):command="%{_bindir}/gtkhtml-properties-capplet" \ needs="gnome" section="Configuration/Gnome" title="HTML Viewer" \ longtitle="HTML Viewer properties" EOF %{find_lang} %{name} %pre if [ "$DURING_INSTALL" != "" ]; then %_bindir/oaf-slay -s ||: fi %post %{update_menus} %postun %{clean_menus} %post -p /sbin/ldconfig -n lib%{name} %postun -p /sbin/ldconfig -n lib%{name} %files -f %{name}.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO %{_bindir}/* %{_libdir}/bonobo/plugin/*.so %{_datadir}/gtkhtml %{_datadir}/gnome/apps/Settings/Documents/*.desktop %{_datadir}/gnome/ui/* %{_datadir}/control-center/Documents/*.desktop %{_datadir}/oaf/* %{_sysconfdir}/CORBA/servers/*.gnorba %{_menudir}/* %files -n lib%{name} %defattr(-, root, root) %doc AUTHORS COPYING %{_libdir}/*.so.* %files -n lib%{name}-devel %defattr(-, root, root) %{_libdir}/*.la %{_libdir}/*.so %{_includedir}/gtkhtml %{_libdir}/*Conf.sh %{_libdir}/bonobo/plugin/*.la %{_datadir}/gnome/html/* %files -n lib%{name}-devel-static %defattr(-, root, root) %{_libdir}/*.a %{_libdir}/bonobo/plugin/*.a %changelog * Fri Nov 09 2001 AEN 0.16.0-alt2 - fontset patch from MDK * Fri Nov 09 2001 AEN 0.16.0-alt1 - new release * Fri Oct 26 2001 AEN 0.16.0-alt0.1 - new sources from CVS * Tue Oct 9 2001 AEN 0.14.0-alt1 - new version * Thu Sep 06 2001 AEN 0.12.0-alt2 - build w/o test (thnx to Sergey Vlasov) * Wed Sep 5 2001 AEN 0.12.0-alt1 - new release - use oaf-slay at pre-install * Thu Aug 09 2001 AEN 0.11.1-alt1 - new release * Wed Jul 18 2001 AEN 0.10.1-alt1 - new release * Wed Jul 18 2001 AEN 0.10.0-alt1 - new release * Mon Jul 9 2001 AEN 0.9.99.1-alt1 - new snapshot * Thu May 24 2001 AEN 0.9.3-alt2 - new snapshot * Thu May 24 2001 AEN 0.9.3-alt1 - build 0.9.3+ from cvs * Mon May 21 2001 AEN 0.9.2-alt2 - rebuild with libgal-0.8 * Fri May 18 2001 AEN 0.9.2-alt1 - new version * Wed May 15 2001 AEN 0.8.3-alt3 - build conflicts with libxml2 removed * Tue May 15 2001 Alexander Bokovoy 0.8.3-alt2 - Rebuild with new gal - Some dependencies fixed (ghttp) - Static libraries moved to libgtkhtml-devel-static * Sat Apr 7 2001 AEN 0.8.3-alt1 - 0.8.3 * Thu Feb 22 2001 AEN 0.8.2-ipl2mdk - rebuild with bonobo-0.37 * Thu Feb 22 2001 AEN 0.8.2-ipl1mdk - 0.8.2 - build with new gal * Sat Dec 16 2000 AEN - rebuild with gal-0.4.1 * Thu Dec 14 2000 AEN - 0.8 - build with bonobo-0.30 * Thu Dec 14 2000 AEN - adopted for RE - build with gal-0.3 * Fri Dec 8 2000 Frederic Crozat 0.7-3mdk - Correct build requires until upstream has upgrade to new bonobo * Wed Nov 15 2000 Frederic Crozat 0.7-2mdk - Rebuild with new gcc - Split package * Wed Oct 25 2000 Frederic Crozat 0.7-1mdk - Release 0.7 - add menu entry * Mon Aug 28 2000 Frederic Crozat 0.6.1-1mdk - Release 0.6.1 (merged from helix_3 package) - compiled with pspell support * Mon Aug 07 2000 Frederic Lepied 0.5-3mdk - automatically added BuildRequires * Wed Aug 2 2000 Frederic Crozat 0.5-2mdk - BM + macroszification - compiled without gconf (since its API is not yet stable) - added missing files for oaf/html-editor-component (needed for Evolution) * Fri Jul 21 2000 Christopher Molnar 0.5-1mdk - Packaged for Mandrake