]>
Commit | Line | Data |
---|---|---|
4d2974dc | 1 | Summary: An interactive Python tool for querying accessibility information |
f2b64c8c | 2 | Summary(pl.UTF-8): Interaktywne narzędzie w Pythonie do pobierania informacji o dostępności |
4d2974dc | 3 | Name: accerciser |
2c501135 JB |
4 | Version: 3.34.1 |
5 | Release: 1 | |
4d2974dc | 6 | License: BSD |
e1cb222b | 7 | Group: X11/Applications/Accessibility |
2c501135 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/3.34/%{name}-%{version}.tar.xz |
9 | # Source0-md5: c019462a3c4f509a5709ef631c854f3a | |
82f7c0ab JB |
10 | URL: https://wiki.gnome.org/Apps/Accerciser |
11 | BuildRequires: at-spi2-core-devel >= 2.5.2 | |
12 | BuildRequires: autoconf >= 2.50 | |
4d2974dc | 13 | BuildRequires: automake |
2c501135 | 14 | BuildRequires: gettext-tools >= 0.19.8 |
82f7c0ab | 15 | BuildRequires: gtk+3-devel >= 3.1.13 |
fd6ef42e | 16 | BuildRequires: pkgconfig |
82f7c0ab JB |
17 | BuildRequires: python3 >= 1:3.2 |
18 | BuildRequires: python3-pygobject3-devel >= 3.0 | |
f41ce09b | 19 | BuildRequires: rpm-pythonprov |
9f1fc0be | 20 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
82f7c0ab JB |
21 | BuildRequires: rpmbuild(macros) >= 1.612 |
22 | BuildRequires: tar >= 1:1.22 | |
23 | BuildRequires: xz | |
24 | BuildRequires: yelp-tools | |
25 | Requires(post,postun): glib2 >= 1:2.26.0 | |
522fe983 | 26 | Requires(post,postun): gtk-update-icon-cache |
f2b64c8c | 27 | Requires(post,postun): hicolor-icon-theme |
82f7c0ab JB |
28 | Requires: atk |
29 | Requires: gdk-pixbuf2 >= 2.0 | |
30 | Requires: gtk+3 >= 3.1.13 | |
31 | Requires: librsvg >= 2.0 | |
32 | Requires: libwnck >= 3.0 | |
33 | Requires: pango | |
34 | Requires: python3-ipython | |
35 | Requires: python3-modules >= 1:3.2 | |
36 | Requires: python3-pyatspi | |
37 | Requires: python3-pycairo | |
38 | Requires: python3-pygobject3 >= 3.0 | |
4d2974dc MB |
39 | BuildArch: noarch |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
41 | ||
42 | %description | |
43 | An interactive Python accessibility explorer. | |
44 | ||
f2b64c8c JB |
45 | %description -l pl.UTF-8 |
46 | Interaktywny eksplorator dostępności w Pythonie. | |
47 | ||
4d2974dc MB |
48 | %prep |
49 | %setup -q | |
50 | ||
51 | %build | |
2c501135 | 52 | %{__gettextize} |
4d2974dc MB |
53 | %{__aclocal} |
54 | %{__autoconf} | |
55 | %{__automake} | |
56 | %configure \ | |
2c501135 JB |
57 | am_cv_python_pythondir=%{py3_sitescriptdir} \ |
58 | %if "%{_host_cpu}" != "x32" | |
59 | --host=%{_host} \ | |
60 | --build=%{_host} | |
61 | %endif | |
62 | ||
4d2974dc MB |
63 | %{__make} |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
82f7c0ab | 71 | %find_lang %{name} --with-gnome |
4d2974dc MB |
72 | |
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post | |
82f7c0ab | 77 | %glib_compile_schemas |
4d2974dc MB |
78 | %update_icon_cache hicolor |
79 | ||
4d2974dc | 80 | %postun |
82f7c0ab | 81 | %glib_compile_schemas |
4d2974dc MB |
82 | %update_icon_cache hicolor |
83 | ||
84 | %files -f %{name}.lang | |
85 | %defattr(644,root,root,755) | |
86 | %doc AUTHORS COPYING ChangeLog NEWS README | |
87 | %attr(755,root,root) %{_bindir}/accerciser | |
82f7c0ab | 88 | %{py3_sitescriptdir}/accerciser |
4d2974dc | 89 | %{_datadir}/accerciser |
82f7c0ab | 90 | %{_datadir}/glib-2.0/schemas/org.a11y.Accerciser.gschema.xml |
2c501135 | 91 | %{_datadir}/metainfo/accerciser.appdata.xml |
4d2974dc | 92 | %{_desktopdir}/accerciser.desktop |
82f7c0ab JB |
93 | %{_iconsdir}/hicolor/*x*/apps/accerciser.png |
94 | %{_iconsdir}/hicolor/scalable/apps/accerciser.svg | |
95 | %{_iconsdir}/hicolor/symbolic/apps/accerciser-symbolic.svg | |
4d2974dc | 96 | %{_mandir}/man1/accerciser.1* |