ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: libgtkhtml
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define ver_major 2.11
%def_disable static
Name: libgtkhtml
Version: %ver_major.0
Release: alt2
Summary: GTk HTML widget 2
License: LGPL
Group: System/Libraries
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define gnome_vfs_ver 2.6.1.1
%define gail_ver 1.6.6
%define libxml2_ver 2.5.6
%define gtk_ver 2.4.9
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libxml2-devel >= %libxml2_ver
BuildPreReq: libgail-devel >= %gail_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver
BuildRequires: gcc-c++ libbonobo2-devel libgnomecanvas-devel zlib-devel
%description
GTK HTML Widget for the GNOME 2 platform.
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.
%package -n %{name}2
Summary: GTk HTML widget 2
Group: System/Libraries
Requires: gnome-vfs2 >= %gnome_vfs_ver
Requires: libgail >= %gail_ver
Requires: libxml2 >= %libxml2_ver
Requires: libgtk+2 >= %gtk_ver
%description -n %{name}2
GTK HTML Widget for the GNOME 2 platform.
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.
%package -n %{name}2-devel
Summary: Header and development libraries for libgtkhtml
Group: Development/GNOME and GTK+
Requires: %{name}2 = %version-%release
Requires: gnome-vfs2-devel >= %gnome_vfs_ver
Requires: libgail-devel >= %gail_ver
Requires: libxml2-devel >= %libxml2_ver
Requires: libgtk+2-devel >= %gtk_ver
%description -n %{name}2-devel
GTK HTML Widget for the GNOME 2 platform.
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 %{name}2-devel-static
Summary: Static libraries for libgtkhtml
Group: Development/GNOME and GTK+
Requires: %{name}2-devel = %version-%release
%description -n %{name}2-devel-static
GTK HTML Widget for the GNOME 2 platform.
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
%build
%configure \
%{subst_enable static}
# SMP-incompatible build
%make
%install
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -n libgtkhtml2
%_libdir/*.so.*
%doc AUTHORS ChangeLog README NEWS
%files -n libgtkhtml2-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc docs/IDEAS
%if_enabled static
%files -n libgtkhtml2-devel-static
%_libdir/*.a
%endif
%changelog
…
Todas as alterações você pod ver aqui
%def_disable static
Name: libgtkhtml
Version: %ver_major.0
Release: alt2
Summary: GTk HTML widget 2
License: LGPL
Group: System/Libraries
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define gnome_vfs_ver 2.6.1.1
%define gail_ver 1.6.6
%define libxml2_ver 2.5.6
%define gtk_ver 2.4.9
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libxml2-devel >= %libxml2_ver
BuildPreReq: libgail-devel >= %gail_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver
BuildRequires: gcc-c++ libbonobo2-devel libgnomecanvas-devel zlib-devel
%description
GTK HTML Widget for the GNOME 2 platform.
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.
%package -n %{name}2
Summary: GTk HTML widget 2
Group: System/Libraries
Requires: gnome-vfs2 >= %gnome_vfs_ver
Requires: libgail >= %gail_ver
Requires: libxml2 >= %libxml2_ver
Requires: libgtk+2 >= %gtk_ver
%description -n %{name}2
GTK HTML Widget for the GNOME 2 platform.
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.
%package -n %{name}2-devel
Summary: Header and development libraries for libgtkhtml
Group: Development/GNOME and GTK+
Requires: %{name}2 = %version-%release
Requires: gnome-vfs2-devel >= %gnome_vfs_ver
Requires: libgail-devel >= %gail_ver
Requires: libxml2-devel >= %libxml2_ver
Requires: libgtk+2-devel >= %gtk_ver
%description -n %{name}2-devel
GTK HTML Widget for the GNOME 2 platform.
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 %{name}2-devel-static
Summary: Static libraries for libgtkhtml
Group: Development/GNOME and GTK+
Requires: %{name}2-devel = %version-%release
%description -n %{name}2-devel-static
GTK HTML Widget for the GNOME 2 platform.
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
%build
%configure \
%{subst_enable static}
# SMP-incompatible build
%make
%install
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -n libgtkhtml2
%_libdir/*.so.*
%doc AUTHORS ChangeLog README NEWS
%files -n libgtkhtml2-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc docs/IDEAS
%if_enabled static
%files -n libgtkhtml2-devel-static
%_libdir/*.a
%endif
%changelog
…
Todas as alterações você pod ver aqui