%define gtkhtml_major 4.0 %define editor_major 4.0 ### Abstract ### Name: gtkhtml3 Version: 4.4.2 Release: 1%{?dist} Group: System Environment/Libraries Summary: GtkHTML library License: LGPLv2+ and GPLv2 URL: http://projects.gnome.org/evolution/ Source: http://download.gnome.org/sources/gtkhtml/4.4/gtkhtml-%{version}.tar.xz ### Patches ### # GNOME bug #672582 #Patch01: gtkhtml-4.4.1-fix-iframe-selection.patch Patch02: gtk.patch ### Build Dependencies ### BuildRequires: enchant-devel BuildRequires: gail-devel BuildRequires: gettext BuildRequires: gnome-common BuildRequires: gnome-icon-theme BuildRequires: gsettings-desktop-schemas-devel BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: iso-codes-devel BuildRequires: libtool %description GtkHTML is a lightweight HTML rendering/printing/editing engine. It was originally based on KHTMLW, but is now being developed independently of it. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n gtkhtml-%{version} #%patch01 -p1 -b .fix-iframe-selection %patch02 -p1 -b .keylock %build autoreconf -fi %configure --disable-static --disable-maintainer-mode make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %find_lang gtkhtml-%{gtkhtml_major} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f gtkhtml-%{gtkhtml_major}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog NEWS README COPYING TODO %{_bindir}/gtkhtml-editor-test %{_libdir}/libgtkhtml-%{gtkhtml_major}.so.* %{_libdir}/libgtkhtml-editor-%{editor_major}.so.* %{_datadir}/gtkhtml-%{gtkhtml_major} %files devel %defattr(-,root,root,-) %{_includedir}/libgtkhtml-%{gtkhtml_major} %{_libdir}/libgtkhtml-%{gtkhtml_major}.so %{_libdir}/libgtkhtml-editor-%{editor_major}.so %{_libdir}/pkgconfig/*.pc %changelog * Mon May 14 2012 Milan Crha - 4.4.2-1 - Update to 4.4.2 - Remove patch for GNOME bug #672582 (fixed upstream). * Thu May 03 2012 Matthew Barnes - 4.4.1-2 - Add patch for GNOME bug #672582 (fix selection in