8a559f9
zcerza 68c2696
Summary: GUI test tool and automation framework
zcerza 68c2696
Name: dogtail
747a749
Version: 0.9.11
f6187cc
Release: 11%{?dist}
zmc 9cdc624
License: GPLv2
fb4fb41
URL: https://gitlab.com/dogtail/dogtail/
fb4fb41
Source0: https://gitlab.com/dogtail/dogtail/raw/released/%{name}-%{version}.tar.gz
zcerza 68c2696
BuildArch: noarch
6d4fcf1
3437ede
%global _description\
3437ede
GUI test tool and automation framework that uses assistive technologies to\
3437ede
communicate with desktop applications.
3437ede
3437ede
%description %_description
3437ede
8a559f9
%package -n python3-dogtail
8a559f9
Summary: GUI test tool and automation framework - python3 installation
8a559f9
BuildRequires: python3-devel
8a559f9
BuildRequires: python3-setuptools
8a559f9
Requires: python3-pyatspi
8a559f9
Requires: python3-gobject
8a559f9
Requires: python3-cairo
8a559f9
Requires: xorg-x11-xinit
8a559f9
Requires: hicolor-icon-theme
8a559f9
8a559f9
%description -n python3-dogtail
8a559f9
GUI test tool and automation framework that uses assistive technologies to
zcerza 68c2696
communicate with desktop applications.
747a749
747a749
%package -n python3-dogtail-scripts
747a749
Summary: Sniff and other scripts for use with Dogtail framework
747a749
BuildRequires: python3-devel
747a749
BuildRequires: python3-setuptools
747a749
BuildRequires: desktop-file-utils
747a749
Requires: python3-pyatspi
747a749
Requires: python3-gobject
747a749
Requires: python3-cairo
747a749
Requires: xorg-x11-xinit
747a749
Requires: hicolor-icon-theme
747a749
Requires: python3-dogtail >= 0.9.11
747a749
747a749
%description -n python3-dogtail-scripts
747a749
GUI test tool and automation framework that uses assistive technologies to
747a749
communicate with desktop applications. This subpackage contains Sniff,
747a749
the a11y exploration tool as well dogtail-run-headless scripts to start
747a749
session to run tests in.
747a749
zcerza 68c2696
zcerza 68c2696
%prep
718e8e4
%setup -q -n %{name}-%{version}
zcerza 68c2696
8a559f9
zcerza 68c2696
%build
8a559f9
8a559f9
%{__python3} setup.py build
zcerza 68c2696
zcerza 68c2696
%install
8a559f9
%{__python3} ./setup.py install -O2 --root=$RPM_BUILD_ROOT --record=%{name}.files
zcerza 68c2696
rm -rf $RPM_BUILD_ROOT/%{_docdir}/dogtail
8a559f9
rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
8a559f9
zcerza 68c2696
find examples -type f -exec chmod 0644 \{\} \;
zcerza 68c2696
desktop-file-install $RPM_BUILD_ROOT/%{_datadir}/applications/sniff.desktop \
zcerza 68c2696
  --dir=$RPM_BUILD_ROOT/%{_datadir}/applications \
