%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %define pkg_version 3.14.0 %define pkg_release 4%{?_dist_release} Summary: An interactive Python accessibility explorer for the GNOME desktop. Summary(ja): GNOME デスクトップ用 Python アクセシビリティエクスプローラ Name: accerciser Version: %{pkg_version} Release: %{pkg_release} Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/3.14/%{name}-%{version}.tar.xz License: BSD Group: User Interface/Desktops URL: http://live.gnome.org/Accerciser Requires: python3 >= 3.2 Requires: python3-pygobject >= 2.90.3 Requires: python3-pyatspi >= 2.5.2 Requires: at-spi2-core Requires(post): desktop-file-utils Requires(postun): desktop-file-utils BuildRequires: python3-devel >= 3.2 BuildRequires: python3-pygobject BuildRequires: pygobject3-devel BuildRequires: gtk3-devel BuildRequires: at-spi2-core-devel BuildRequires: python3-pyatspi BuildRequires: glib2-devel >= 2.26.0 BuildRequires: docbook-dtds BuildRequires: yelp-tools BuildRequires: autoconf BuildRequires: gnome-common BuildRoot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %description Accerciser is an interactive Python accessibility explorer for the GNOME desktop. It uses AT-SPI to inspect and control widgets, allowing you to check if an application is providing correct information to assistive technologies and automated test frameworks. Accerciser has a simple plugin framework which you can use to create custom views of accessibility information. %prep %setup -q %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf ${RPM_BUILD_ROOT} %{__make} install DESTDIR=${RPM_BUILD_ROOT} %find_lang %{name} --with-gnome --all-name %clean %{__rm} -rf ${RPM_BUILD_ROOT} %post gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : update-desktop-database & > /dev/null || : %postun if [ $1 -eq 0 ]; then gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : update-desktop-database & > /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas fi %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/accerciser %{python3_sitelib}/accerciser %{_datadir}/applications/accerciser.desktop %{_datadir}/accerciser/* %{_datadir}/glib-2.0/schemas/*.xml %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/HighContrast/*/apps/* %{_mandir}/man1/accerciser.1.gz %changelog * Tue Jun 28 2016 Yoji TOYODA 3.14.0-4 - rebuild with python3-3.5.2 * Mon Jan 12 2015 Yoji TOYODA 3.14.0-3 - rebuild with python3-3.4.2 * Mon Jan 5 2015 Ryoichi INAGAKI 3.14.0-2 - moved to User Interface/Desktops Group * Sun Oct 26 2014 Yoji TOYODA 3.14.0-1 - new upstream release * Sat Mar 29 2014 Yoji TOYODA 3.12.0-1 - new upstream release - remove BuildRequires: python3-pygobject-devel - add BuildRequires: python3-pygobject, pygobject3-devel * Sat Oct 26 2013 Yoji TOYODA 3.8.2-2 - change BuildRequires: python3-pygobject-devel instead of pygobject3 - change BuildRequires: python3-pyatspi instead of pyatspi * Sun May 19 2013 Yoji TOYODA 3.8.2-1 - new upstream release * Sun Apr 21 2013 Yoji TOYODA 3.8.0-1 - new upstream release - add BuildRequires: autoconf, gnome-common * Wed Nov 14 2012 Yoji TOYODA 3.6.2-1 - new upstream release * Sat Sep 29 2012 Yoji TOYODA 3.6.0-1 - new upstream release - change BuildRequires: yelp-tools instead of gome-doc-utils * Sat Apr 14 2012 Yoji TOYODA 3.4.0-1 - new upstream release - remove BuildRequires: GConf2-devel * Sat Oct 22 2011 Yoji TOYODA 3.2.1-1 - new upstream release * Thu Sep 29 2011 Yoji TOYODA 3.2.0-1 - new upstream release * Fri Sep 23 2011 Yoji TOYODA 3.1.92-1 - new upstream release - add BuildRequires: gtk3-devel, pygobject3-devel - change BuildRequires: at-spi2-core-devel instead of at-spi-devel * Sun Aug 21 2011 Yoji TOYODA 3.1.5-1 - new upstream release * Mon Aug 15 2011 Yoji TOYODA 3.1.4-1 - new upstream release * Mon May 02 2011 Yoji TOYODA 1.12.1-1 - new upstream release * Sun Oct 10 2010 Yoji TOYODA 1.12.0-1 - initial build for Vine Linux