]>
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 |
9a57479a | 4 | Version: 3.38.0 |
30a76ff4 | 5 | Release: 3 |
4d2974dc | 6 | License: BSD |
e1cb222b | 7 | Group: X11/Applications/Accessibility |
9a57479a JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/3.38/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 4f13fd005460e8c2ddab5df81463e799 | |
82f7c0ab | 10 | URL: https://wiki.gnome.org/Apps/Accerciser |
b311402d | 11 | BuildRequires: appstream-glib-devel |
82f7c0ab JB |
12 | BuildRequires: at-spi2-core-devel >= 2.5.2 |
13 | BuildRequires: autoconf >= 2.50 | |
b311402d | 14 | BuildRequires: automake >= 1:1.11 |
2c501135 | 15 | BuildRequires: gettext-tools >= 0.19.8 |
82f7c0ab | 16 | BuildRequires: gtk+3-devel >= 3.1.13 |
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 | |
7ec9c683 | 35 | Requires: python3-Xlib |
82f7c0ab JB |
36 | Requires: python3-ipython |
37 | Requires: python3-modules >= 1:3.2 | |
38 | Requires: python3-pyatspi | |
39 | Requires: python3-pycairo | |
40 | Requires: python3-pygobject3 >= 3.0 | |
4d2974dc MB |
41 | BuildArch: noarch |
42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
43 | ||
44 | %description | |
45 | An interactive Python accessibility explorer. | |
46 | ||
f2b64c8c JB |
47 | %description -l pl.UTF-8 |
48 | Interaktywny eksplorator dostępności w Pythonie. | |
49 | ||
4d2974dc MB |
50 | %prep |
51 | %setup -q | |
52 | ||
53 | %build | |
2c501135 | 54 | %{__gettextize} |
4d2974dc MB |
55 | %{__aclocal} |
56 | %{__autoconf} | |
57 | %{__automake} | |
58 | %configure \ | |
2c501135 JB |
59 | am_cv_python_pythondir=%{py3_sitescriptdir} \ |
60 | %if "%{_host_cpu}" != "x32" | |
61 | --host=%{_host} \ | |
62 | --build=%{_host} | |
63 | %endif | |
64 | ||
4d2974dc MB |
65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
82f7c0ab | 73 | %find_lang %{name} --with-gnome |
4d2974dc MB |
74 | |
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %post | |
82f7c0ab | 79 | %glib_compile_schemas |
4d2974dc MB |
80 | %update_icon_cache hicolor |
81 | ||
4d2974dc | 82 | %postun |
82f7c0ab | 83 | %glib_compile_schemas |
4d2974dc MB |
84 | %update_icon_cache hicolor |
85 | ||
86 | %files -f %{name}.lang | |
87 | %defattr(644,root,root,755) | |
88 | %doc AUTHORS COPYING ChangeLog NEWS README | |
89 | %attr(755,root,root) %{_bindir}/accerciser | |
82f7c0ab | 90 | %{py3_sitescriptdir}/accerciser |
4d2974dc | 91 | %{_datadir}/accerciser |
82f7c0ab | 92 | %{_datadir}/glib-2.0/schemas/org.a11y.Accerciser.gschema.xml |
2c501135 | 93 | %{_datadir}/metainfo/accerciser.appdata.xml |
4d2974dc | 94 | %{_desktopdir}/accerciser.desktop |
82f7c0ab JB |
95 | %{_iconsdir}/hicolor/*x*/apps/accerciser.png |
96 | %{_iconsdir}/hicolor/scalable/apps/accerciser.svg | |
97 | %{_iconsdir}/hicolor/symbolic/apps/accerciser-symbolic.svg | |
4d2974dc | 98 | %{_mandir}/man1/accerciser.1* |