atk1.0/atk1.0.spec

114 lines
3.2 KiB
RPMSpec
Raw Normal View History

2012-02-01 14:47:08 +04:00
%define enable_gtkdoc 0
2012-07-07 06:17:52 +04:00
%define api 1.0
%define major 0
%define pkgname atk
%define libname %mklibname %{pkgname} %{api} %{major}
%define girname %mklibname %{pkgname}-gir %{api}
2012-02-01 14:47:08 +04:00
%define develname %mklibname -d %{name}
2012-07-07 06:17:52 +04:00
Summary: Accessibility features for Gtk+
Name: %{pkgname}%{api}
2013-06-20 20:11:02 +04:00
Version: 2.8.0
2012-09-28 11:49:36 +04:00
Release: 1
2012-07-07 06:17:52 +04:00
License: LGPLv2+
Group: Accessibility
Url: http://developer.gnome.org/projects/gap/
2013-06-20 20:11:02 +04:00
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/2.8/%{pkgname}-%{version}.tar.xz
2012-07-07 06:17:52 +04:00
%if %{enable_gtkdoc}
BuildRequires: gtk-doc >= 1.11-3
2012-02-01 14:47:08 +04:00
%endif
2012-07-07 06:17:52 +04:00
BuildRequires: pkgconfig(glib-2.0) >= 2.5.7
BuildRequires: pkgconfig(gobject-introspection-1.0)
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.
%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.
2012-07-07 06:17:52 +04:00
%package -n %{libname}
Summary: Accessibility features for Gtk+
Group: System/Libraries
Suggests: %{name}-common >= %{version}-%{release}
Provides: lib%{name} = %{version}-%{release}
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.
2012-07-07 06:17:52 +04:00
%package -n %{girname}
Summary: GObject introspection interface library for %{pkgname}
Group: System/Libraries
Obsoletes: %{_lib}atk1.0_0 < 2.4.0-1
%description -n %{girname}
GObject introspection interface library for %{pkgname}.
2012-02-01 14:47:08 +04:00
%package -n %{develname}
2012-07-07 06:17:52 +04:00
Summary: Stuff for developing with atk
Group: Development/C
2012-02-01 14:47:08 +04:00
Provides: %{pkgname}-devel = %{version}-%{release}
2012-07-07 06:17:52 +04:00
Requires: %{libname} = %{version}-%{release}
Requires: %{girname} = %{version}-%{release}
Obsoletes: %{_lib}atk1.0_0-devel
Conflicts: gir-repository < 0.6.5-4
%description -n %{develname}
2012-02-01 14:47:08 +04:00
ATK, the Accessibility Tookit, is used to obtain accessibily information
from GTK+ and GNOME widgets.
%prep
%setup -q -n %{pkgname}-%{version}
%build
%configure2_5x \
2012-07-07 06:17:52 +04:00
--disable-static \
%if %{enable_gtkdoc}
2012-02-01 14:47:08 +04:00
--enable-gtk-doc
%endif
%make
%install
%makeinstall_std
2012-07-07 06:17:52 +04:00
%find_lang %{pkgname}10
2012-02-01 14:47:08 +04:00
%files common -f %{pkgname}10.lang
%doc README
2012-07-07 06:17:52 +04:00
%files -n %{libname}
%{_libdir}/libatk-%{api}.so.%{major}*
%files -n %{girname}
%{_libdir}/girepository-1.0/Atk-%{api}.typelib
2012-02-01 14:47:08 +04:00
2012-07-07 06:17:52 +04:00
%files -n %{develname}
2012-02-01 14:47:08 +04:00
%doc AUTHORS ChangeLog NEWS
%doc %{_datadir}/gtk-doc/html/*
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
2012-07-07 06:17:52 +04:00
%{_datadir}/gir-1.0/Atk-%{api}.gir