/[packages]/cauldron/accerciser/current/SPECS/accerciser.spec
ViewVC logotype

Contents of /cauldron/accerciser/current/SPECS/accerciser.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2018945 - (show annotations) (download)
Mon Dec 18 21:43:05 2023 UTC (3 months, 4 weeks ago) by papoteur
File size: 1880 byte(s)
Mass Rebuild - Python 3.12
1 %define url_ver %{lua: ver = rpm.expand("%{version}"); majmin, count1 = string.gsub(ver, "^([0123456789]+%.[0123456789]+).*", "%1", 1); if count1 == 0 then print(ver); return; end; maj, count2 = string.gsub(majmin, "^([0123456789]+).*", "%1", 1); if count2 == 0 then print(majmin) elseif tonumber(majmin) < 40 then print(majmin) else print(maj) end}
2
3 Name: accerciser
4 Version: 3.42.0
5 Release: %mkrel 2
6 Summary: Interactive Python accessibility explorer for the GNOME desktop
7 License: BSD
8 Group: Accessibility
9 URL: https://wiki.gnome.org/Apps/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: make
18 BuildRequires: libxml2-utils
19 BuildRequires: yelp-tools
20 BuildRequires: pkgconfig(python3)
21 Requires: python3dist(pygobject)
22
23 %description
24 Accerciser is an interactive Python accessibility explorer for the GNOME
25 desktop. It uses AT-SPI to inspect and control widgets, allowing you to check
26 if an application is providing correct information to assistive technologies
27 and automated test frameworks. Accerciser has a simple plugin framework which
28 you can use to create custom views of accessibility information.
29
30
31 %prep
32 %autosetup -p1
33
34
35 %build
36 export PYTHON=%{python3}
37 %configure --build=%{_host}
38 %make_build
39
40
41 %install
42 %make_install
43
44 %find_lang accerciser --with-gnome
45
46 %files -f accerciser.lang
47 %doc AUTHORS NEWS README.md
48 %{_bindir}/accerciser
49 %{python3_sitelib}/accerciser/
50 %{_datadir}/accerciser/
51 %{_datadir}/applications/accerciser.desktop
52 %{_datadir}/glib-2.0/schemas/org.a11y.Accerciser.gschema.xml
53 %{_datadir}/icons/hicolor/*/apps/%{name}*.*
54 %{_metainfodir}/*.appdata.xml
55 %{_mandir}/man1/accerciser.1*

  ViewVC Help
Powered by ViewVC 1.1.30