Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37524286
en ru br
Репозитории ALT
S:3.32.2-alt5
5.1: 3.26.2-alt1
4.1: 3.18.3-alt0.M41.1
4.0: 3.12.3-alt1
3.0: 3.6.2-alt1
www.altlinux.org/Changes

Группа :: Графические оболочки/GNOME
Пакет: gtkhtml3

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 3.12
%define api_ver 3.8
%define origname gtkhtml
%def_disable static

Name: gtkhtml3
Version: %ver_major.3
Release: alt1

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

%define gail_ver 1.1.0
%define glade_ver 2.5.1
%define soup_ver 2.2.2
%define libgnomeui_ver 2.10.0
%define libgnomeprint_ver 2.10.0

# Automatically added by buildreq on Tue Sep 05 2006

BuildRequires: fontconfig gnome-vfs-devel libavahi-glib libbonobo-devel libdbus-glib libgail-devel libGConf-devel libglade-devel libgnomeprint-devel libgnomeprintui-devel libgnomeui-devel libsoup-devel perl-XML-Parser

BuildRequires: gnome-common
BuildRequires: libgail-devel >= %gail_ver
BuildRequires: libglade2-devel >= %glade_ver
BuildRequires: libsoup-devel >= %soup_ver
BuildRequires: libgnomeui-devel >= %libgnomeui_ver
BuildRequires: libgnomeprint-devel >= %libgnomeprint_ver
BuildRequires: gnome-icon-theme

%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 >= %glade_ver
Requires: libgnomeui >= %libgnomeui_ver
Requires: libgnomeprint2 >= %libgnomeprint_ver

%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
Requires: libgnomeprint2-devel >= %libgnomeprint_ver

%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
# Required after Patch0
#intltoolize --copy --force
#autoreconf -isfv
%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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin