Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37722437
en ru br
ALT Linux repositórios
5.0: 1.26.0-alt2
4.1: 1.22.1-alt0.M41.1

Group :: Sistema/Bibliotecas
RPM: libat-spi

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _name at-spi
%define ver_major 1.22
%def_disable static
%add_python_req_skip Accessibility Accessibility__POA

Name: lib%_name
Version: %ver_major.1
Release: alt0.M41.1

Summary: Assistive Technology Service Provider Interface
License: %lgpl2plus
Group: System/Libraries
Url: http://developer.gnome.org/projects/gap
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

Source: %gnome_ftp/%_name/%ver_major/%_name-%version.tar.bz2
Patch1: %_name-1.7-fix-linking.patch

BuildPreReq: rpm-build-gnome rpm-build-licenses

# From configure.in

BuildPreReq: libatk-devel >= 1.17.0
BuildPreReq: libgtk+2-devel >= 2.10.0
BuildPreReq: libgail-devel >= 1.9.0
BuildPreReq: libbonobo2-devel >= 1.107.0
BuildPreReq: intltool >= 0.35.0
BuildPreReq: python-devel gnome-common gettext-tools
BuildPreReq: gtk-doc >= 1.0
BuildPreReq: libXt-devel libX11-devel libXtst-devel libXext-devel
BuildPreReq: libxkbfile-devel libXi-devel libXevie-devel
BuildPreReq: libORBit-devel libpopt-devel

BuildRequires: rpm-build-compat >= 0.95

%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 devel
Summary: Development files for at-spi
Group: Development/GNOME and GTK+
Requires: %name = %version-%release

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

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

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

%setup_python_module pyatspi
%package -n python-module-pyatspi
Summary: Python bindings for %name
Group: Development/Python
Autoreq: yes
Requires: %name = %version-%release

%description -n python-module-pyatspi
This package contains Python bindings for libat-spi.

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

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

%build
%__autoreconf
%configure \
   --enable-xevie \
   --disable-rebuilds \
   %{subst_enable static} \
   --enable-gtk-doc

# SMP-incompatible build

%make

%install
%make_install DESTDIR=%buildroot install

%find_lang --with-gnome %_name

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

%files -f %_name.lang
%_libexecdir/at-spi-*
%_libdir/*.so.*
%bonobo_serversdir/*
%_libdir/gtk-2.0/modules/*.so
%_libdir/orbit-2.0/*.so
%_datadir/idl/*
%doc AUTHORS ChangeLog NEWS README

%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%pkgdocdir/reference
%doc %_gtk_docdir/*

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

%files -n python-module-pyatspi
%python_sitelibdir/pyatspi/*.py
%python_sitelibdir/pyatspi/*.pyc
%python_sitelibdir/pyatspi/*.pyo

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

%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