zcerza 68c2696
8a559f9
%files -n python3-dogtail
8a559f9
%{python3_sitelib}/dogtail/
8a559f9
%{_datadir}/dogtail/
8a559f9
%{_datadir}/icons/hicolor/*/apps/%{name}*.*
8a559f9
%doc COPYING
8a559f9
%doc README
8a559f9
%doc NEWS
747a749
747a749
%files -n python3-dogtail-scripts
747a749
%{_bindir}/*
747a749
%{_datadir}/applications/*
747a749
%doc COPYING
747a749
%doc README
747a749
%doc NEWS
747a749
8a559f9
zcerza 68c2696
%changelog
f6187cc
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.11-11
f6187cc
- Rebuilt for Python 3.10
f6187cc
6abb9c3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.11-10
6abb9c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6abb9c3
a5f94df
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.11-9
a5f94df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a5f94df
3d9bed1
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.11-8
3d9bed1
- Rebuilt for Python 3.9
3d9bed1
241ad96
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.11-7
241ad96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
241ad96
96a64c2
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.11-6
96a64c2
- Rebuilt for Python 3.8.0rc1 (#1748018)
96a64c2
be6e34d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.11-5
be6e34d
- Rebuilt for Python 3.8
be6e34d
b8f9115
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.11-4
b8f9115
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b8f9115
986e1ef
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.11-3
986e1ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
986e1ef
1b433f7
* Tue Jan 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.11-2
1b433f7
- Subpackage python2-dogtail has been removed
1b433f7
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
1b433f7
747a749
* Mon Nov 12 2018 Vitezslav Humpa <vhumpa@redhat.com> - 0.9.11-1
0923df7
- Update to upstream version 0.9.11
747a749
fb4fb41
* Mon Jul 16 2018 Vitezslav Humpa <vhumpa@redhat.com> - 0.9.10-1
fb4fb41
- Update to upstream version 0.9.10
fb4fb41
897af89
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9-12
897af89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
897af89
92d1228
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.9-11
92d1228
- Rebuilt for Python 3.7
92d1228
dd696f3
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.9-10
dd696f3
- Update Python 2 dependency declarations to new packaging standards
dd696f3
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
dd696f3
3cd29d0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9-9
3cd29d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3cd29d0
b3ccda8
* Tue Jan 09 2018 Troy Dawson <tdawson@redhat.com> - 0.9.9-8
b3ccda8
- Update conditional
b3ccda8
3437ede
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.9.9-7
3437ede
- Python 2 binary package renamed to python2-dogtail
3437ede
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
3437ede
2430008
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9-6
2430008
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2430008
e1e2105
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9-5
e1e2105
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e1e2105
4720a9c
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.9-4
4720a9c
- Rebuild for Python 3.6
4720a9c
be5a4ad
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9-3
be5a4ad
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
be5a4ad
afbe5d7
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9-2
afbe5d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
afbe5d7
8a559f9
* Mon Jan 18 2016 Vitezslav Humpa <vhumpa@redhat.com> - 0.9.9-1
8a559f9
- Update to upstream version 0.9.9
8a559f9
- Upstream now supports Python 3, built as python3-dogtail sub-package
8a559f9
6898df3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4
6898df3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6898df3
290a8bc
* Mon Dec 08 2014 David King <amigadave@amigadave.com> - 0.9.0-3
290a8bc
- Depend on hicolor-icon-theme for icon directory ownership (#1171906)
290a8bc
e7857ec
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
e7857ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e7857ec
5a699cd
* Wed Apr 16 2014 Vitezslav Humpa <vhumpa@redhat.com> - 0.9.0-1
5a699cd
- Update to upstream version 0.9.0
5a699cd
21c7430
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
21c7430
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
21c7430
e5aad27
* Tue Jul 9 2013 Vitezslav Humpa <vhumpa@redhat.com> - 0.8.2-1
e5aad27
- Update to upstream version 0.8.2
e5aad27
8b31d99
* Sat Feb 23 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0.8.1-5
8b31d99
- drop unversioned obsolete
8b31d99
dc3051c
* Sat Feb 23 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0.8.1-4
dc3051c
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
dc3051c
- clean up spec to follow current guidelines
dc3051c
3548398
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-3
3548398
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3548398
b3ccda8
* Thu Oct 18 2012 Vitezslav Humpa <vhumpa@redhat.com> - 0.8.1-2
6978de6
- Respin
6978de6
b3ccda8
* Tue Oct 16 2012 Vitezslav Humpa <vhumpa@redhat.com> - 0.8.1-1
9f7f8d3
- New upstream release
9f7f8d3
915fb58
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-3
915fb58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
915fb58
eebbb9f
* Mon Jun 04 2012 Jaroslav Reznik <jreznik@redhat.com> - 0.8.0-2
eebbb9f
- respin
eebbb9f
718e8e4
* Thu May 31 2012 Jaroslav Reznik <jreznik@redhat.com> - 0.8.0-1
718e8e4
- Update to 0.8.0 Final
718e8e4
- New upstream release
718e8e4
47e888e
* Mon Apr 16 2012 Jaroslav Reznik <jreznik@redhat.com> - 0.8.0-0.5.beta5
718e8e4
- Update to 0.8.0 beta 5
47e888e
846dd05
* Mon Apr 02 2012 Jaroslav Reznik <jreznik@redhat.com> - 0.8.0-0.2.beta2
846dd05
- Update to 0.8.0 beta 2
846dd05
6d4fcf1
* Mon Mar 19 2012 Jaroslav Reznik <jreznik@redhat.com> - 0.8.0-0.1.beta1
6d4fcf1
- Update to 0.8.0 beta 1
6d4fcf1
c72fb0c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-4
c72fb0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c72fb0c
a5e1b4c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3
a5e1b4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a5e1b4c
b7176e6
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.0-2
b7176e6
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
b7176e6
zmc 9303390
* Thu Oct 08 2009 Zack Cerza <zcerza@redhat.com> - 0.7.0-1
zmc 9303390
- New upstream release.
zmc 9303390
- Drop Requires on xorg-x11-server-Xvfb.
zmc 9303390
- Update URL and Source0.
zmc 9303390
- Ship NEWS file.
zmc 9303390
a20907f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.90-4.401
a20907f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a20907f
06d57f1
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.90-3.401
06d57f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
06d57f1
7163eb3
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.6.90-2.401
7163eb3
- Rebuild for Python 2.6
7163eb3
zmc 721e93d
* Tue Aug 12 2008 Zack Cerza <zcerza@redhat.com> - 0.6.90-1.401
zmc 721e93d
- New upstream snapshot.
zmc 721e93d
- Require python-imaging
zmc 721e93d
zmc 9cdc624
* Tue Aug 12 2008 Zack Cerza <zcerza@redhat.com> - 0.6.90-1.381.2
zmc 9cdc624
- Really fix license tag.
zmc 9cdc624
3e0001c
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6.90-1.381.1
3e0001c
- fix license tag
3e0001c
zmc 818f205
* Thu Jan 31 2008 Zack Cerza <zcerza@redhat.com> - 0.6.90-1.381
zmc 818f205
- New upstream snapshot.
zmc 818f205
- Obsolete pyspi; Require at-spi-python.
zmc 818f205
- Require pygtk2-libglade.
zmc 818f205
- Don't ship the .egg-info file.
zmc 818f205
zcerza 8a114a8
* Wed Jan  3 2007 Zack Cerza <zcerza@redhat.com> - 0.6.1-1
zcerza 8a114a8
- New upstream release.
zcerza 8a114a8
81ae60d
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 0.6.0-2
81ae60d
- build for python 2.5
81ae60d
- BR python-devel
81ae60d
zcerza 1f96162
* Wed Sep 13 2006 Zack Cerza <zcerza@redhat.com> - 0.6.0-1
zcerza 1f96162
- New upstream release.
zcerza 1f96162
- Add Requires for xorg-x11-xinit.
zcerza 1f96162
- Add Requires for gnome-python2-gconf.
zcerza 1f96162
- Bump pyspi Requires.
zcerza 1f96162
- Remove upstreamed patches.
zcerza 1f96162
zcerza 4e1e0ff
* Fri Aug 18 2006 Zack Cerza <zcerza@redhat.com> - 0.5.2-3
zcerza 4e1e0ff
- Add Requires for xorg-x11-xinit. Closes: #203189.
zcerza 4e1e0ff
zcerza 1353438
* Fri Aug 11 2006 Zack Cerza <zcerza@redhat.com> - 0.5.2-2
zcerza 1353438
- Added headless-gconf.patch to use the python gconf bindings.
zcerza 1353438
- Added desktop-file-categories.patch to put sniff and dogtail-recorder under
zcerza 1353438
  the 'Programming' menu.
zcerza 1353438
zcerza 68c2696
* Tue Aug 01 2006 Zack Cerza <zcerza@redhat.com> - 0.5.2-1
zcerza 68c2696
- New upstream release.
zcerza 68c2696
- Update Requires from Xvfb to xorg-x11-server-Xvfb.
zcerza 68c2696
- Bump pyspi Requires.
zcerza 68c2696
- Remove ImageMagick Requires.
zcerza 68c2696
- Escape post-macro in changelog-macro.
zcerza 68c2696
zcerza 68c2696
* Mon Apr 17 2006 Zack Cerza <zcerza@redhat.com> - 0.5.1-3
zcerza 68c2696
- Fix the URL field.
zcerza 68c2696
zcerza 68c2696
* Tue Mar 21 2006 Zack Cerza <zcerza@redhat.com> - 0.5.1-2
zcerza 68c2696
- Fix URL and Source0 fields.
zcerza 68c2696
- Fix desktop-file-utils magic; use desktop-file-install.
zcerza 68c2696
zcerza 68c2696
* Fri Feb 24 2006 Zack Cerza <zcerza@redhat.com> - 0.5.1-1
zcerza 68c2696
- Remove BuildRequires on at-spi-devel. Added one on python.
zcerza 68c2696
- Use macros instead of absolute paths.
zcerza 68c2696
- Touch _datadir/icons/hicolor/ before running gtk-update-icon-cache.
zcerza 68c2696
- Require and use desktop-file-utils.
zcerza 68c2696
- postun = post.
8a559f9
- Shorten BuildArchitectures to BuildArch. The former worked, but even vim's
zcerza 68c2696
  hilighting hated it.
zcerza 68c2696
- Put each *Requires on a separate line.
zcerza 68c2696
- Remove __os_install_post definition.
zcerza 68c2696
- Use Fedora Extras BuildRoot.
zcerza 68c2696
- Instead of _libdir, which kills the build if it's /usr/lib64, use a
zcerza 68c2696
  python macro to define python_sitelib and use that.
zcerza 68c2696
- Remove the executable bit on the examples in install scriptlet.
zcerza 68c2696
- Remove call to /bin/rm in post scriptlet.
zcerza 68c2696
- Use dist in Release.
zcerza 68c2696
zcerza 68c2696
* Fri Feb 17 2006 Zack Cerza <zcerza@redhat.com> - 0.5.0-2
zcerza 68c2696
- It looks like xorg-x11-Xvfb changed names. Require 'Xvfb' instead.
8a559f9
- Remove Requires on python-elementtree, since RHEL4 didn't have it. The
zcerza 68c2696
  functionality it provides is probably never used anyway, and will most likely
zcerza 68c2696
  be removed in the future.
zcerza 68c2696
- Don't run gtk-update-icon-cache if it doesn't exist.
zcerza 68c2696
zcerza 68c2696
* Fri Feb  3 2006 Zack Cerza <zcerza@redhat.com> - 0.5.0-1
zcerza 68c2696
- New upstream release.
zcerza 68c2696
- Added missing BuildRequires on at-spi-devel.
zcerza 68c2696
- Added Requires on pyspi >= 0.5.3.
8a559f9
- Added Requires on rpm-python, pygtk2, ImageMagick, xorg-x11-Xvfb,
zcerza 68c2696
  python-elementtree.
zcerza 68c2696
- Moved documentation (including examples) to the correct place.
zcerza 68c2696
- Make sure /usr/share/doc/dogtail is removed.
zcerza 68c2696
- Added 'gtk-update-icon-cache' to %%post.
zcerza 68c2696
zcerza 68c2696
* Mon Oct 24 2005 Zack Cerza <zcerza@redhat.com> - 0.4.3-1
zcerza 68c2696
- New upstream release.
zcerza 68c2696
zcerza 68c2696
* Sat Oct  8 2005 Jeremy Katz <katzj@redhat.com> - 0.4.2-1
zcerza 68c2696
- Initial build.