vhumpa / rpms / dogtail

Forked from rpms/dogtail 9 months ago
Clone
zcerza 68c269
Summary: GUI test tool and automation framework
zcerza 68c269
Name: dogtail
Jaroslav Reznik 6d4fcf
Version: 0.8.0
Jaroslav Reznik 718e8e
Release: 1%{?dist}
zmc 9cdc62
License: GPLv2
zmc 930339
URL: http://dogtail.fedorahosted.org/
Jaroslav Reznik 718e8e
Source0: http://fedorahosted.org/released/dogtail/%{name}-%{version}.tar.gz
Jaroslav Reznik 6d4fcf
zcerza 68c269
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
zcerza 68c269
BuildArch: noarch
Jaroslav Reznik 6d4fcf
Jaroslav Reznik 6d4fcf
BuildRequires: python2-devel
zcerza 68c269
BuildRequires: desktop-file-utils
Jaroslav Reznik 6d4fcf
zmc 818f20
Obsoletes: pyspi
Jaroslav Reznik 6d4fcf
Jaroslav Reznik 6d4fcf
Requires: pyatspi
Jaroslav Reznik 6d4fcf
Requires: pygobject3
Jaroslav Reznik 6d4fcf
Requires: pycairo
zcerza 68c269
Requires: pygtk2
Jaroslav Reznik 47e888
Requires: pyorbit
zcerza 68c269
Requires: rpm-python
zcerza 4e1e0f
Requires: xorg-x11-xinit
zmc 721e93
Requires: python-imaging
zcerza 1f9616
zcerza 68c269
%description
zcerza 68c269
GUI test tool and automation framework that uses assistive technologies to 
zcerza 68c269
communicate with desktop applications.
zcerza 68c269
zcerza 68c269
%prep
Jaroslav Reznik 718e8e
%setup -q -n %{name}-%{version}
zcerza 68c269
zcerza 68c269
%build
zcerza 68c269
python ./setup.py build
zcerza 68c269
zcerza 68c269
%install
zcerza 68c269
rm -rf $RPM_BUILD_ROOT
zcerza 68c269
python ./setup.py install -O2 --root=$RPM_BUILD_ROOT --record=%{name}.files
zcerza 68c269
rm -rf $RPM_BUILD_ROOT/%{_docdir}/dogtail
zmc 818f20
rm -f $RPM_BUILD_ROOT/%{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info
zcerza 68c269
find examples -type f -exec chmod 0644 \{\} \;
zcerza 68c269
desktop-file-install $RPM_BUILD_ROOT/%{_datadir}/applications/sniff.desktop \
zcerza 68c269
  --vendor=fedora \
zcerza 68c269
  --dir=$RPM_BUILD_ROOT/%{_datadir}/applications \
zcerza 68c269
  --add-category X-Fedora \
zcerza 68c269
  --delete-original
zcerza 68c269
zcerza 68c269
%post
zcerza 68c269
touch --no-create %{_datadir}/icons/hicolor || :
zcerza 68c269
[ -x /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache --quiet -f %{_datadir}/icons/hicolor || :
zcerza 68c269
zcerza 68c269
%postun
zcerza 68c269
touch --no-create %{_datadir}/icons/hicolor || :
zcerza 68c269
[ -x /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache --quiet -f %{_datadir}/icons/hicolor || :
zcerza 68c269
zcerza 68c269
%clean
zcerza 68c269
rm -rf $RPM_BUILD_ROOT
zcerza 68c269
zcerza 68c269
%files
zcerza 68c269
%defattr(-,root,root,-)
zcerza 68c269
%{_bindir}/*
zcerza 68c269
%{python_sitelib}/dogtail/
Jaroslav Reznik 6d4fcf
%{python_sitelib}/*.egg-info
zcerza 68c269
%{_datadir}/applications/*
zcerza 68c269
%{_datadir}/dogtail/
zcerza 68c269
%{_datadir}/icons/hicolor/*
zcerza 68c269
%doc COPYING
zcerza 68c269
%doc README
zmc 930339
%doc NEWS
zcerza 68c269
%doc examples/
zcerza 68c269
zcerza 68c269
%changelog
Jaroslav Reznik 718e8e
* Thu May 31 2012 Jaroslav Reznik <jreznik@redhat.com> - 0.8.0-1
Jaroslav Reznik 718e8e
- Update to 0.8.0 Final
Jaroslav Reznik 718e8e
- New upstream release
Jaroslav Reznik 718e8e
Jaroslav Reznik 47e888
* Mon Apr 16 2012 Jaroslav Reznik <jreznik@redhat.com> - 0.8.0-0.5.beta5
Jaroslav Reznik 718e8e
- Update to 0.8.0 beta 5
Jaroslav Reznik 47e888
Jaroslav Reznik 846dd0
* Mon Apr 02 2012 Jaroslav Reznik <jreznik@redhat.com> - 0.8.0-0.2.beta2
Jaroslav Reznik 846dd0
- Update to 0.8.0 beta 2
Jaroslav Reznik 846dd0
Jaroslav Reznik 6d4fcf
* Mon Mar 19 2012 Jaroslav Reznik <jreznik@redhat.com> - 0.8.0-0.1.beta1
Jaroslav Reznik 6d4fcf
- Update to 0.8.0 beta 1
Jaroslav Reznik 6d4fcf
c72fb0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-4
c72fb0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c72fb0
a5e1b4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3
a5e1b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a5e1b4
b7176e
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.0-2
b7176e
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
b7176e
zmc 930339
* Thu Oct 08 2009 Zack Cerza <zcerza@redhat.com> - 0.7.0-1
zmc 930339
- New upstream release.
zmc 930339
- Drop Requires on xorg-x11-server-Xvfb.
zmc 930339
- Update URL and Source0.
zmc 930339
- Ship NEWS file.
zmc 930339
a20907
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.90-4.401
a20907
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a20907
06d57f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.90-3.401
06d57f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
06d57f
7163eb
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.6.90-2.401
7163eb
- Rebuild for Python 2.6
7163eb
zmc 721e93
* Tue Aug 12 2008 Zack Cerza <zcerza@redhat.com> - 0.6.90-1.401
zmc 721e93
- New upstream snapshot.
zmc 721e93
- Require python-imaging
zmc 721e93
zmc 9cdc62
* Tue Aug 12 2008 Zack Cerza <zcerza@redhat.com> - 0.6.90-1.381.2
zmc 9cdc62
- Really fix license tag.
zmc 9cdc62
3e0001
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6.90-1.381.1
3e0001
- fix license tag
3e0001
zmc 818f20
* Thu Jan 31 2008 Zack Cerza <zcerza@redhat.com> - 0.6.90-1.381
zmc 818f20
- New upstream snapshot.
zmc 818f20
- Obsolete pyspi; Require at-spi-python.
zmc 818f20
- Require pygtk2-libglade.
zmc 818f20
- Don't ship the .egg-info file.
zmc 818f20
zcerza 8a114a
* Wed Jan  3 2007 Zack Cerza <zcerza@redhat.com> - 0.6.1-1
zcerza 8a114a
- New upstream release.
zcerza 8a114a
81ae60
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 0.6.0-2
81ae60
- build for python 2.5
81ae60
- BR python-devel
81ae60
zcerza 1f9616
* Wed Sep 13 2006 Zack Cerza <zcerza@redhat.com> - 0.6.0-1
zcerza 1f9616
- New upstream release.
zcerza 1f9616
- Add Requires for xorg-x11-xinit.
zcerza 1f9616
- Add Requires for gnome-python2-gconf.
zcerza 1f9616
- Bump pyspi Requires.
zcerza 1f9616
- Remove upstreamed patches.
zcerza 1f9616
zcerza 4e1e0f
* Fri Aug 18 2006 Zack Cerza <zcerza@redhat.com> - 0.5.2-3
zcerza 4e1e0f
- Add Requires for xorg-x11-xinit. Closes: #203189.
zcerza 4e1e0f
zcerza 135343
* Fri Aug 11 2006 Zack Cerza <zcerza@redhat.com> - 0.5.2-2
zcerza 135343
- Added headless-gconf.patch to use the python gconf bindings.
zcerza 135343
- Added desktop-file-categories.patch to put sniff and dogtail-recorder under
zcerza 135343
  the 'Programming' menu.
zcerza 135343
zcerza 68c269
* Tue Aug 01 2006 Zack Cerza <zcerza@redhat.com> - 0.5.2-1
zcerza 68c269
- New upstream release.
zcerza 68c269
- Update Requires from Xvfb to xorg-x11-server-Xvfb.
zcerza 68c269
- Bump pyspi Requires.
zcerza 68c269
- Remove ImageMagick Requires.
zcerza 68c269
- Escape post-macro in changelog-macro.
zcerza 68c269
zcerza 68c269
* Mon Apr 17 2006 Zack Cerza <zcerza@redhat.com> - 0.5.1-3
zcerza 68c269
- Fix the URL field.
zcerza 68c269
zcerza 68c269
* Tue Mar 21 2006 Zack Cerza <zcerza@redhat.com> - 0.5.1-2
zcerza 68c269
- Fix URL and Source0 fields.
zcerza 68c269
- Fix desktop-file-utils magic; use desktop-file-install.
zcerza 68c269
zcerza 68c269
* Fri Feb 24 2006 Zack Cerza <zcerza@redhat.com> - 0.5.1-1
zcerza 68c269
- Remove BuildRequires on at-spi-devel. Added one on python.
zcerza 68c269
- Use macros instead of absolute paths.
zcerza 68c269
- Touch _datadir/icons/hicolor/ before running gtk-update-icon-cache.
zcerza 68c269
- Require and use desktop-file-utils.
zcerza 68c269
- postun = post.
zcerza 68c269
- Shorten BuildArchitectures to BuildArch. The former worked, but even vim's 
zcerza 68c269
  hilighting hated it.
zcerza 68c269
- Put each *Requires on a separate line.
zcerza 68c269
- Remove __os_install_post definition.
zcerza 68c269
- Use Fedora Extras BuildRoot.
zcerza 68c269
- Instead of _libdir, which kills the build if it's /usr/lib64, use a
zcerza 68c269
  python macro to define python_sitelib and use that.
zcerza 68c269
- Remove the executable bit on the examples in install scriptlet.
zcerza 68c269
- Remove call to /bin/rm in post scriptlet.
zcerza 68c269
- Use dist in Release.
zcerza 68c269
zcerza 68c269
* Fri Feb 17 2006 Zack Cerza <zcerza@redhat.com> - 0.5.0-2
zcerza 68c269
- It looks like xorg-x11-Xvfb changed names. Require 'Xvfb' instead.
zcerza 68c269
- Remove Requires on python-elementtree, since RHEL4 didn't have it. The 
zcerza 68c269
  functionality it provides is probably never used anyway, and will most likely
zcerza 68c269
  be removed in the future.
zcerza 68c269
- Don't run gtk-update-icon-cache if it doesn't exist.
zcerza 68c269
zcerza 68c269
* Fri Feb  3 2006 Zack Cerza <zcerza@redhat.com> - 0.5.0-1
zcerza 68c269
- New upstream release.
zcerza 68c269
- Added missing BuildRequires on at-spi-devel.
zcerza 68c269
- Added Requires on pyspi >= 0.5.3.
zcerza 68c269
- Added Requires on rpm-python, pygtk2, ImageMagick, xorg-x11-Xvfb, 
zcerza 68c269
  python-elementtree.
zcerza 68c269
- Moved documentation (including examples) to the correct place.
zcerza 68c269
- Make sure /usr/share/doc/dogtail is removed.
zcerza 68c269
- Added 'gtk-update-icon-cache' to %%post.
zcerza 68c269
zcerza 68c269
* Mon Oct 24 2005 Zack Cerza <zcerza@redhat.com> - 0.4.3-1
zcerza 68c269
- New upstream release.
zcerza 68c269
zcerza 68c269
* Sat Oct  8 2005 Jeremy Katz <katzj@redhat.com> - 0.4.2-1
zcerza 68c269
- Initial build.
zcerza 68c269