%define pkgname libgtkhtml %define majversion %(echo %version | cut -d. -f 1-2) Name: libgtkhtml2 Version: 2.11.1 Release: 3mamba Summary: A lightweight HTML rendering/printing/editing engine Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/%{majversion}/%{pkgname}-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libglib-devel BuildRequires: libglitz-devel BuildRequires: libgtk-devel BuildRequires: libpango-devel BuildRequires: libpixman-devel BuildRequires: libpng-devel BuildRequires: libselinux-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libxcb-util-devel BuildRequires: libXdmcp-devel BuildRequires: libxml2-devel BuildRequires: libXrender-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END %if "%{stage1}" != "1" #BuildRequires: libgail-gnome-devel BuildRequires: libgnomecanvas %endif BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A lightweight HTML rendering/printing/editing engine. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel A lightweight HTML rendering/printing/editing engine. This package contains static libraries and header files need for development. %prep %setup -q -n %{pkgname}-%{version} %build %configure --enable-gtk-doc %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libgtkhtml-2.so.* %doc AUTHORS COPYING.LIB %files devel %defattr(-,root,root) %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/libgtkhtml-2.0.pc %dir %{_includedir}/gtkhtml-2.0 %{_includedir}/gtkhtml-2.0/* %doc ChangeLog NEWS README TODO %changelog * Mon Jul 25 2011 Silvan Calarco 2.11.1-3mamba - remove obsoletes and provides for gtkhtml * Wed May 20 2009 Automatic Build System 2.11.1-2mamba - automatic rebuild by autodist * Mon Mar 30 2009 Silvan Calarco 2.11.1-1mamba - update to 2.11.1 * Thu Jan 11 2007 Davide Madrisan 2.11.0-2qilnx - package renamed to libgtkhtml2 * Tue Dec 13 2005 Davide Madrisan 2.11.0-1qilnx - update to version 2.11.0 by autospec * Fri May 27 2005 Davide Madrisan 2.6.3-1qilnx - update to version 2.6.3 by autospec - specfile updates and fixes * Tue Dec 30 2003 Silvan Calarco 2.4.1-1qilnx - first build