Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37903991
en ru br
Репозитории ALT
S:2.11.2-alt3
5.1: 2.6.2-alt1
4.0: 1.8.2-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libgtksourceview

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

%define _name gtksourceview
%define ver_major 1.8
%def_disable static

Name: lib%_name
Version: %ver_major.2
Release: alt1

Summary: GtkSourceView text widget library
License: LGPL
Group: System/Libraries
Url: http://www.gnome.org

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

# From configure.in

%define intltool_ver 0.35
%define gtk_ver 2.8.0
%define gnome_vfs_ver 2.2.0
%define libxml2_ver 2.5.0
%define gnome_print_ver 2.8.0

# From configure.in

BuildPreReq: intltool >= %intltool_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: gnome-vfs-devel >= %gnome_vfs_ver
BuildPreReq: libxml2-devel >= %libxml2_ver
BuildPreReq: libgnomeprint2-devel >= %gnome_print_ver
BuildPreReq: gtk-doc >= 1.0

BuildRequires: perl-XML-Parser zlib-devel

%description
GtkSourceView is a text widget that extends the standard gtk+ 2.x text
widget GtkTextView. It improves GtkTextView by implementing syntax
highlighting and other features typical of a source editor.

This package contains shared GtkSourceView library.

%package devel
Summary: Files to compile applications that use GtkSourceView
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
Requires: libgtk+2-devel >= %gtk_ver
Requires: gnome-vfs-devel >= %gnome_vfs_ver
Requires: libxml2-devel >= %libxml2_ver
Requires: libgnomeprint2-devel >= %gnome_print_ver

%description devel
This package contains the files required to develop applications against
the GtkSourceView library.

%package devel-doc
Summary: Development documentation for %_name
Group: Development/GNOME and GTK+
Conflicts: %name < %version-%release

%description devel-doc
GtkSourceView is a text widget that extends the standard gtk+ 2.x text
widget GtkTextView. It improves GtkTextView by implementing syntax
highlighting and other features typical of a source editor.

This package provides development documentation for %_name.

%define _gtk_docdir %_datadir/gtk-doc/html

%prep
%setup -q -n %_name-%version

%build
%configure \
%{subst_enable static} \
--enable-build-tests

%make_build

%install
%makeinstall

%find_lang %_name-1.0

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files -f %_name-1.0.lang
%_libdir/*.so.*
%_datadir/%_name-1.0
%doc AUTHORS ChangeLog NEWS README

%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc HACKING MAINTAINERS TODO

%files devel-doc
%_gtk_docdir/*

%changelog

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

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