1 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
2 |
|
3 |
Summary: An interactive Python tool for querying accessibility information |
4 |
Name: accerciser |
5 |
Version: 3.32.2 |
6 |
Release: %mkrel 1 |
7 |
License: BSD |
8 |
Group: Accessibility |
9 |
Url: https://wiki.gnome.org/Accerciser |
10 |
Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
11 |
BuildArch: noarch |
12 |
BuildRequires: pkgconfig(atspi-2) >= 2.1.5 |
13 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.1.13 |
14 |
BuildRequires: pkgconfig(pygobject-3.0) >= 2.90.3 |
15 |
BuildRequires: gettext |
16 |
BuildRequires: itstool |
17 |
BuildRequires: libxml2-utils |
18 |
BuildRequires: yelp-tools |
19 |
BuildRequires: pkgconfig(python3) |
20 |
Requires: pythonegg(3)(pygobject) |
21 |
|
22 |
%description |
23 |
An interactive Python accessibility explorer. |
24 |
|
25 |
%prep |
26 |
%setup -q |
27 |
%autopatch -p1 |
28 |
|
29 |
%build |
30 |
%configure2_5x --build=%{_host} |
31 |
%make_build |
32 |
|
33 |
%install |
34 |
%make_install |
35 |
|
36 |
%find_lang %{name} --with-gnome |
37 |
|
38 |
%files -f %{name}.lang |
39 |
%doc AUTHORS README NEWS |
40 |
%{_bindir}/%{name} |
41 |
%{python3_sitelib}/%{name} |
42 |
%{_datadir}/glib-2.0/schemas/org.a11y.Accerciser.gschema.xml |
43 |
%{_datadir}/%{name} |
44 |
%{_datadir}/icons/hicolor/*/apps/%{name}*.* |
45 |
%{_datadir}/applications/%{name}.desktop |
46 |
%{_mandir}/man1/* |
47 |
%{_metainfodir}/*.appdata.xml |