|
|
87e64f9 |
# first two digits of version
|
|
|
87e64f9 |
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
|
|
87e64f9 |
|
|
|
87e64f9 |
Name: accerciser
|
|
Richard Hughes |
06c9688 |
Version: 3.6.0
|
|
Richard Hughes |
c61a919 |
Release: 1%{?dist}
|
|
|
87e64f9 |
Summary: Interactive Python accessibility explorer for the GNOME desktop
|
|
|
87e64f9 |
|
|
|
87e64f9 |
License: BSD
|
|
|
87e64f9 |
URL: https://live.gnome.org/Accerciser
|
|
|
87e64f9 |
Source0: http://download.gnome.org/sources/accerciser/%{release_version}/accerciser-%{version}.tar.xz
|
|
|
87e64f9 |
|
|
|
87e64f9 |
BuildArch: noarch
|
|
|
87e64f9 |
|
|
|
87e64f9 |
BuildRequires: at-spi2-core-devel
|
|
|
87e64f9 |
BuildRequires: desktop-file-utils
|
|
|
87e64f9 |
BuildRequires: gnome-doc-utils
|
|
|
87e64f9 |
BuildRequires: gtk3-devel
|
|
|
87e64f9 |
BuildRequires: intltool
|
|
Richard Hughes |
f03cb5c |
BuildRequires: itstool
|
|
|
87e64f9 |
BuildRequires: pygobject3-devel
|
|
|
87e64f9 |
|
|
|
87e64f9 |
Requires: libwnck3
|
|
|
87e64f9 |
Requires: pyatspi
|
|
|
87e64f9 |
Requires: pycairo
|
|
|
87e64f9 |
Requires: pygobject3
|
|
|
54f5a0d |
Requires: python-ipython-console
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%description
|
|
|
87e64f9 |
Accerciser is an interactive Python accessibility explorer for the GNOME
|
|
|
87e64f9 |
desktop. It uses AT-SPI to inspect and control widgets, allowing you to check
|
|
|
87e64f9 |
if an application is providing correct information to assistive technologies
|
|
|
87e64f9 |
and automated test frameworks. Accerciser has a simple plugin framework which
|
|
|
87e64f9 |
you can use to create custom views of accessibility information.
|
|
|
87e64f9 |
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%prep
|
|
|
87e64f9 |
%setup -q
|
|
|
87e64f9 |
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%build
|
|
|
87e64f9 |
%configure --disable-scrollkeeper
|
|
|
87e64f9 |
make %{?_smp_mflags}
|
|
|
87e64f9 |
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%install
|
|
|
87e64f9 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%find_lang accerciser --with-gnome
|
|
|
87e64f9 |
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%check
|
|
|
87e64f9 |
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/accerciser.desktop
|
|
|
87e64f9 |
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%post
|
|
|
87e64f9 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%postun
|
|
|
87e64f9 |
if [ $1 -eq 0 ] ; then
|
|
|
87e64f9 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
87e64f9 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
87e64f9 |
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|
|
87e64f9 |
fi
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%posttrans
|
|
|
87e64f9 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
87e64f9 |
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|
|
87e64f9 |
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%files -f accerciser.lang
|
|
|
87e64f9 |
%doc AUTHORS COPYING NEWS README
|
|
|
87e64f9 |
%{_bindir}/accerciser
|
|
|
87e64f9 |
%{python_sitelib}/accerciser/
|
|
|
87e64f9 |
%{_datadir}/accerciser/
|
|
|
87e64f9 |
%{_datadir}/applications/accerciser.desktop
|
|
|
87e64f9 |
%{_datadir}/glib-2.0/schemas/org.a11y.Accerciser.gschema.xml
|
|
|
87e64f9 |
%{_datadir}/icons/hicolor/*/apps/accerciser.png
|
|
|
87e64f9 |
%{_datadir}/icons/hicolor/scalable/apps/accerciser.svg
|
|
|
87e64f9 |
%{_mandir}/man1/accerciser.1*
|
|
|
87e64f9 |
|
|
|
87e64f9 |
|
|
|
87e64f9 |
%changelog
|
|
Richard Hughes |
06c9688 |
* Tue Sep 25 2012 Richard Hughes <hughsient@gmail.com> - 3.6.0-1
|
|
Richard Hughes |
06c9688 |
- Update to 3.6.0
|
|
Richard Hughes |
06c9688 |
|
|
Richard Hughes |
34956f6 |
* Wed Sep 19 2012 Richard Hughes <hughsient@gmail.com> - 3.5.92-1
|
|
Richard Hughes |
34956f6 |
- Update to 3.5.92
|
|
Richard Hughes |
34956f6 |
|
|
Richard Hughes |
c61a919 |
* Tue Sep 04 2012 Richard Hughes <hughsient@gmail.com> - 3.5.91-1
|
|
Richard Hughes |
c61a919 |
- Update to 3.5.91
|
|
Richard Hughes |
c61a919 |
|
|
|
54f5a0d |
* Thu Aug 30 2012 Kalev Lember <kalevlember@gmail.com> - 3.5.90-2
|
|
|
54f5a0d |
- Update the runtime deps for ipython package rename
|
|
|
54f5a0d |
|
|
Richard Hughes |
82df345 |
* Tue Aug 21 2012 Richard Hughes <hughsient@gmail.com> - 3.5.90-1
|
|
Richard Hughes |
82df345 |
- Update to 3.5.90
|
|
Richard Hughes |
82df345 |
|
|
Richard Hughes |
a10cdde |
* Tue Aug 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.5-1
|
|
Richard Hughes |
a10cdde |
- Update to 3.5.5
|
|
Richard Hughes |
a10cdde |
|
|
|
7d5436d |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.3-2
|
|
|
7d5436d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7d5436d |
|
|
|
dff4b49 |
* Thu Jun 28 2012 Kalev Lember <kalevlember@gmail.com> - 3.5.3-1
|
|
|
dff4b49 |
- Update to 3.5.3
|
|
|
dff4b49 |
|
|
|
87e64f9 |
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-1
|
|
|
87e64f9 |
- Initial RPM release
|