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

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

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

%define _name atk
%define ver_major 1.22
%def_disable static

Name: libatk
Version: %ver_major.0
Release: alt1

Summary: Accessibility features for Gtk+
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
Source1: atk-%ver_major-symver.map

Provides: atk = %version
Obsoletes: atk

%define glib_ver 2.5.7
%define gtk_doc_ver 1.0

BuildPreReq: rpm-build-gnome rpm-build-licenses
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: gtk-doc >= %gtk_doc_ver

%description
Accessibility means providing system infrastructure that allows add-on
assistive software to transparently provide specalized input and ouput
capabilities. For example, screen readers allow blind users to navigate
through applications, determine the state of controls, and read text via
text to speech conversion. On-screen keyboards replace physical
keyboards, and head-mounted pointers replace mice.

ATK, the Accessibility Tookit, is used to obtain accessibily information
from GTK+ and GNOME widgets.

%package devel
Summary: Development environment for atk
Group: Development/C
Requires: %name = %version-%release
Provides: atk-devel = %version
Obsoletes: atk-devel

%description devel
This package contains the necessary components to develop for ATK,
the Accessibility Toolkit.

%package devel-doc
Summary: Development documentation for ATK
Group: Development/C
Conflicts: %name < %version-%release

%description devel-doc
ATK, the Accessibility Tookit, is used to obtain accessibily information
from GTK+ and GNOME widgets.

This package contains development documentation for ATK.

%package devel-static
Summary: Stuff for developing with atk
Group: Development/C
Requires: %name-devel = %version-%release
Provides: atk-devel-static = %version
Obsoletes: atk-devel-static

%description devel-static
This package contains the necessary components to develop statically
linked software for atk, the Accessibility Toolkit.

%prep
%setup -q -n %_name-%version
install -p -m644 %SOURCE1 atk/symver.map

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

# Yes, I drilled down the Makefiles to find out which variable to set

%make_build am__append_1=-Wl,--version-script=symver.map

%install
%makeinstall

%find_lang %{_name}10

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

%files -f %{_name}10.lang
%_libdir/*.so.*
%doc AUTHORS ChangeLog NEWS README

%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*

%files devel-doc
%dir %_datadir/gtk-doc/html/%_name
%_datadir/gtk-doc/html/%_name/*

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

%changelog

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

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