Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37709954
en ru br
ALT Linux repositórios
S:3.32.2-alt5
5.0: 3.26.1-alt1
4.1: 3.18.3-alt0.M41.1
4.0: 3.12.3-alt1
3.0: 3.6.2-alt1

Group :: Desktop gráfico/GNOME
RPM: gtkhtml3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%define ver_major 3.18
%define api_ver 3.14
%define origname gtkhtml
%def_disable static

Name: gtkhtml3
Version: %ver_major.3
Release: alt0.M41.1

Summary: GtkHTML is a HTML rendering/editing library
License: GPL
Group: Graphical desktop/GNOME
Url: http://www.gnome.org

Source: ftp://ftp.gnome.org/pub/gnome/sources/%origname/%ver_major/%origname-%version.tar.bz2

# from configure.in

%define gtk_ver 2.12.0
%define gail_ver 1.1.0
%define gnome_icon_ver 1.2.0
%define libbonobo_ver 2.20.3
%define libbonoboui_ver 2.2.4
%define libsoup_ver 2.3.0

BuildPreReq: intltool >= 0.35
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libgail-devel >= %gail_ver
BuildPreReq: gnome-icon-theme >= %gnome_icon_ver
BuildPreReq: libbonobo-devel >= %libbonobo_ver
BuildPreReq: libbonoboui-devel >= %libbonoboui_ver
BuildPreReq: libgnomeui-devel
BuildPreReq: libglade-devel
BuildPreReq: libsoup-devel >= %libsoup_ver

# Automatically added by buildreq on Thu Mar 13 2008

BuildRequires: gcc-c++ perl-XML-Parser

BuildRequires: rpm-build-compat >= 0.95

%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: libgail >= %gail_ver
Requires: libglade2
Requires: libgnomeui

%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-%release

%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 libraries for GtkHTML
Group: Development/GNOME and GTK+
Requires: lib%name-devel-static = %version-%release

%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 applications
statically linked with GtkHTML.

%prep
%setup -q -n %origname-%version

%build

%configure \
   %{subst_enable static}

%make_build

%install
%make_install DESTDIR=%buildroot install

# remove non-packaged files

%__rm -f %buildroot%_libdir/%origname/*.la

%find_lang %origname-%api_ver

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files -n lib%name -f %origname-%api_ver.lang
%_libdir/*.so.*
%dir %_libdir/%origname
%_libdir/%origname/*.so
%_libdir/bonobo/servers/*
%_datadir/%origname-%api_ver
%doc AUTHORS ChangeLog NEWS README TODO

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%_libdir/%origname/*.a
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009