gtkhtml3/gtkhtml3.spec

Name: gtkhtml3
Summary: The Gtk+ HTML viewing widget version 3
Version: 3.0.8
Release: 0.2
License: GPL
Group: System Environment/Libraries
URL: http://www.gnome.org/
Description: Gtkhtml3 (sometimes called libgtkhtml3) is a small and standards compilant library for displaying html pages.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

### EL6 ships with gtkhtml3-3.28.3-3.el6
### EL5 ships with gtkhtml3-3.16.3-1.el5
### EL4 ships with gtkhtml3-3.3.2-7.EL
### EL3 ships with gtkhtml3-3.0.9-7
# ExclusiveDist: el2

%define real_name gtkhtml

Summary: The Gtk+ HTML viewing widget version 3
Name: gtkhtml3
Version: 3.0.8
Release: 0.2%{?dist}
License: GPL
Group: System Environment/Libraries
URL: http://www.gnome.org/

Source: http://ftp.acc.umu.se/pub/GNOME/sources/gtkhtml/3.0/%{real_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root


BuildRequires: libgal >= 2.2
#Requires: gtk2 >= 2.2.2, libxml2 >= 2.5.7, gnome-vfs2 >= 2.3.5, gail >= 1.3.3
#Requires: libsoup >= 1.99.24, libgal >= 2.1.0.99

%description
Gtkhtml3 (sometimes called libgtkhtml3) is a small
and standards compilant library for displaying
html pages.

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup -n %{real_name}-%{version}

%build
%configure \
	--enable-shlib-factory
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall
%find_lang %{real_name}-3.1

### Clean up buildroot
%{__rm} -f %{buildroot}%{_libdir}/*.la \
		%{buildroot}%{_libdir}/gtkhtml/*.la

%post
/sbin/ldconfig 2>/dev/null

%postun
/sbin/ldconfig 2>/dev/null

%clean
%{__rm} -rf %{buildroot}

%files -f %{real_name}-3.1.lang
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/bonobo/servers/GNOME_GtkHTML_Editor.server
%{_libdir}/*.so.*
%{_libdir}/gtkhtml/*.so*
%{_datadir}/gtkhtml-3.1/

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/libgtkhtml-3.1/
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/gtkhtml/*.a
%{_libdir}/pkgconfig/*.pc

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 3.0.8-0.2
- Rebuild for Fedora Core 5.

* Thu Aug 14 2003 Dag Wieers <dag@wieers.com> - 3.1.0-2
- Initial package. (using DAR)