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