]>
Commit | Line | Data |
---|---|---|
1 | Summary: An interactive Python tool for querying accessibility information | |
2 | Summary(pl.UTF-8): Interaktywne narzędzie w Pythonie do pobierania informacji o dostępności | |
3 | Name: accerciser | |
4 | Version: 3.22.0 | |
5 | Release: 4 | |
6 | License: BSD | |
7 | Group: X11/Applications/Accessibility | |
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 | |
13 | BuildRequires: automake | |
14 | BuildRequires: gettext-tools | |
15 | BuildRequires: gtk+3-devel >= 3.1.13 | |
16 | BuildRequires: intltool >= 0.40.0 | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: python3 >= 1:3.2 | |
19 | BuildRequires: python3-pygobject3-devel >= 3.0 | |
20 | BuildRequires: rpm-pythonprov | |
21 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
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 | |
27 | Requires(post,postun): gtk-update-icon-cache | |
28 | Requires(post,postun): hicolor-icon-theme | |
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 | |
40 | BuildArch: noarch | |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
42 | ||
43 | %description | |
44 | An interactive Python accessibility explorer. | |
45 | ||
46 | %description -l pl.UTF-8 | |
47 | Interaktywny eksplorator dostępności w Pythonie. | |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %build | |
53 | %{__glib_gettextize} | |
54 | %{__intltoolize} | |
55 | %{__aclocal} | |
56 | %{__autoconf} | |
57 | %{__automake} | |
58 | %configure \ | |
59 | am_cv_python_pythondir=%{py3_sitescriptdir} | |
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
68 | %find_lang %{name} --with-gnome | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post | |
74 | %glib_compile_schemas | |
75 | %update_icon_cache hicolor | |
76 | ||
77 | %postun | |
78 | %glib_compile_schemas | |
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 | |
85 | %{py3_sitescriptdir}/accerciser | |
86 | %{_datadir}/accerciser | |
87 | %{_datadir}/appdata/org.gnome.accerciser.appdata.xml | |
88 | %{_datadir}/glib-2.0/schemas/org.a11y.Accerciser.gschema.xml | |
89 | %{_desktopdir}/accerciser.desktop | |
90 | %{_iconsdir}/hicolor/*x*/apps/accerciser.png | |
91 | %{_iconsdir}/hicolor/scalable/apps/accerciser.svg | |
92 | %{_iconsdir}/hicolor/symbolic/apps/accerciser-symbolic.svg | |
93 | %{_mandir}/man1/accerciser.1* |