Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37856478
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 2.6
%def_disable static
%def_disable gtk_doc

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

Summary: GtkSourceView text widget library
License: LGPLv2+
Group: System/Libraries
Url: http://www.gnome.org
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

Source: %gnome_ftp/%_name/%ver_major/%_name-%version.tar.bz2
Source1: %name-%ver_major.map
Patch1: %name-2.4-alt-symver.patch

Provides: %{name}2 = %version-%release
Obsoletes: %{name}2 < %version-%release

# From configure.ac

%define intltool_ver 0.35
%define gtk_ver 2.12.0
%define libxml2_ver 2.5.0

BuildPreReq: rpm-build-gnome

# From configure.ac

BuildPreReq: intltool >= %intltool_ver
BuildPreReq: gnome-common
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libxml2-devel >= %libxml2_ver
BuildPreReq: gtk-doc >= 1.0

BuildRequires: gcc-c++ perl-XML-Parser zlib-devel libgio-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
Provides: %{name}2-devel = %version-%release
Obsoletes: %{name}2-devel < %version-%release


%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
BuildArch: noarch

%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
install -p -m644 %SOURCE1 gtksourceview/libgtksourceview.map
%patch1 -p1

%build
gtkdocize
%autoreconf
%configure \
%{subst_enable static} \
%{?_enable_gtk_doc:--enable-gtk-doc}

%make_build

%install
%make_install DESTDIR=%buildroot install

%find_lang %_name-2.0

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

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

%files devel-doc
%_gtk_docdir/*

%changelog

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

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