atk1.0/atk1.0.spec

126 lines
3.6 KiB
RPMSpec
Raw Normal View History

2015-01-28 22:05:33 +10:00
%bcond_with gtkdoc
2012-02-01 14:47:08 +04:00
2015-03-23 14:18:13 +03:00
%define url_ver %(echo %{version}|cut -d. -f1,2)
2015-01-28 22:05:33 +10:00
%define api 1.0
%define major 0
%define pkgname atk
2012-07-07 06:17:52 +04:00
%define libname %mklibname %{pkgname} %{api} %{major}
%define girname %mklibname %{pkgname}-gir %{api}
2015-01-28 22:05:33 +10:00
%define devname %mklibname %{name} -d
2012-02-01 14:47:08 +04:00
2012-07-07 06:17:52 +04:00
Summary: Accessibility features for Gtk+
Name: %{pkgname}%{api}
2022-05-15 01:05:18 +03:00
Version: 2.34.1
2025-02-21 07:40:48 +00:00
Release: 2
2015-01-28 22:05:33 +10:00
License: LGPLv2.1+
2012-07-07 06:17:52 +04:00
Group: Accessibility
2022-05-15 01:05:18 +03:00
URL: https://wiki.gnome.org/Accessibility
Source0: https://download.gnome.org/sources/%{pkgname}/%{url_ver}/%{pkgname}-%{version}.tar.xz
2015-01-28 22:05:33 +10:00
%if %{with gtkdoc}
2012-07-07 06:17:52 +04:00
BuildRequires: gtk-doc >= 1.11-3
2012-02-01 14:47:08 +04:00
%endif
2015-01-28 22:05:33 +10:00
BuildRequires: pkgconfig(glib-2.0) >= 2.5.7
BuildRequires: pkgconfig(gobject-introspection-1.0)
2022-05-15 01:05:18 +03:00
BuildRequires: meson
BuildRequires: ninja
2022-05-15 01:16:16 +03:00
BuildRequires: python-pkg-resources
BuildRequires: python3-pkg-resources
2025-02-21 07:40:48 +00:00
BuildRequires: python38-pkg-resources
2012-02-01 14:47:08 +04:00
%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.
2015-01-28 22:05:33 +10:00
#----------------------------------------------------------------------------
2012-02-01 14:47:08 +04:00
%package common
2012-07-07 06:17:52 +04:00
Summary: Data files used by atk
Group: System/Libraries
2012-02-01 14:47:08 +04:00
%description common
ATK, the Accessibility Tookit, is used to obtain accessibily information
from GTK+ and GNOME widgets.
This package contains data used by atk library.
2015-01-28 22:19:25 +10:00
%files common -f %{pkgname}10.lang
2022-05-15 01:05:18 +03:00
%doc README* COPYING
2015-01-28 22:19:25 +10:00
2015-01-28 22:05:33 +10:00
#----------------------------------------------------------------------------
2012-07-07 06:17:52 +04:00
%package -n %{libname}
Summary: Accessibility features for Gtk+
Group: System/Libraries
2015-01-28 22:05:33 +10:00
Suggests: %{name}-common >= %{EVRD}
Provides: lib%{name} = %{EVRD}
2012-07-07 06:17:52 +04:00
Conflicts: gir-repository < 0.6.5-4
%description -n %{libname}
2012-02-01 14:47:08 +04:00
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.
2015-01-28 22:05:33 +10:00
%files -n %{libname}
%{_libdir}/libatk-%{api}.so.%{major}*
#----------------------------------------------------------------------------
2012-07-07 06:17:52 +04:00
%package -n %{girname}
Summary: GObject introspection interface library for %{pkgname}
Group: System/Libraries
2015-01-28 22:05:33 +10:00
Requires: %{libname} = %{EVRD}
2012-07-07 06:17:52 +04:00
Obsoletes: %{_lib}atk1.0_0 < 2.4.0-1
%description -n %{girname}
GObject introspection interface library for %{pkgname}.
2015-01-28 22:05:33 +10:00
%files -n %{girname}
%{_libdir}/girepository-1.0/Atk-%{api}.typelib
#----------------------------------------------------------------------------
%package -n %{devname}
2012-07-07 06:17:52 +04:00
Summary: Stuff for developing with atk
Group: Development/C
2015-01-28 22:05:33 +10:00
Requires: %{libname} = %{EVRD}
Requires: %{girname} = %{EVRD}
Provides: %{pkgname}-devel = %{EVRD}
Obsoletes: %{_lib}atk1.0_0-devel < 2.12.0
2012-07-07 06:17:52 +04:00
Conflicts: gir-repository < 0.6.5-4
2015-01-28 22:05:33 +10:00
%description -n %{devname}
2012-02-01 14:47:08 +04:00
ATK, the Accessibility Tookit, is used to obtain accessibily information
from GTK+ and GNOME widgets.
2015-01-28 22:05:33 +10:00
%files -n %{devname}
2022-05-15 01:05:18 +03:00
%doc README* COPYING
2015-01-28 22:05:33 +10:00
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_datadir}/gir-1.0/Atk-%{api}.gir
#----------------------------------------------------------------------------
2012-02-01 14:47:08 +04:00
%prep
2015-01-28 22:05:33 +10:00
%setup -qn %{pkgname}-%{version}
2012-02-01 14:47:08 +04:00
%build
2022-05-15 01:05:18 +03:00
%meson
%meson_build
2012-02-01 14:47:08 +04:00
%install
2022-05-15 01:05:18 +03:00
%meson_install
2012-02-01 14:47:08 +04:00
2015-01-28 22:05:33 +10:00
%find_lang %{pkgname}10