Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37564809
en ru br
Репозитории ALT
4.0: 1.7.12-alt1
3.0: 1.6.4-alt1
www.altlinux.org/Changes

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

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

%define ver_major 1.7
%def_disable static

Name: at-spi
Version: %ver_major.12
Release: alt1

Summary: Assistive Technology Service Provider Interface
License: LGPL
Group: System/Libraries
Url: http://developer.gnome.org/projects/gap

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Patch1: %name-1.7-fix-linking.patch

%define atk_ver 1.11.3
%define gtk_ver 2.6.4
%define libbonobo_ver 2.8.1
%define ORBit_ver 2.12.1
%define gail_ver 1.8.0
%define gtk_doc_ver 1.3

Requires: libatk >= %atk_ver
Requires: libgtk+2 >= %gtk_ver
Requires: libbonobo2 >= %libbonobo_ver
Requires: ORBit2 >= %ORBit_ver
Requires: libgail >= %gail_ver

BuildPreReq: libatk-devel >= %atk_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libbonobo2-devel >= %libbonobo_ver
BuildPreReq: ORBit2-devel >= %ORBit_ver
BuildPreReq: libgail-devel >= %gail_ver
BuildPreReq: gtk-doc >= %gtk_doc_ver

BuildRequires: docbook-dtds docbook-style-xsl gcc-c++ libXi-devel libXt-devel libXtst-devel libgnomecanvas-devel libgpg-error libpopt-devel perl-XML-Parser xsltproc

%description
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.

%package -n lib%name
Summary: Development libraries and headers for at-spi
Group: System/Libraries

%description -n lib%name
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.

%package -n lib%name-devel
Summary: Development files for at-spi
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
Requires: libgtk+2-devel >= %gtk_ver
Requires: libbonobo2-devel >= %libbonobo_ver
Requires: ORBit2-devel >= %ORBit_ver
Requires: libgail-devel >= %gail_ver

%description -n lib%name-devel
Libraries and header files allowing compilation of apps that use at-spi.

%package -n lib%name-devel-static
Summary: Static libraries for at-spi
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
Libraries allowing compilation of statically linked apps that use at-spi.

%define pkgdocdir %_docdir/%name-%version
%define _gtk_docdir %_datadir/gtk-doc/html

%prep
%setup -q
%patch1 -p0

%build
%__automake
%__autoconf
%configure \
   %{subst_enable static} \
   --enable-gtk-doc

# SMP-incompatible build

%make

%install
%makeinstall

%find_lang --with-gnome %name

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

%files -n lib%name -f %name.lang
%_libexecdir/at-spi-*
%_libdir/*.so.*
%_libdir/bonobo/*/*
%_libdir/gtk-2.0/*/*.so
%_libdir/orbit-2.0/*.so
%_datadir/idl/*
%doc AUTHORS ChangeLog NEWS README

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%pkgdocdir/reference
%doc %_gtk_docdir/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%_libdir/gtk-2.0/*/*.a
%_libdir/orbit-2.0/*.a
%endif

%exclude %_libdir/gtk-2.0/*/*.la
%exclude %_libdir/orbit-2.0/*.la

%changelog

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

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