1
1
Summary: GUI test tool and automation framework
6
6
Group: User Interface/X
7
URL: http://people.redhat.com/zcerza/dogtail/
7
URL: http://people.redhat.com/zcerza/dogtail/releases/dogtail-0.5.1.tar.gz
8
8
Source0: %{name}-%{version}.tar.gz
9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10
BuildArchitectures: noarch
11
BuildRequires: at-spi-devel
12
Requires: pyspi >= 0.5.3, pygtk2, rpm-python, ImageMagick, Xvfb
14
# hrm, the brp-python-bytecompile will byte-compile docs stuff too
15
# which is probably not what we want
16
%define __os_install_post [ -x /usr/lib/rpm/brp-python-bytecompile ] && /usr/lib/rpm/brp-python-bytecompile find $RPM_BUILD_ROOT/%{_docdir}/dogtail -name *.py[co] |xargs rm -f
9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
Requires: pyspi >= 0.5.3
17
Requires(post): desktop-file-utils
18
Requires(postun): desktop-file-utils
19
21
GUI test tool and automation framework that uses assistive technologies to
20
22
communicate with desktop applications.
25
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
29
32
rm -rf $RPM_BUILD_ROOT
30
33
python ./setup.py install -O2 --root=$RPM_BUILD_ROOT --record=%{name}.files
31
34
rm -rf $RPM_BUILD_ROOT/%{_docdir}/dogtail
35
find examples -type f -exec chmod 0644 \{\} \;
34
[ -x /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -f /usr/share/icons/hicolor 2>/dev/null
35
rm -rf /usr/share/doc/dogtail/
38
touch --no-create %{_datadir}/icons/hicolor || :
39
[ -x /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache --quiet -f %{_datadir}/icons/hicolor || :
40
update-desktop-database &> /dev/null || :
43
touch --no-create %{_datadir}/icons/hicolor || :
44
[ -x /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache --quiet -f %{_datadir}/icons/hicolor || :
45
update-desktop-database &> /dev/null || :
38
48
rm -rf $RPM_BUILD_ROOT
40
#%files -f %{name}.files
42
51
%defattr(-,root,root,-)
45
/usr/share/applications/
47
/usr/share/icons/hicolor/
53
%{python_sitelib}/dogtail/
54
%{_datadir}/applications/*
56
%{_datadir}/icons/hicolor/*
53
* Fri Feb 17 2006 Zack Cerza <zcerza@redhat.com>
62
* Fri Feb 24 2006 Zack Cerza <zcerza@redhat.com> - 0.5.1-1
63
- Remove BuildRequires on at-spi-devel. Added one on python.
64
- Use macros instead of absolute paths.
65
- Touch _datadir/icons/hicolor/ before running gtk-update-icon-cache.
66
- Require and use desktop-file-utils.
68
- Shorten BuildArchitectures to BuildArch. The former worked, but even vim's
70
- Put each *Requires on a separate line.
71
- Remove __os_install_post definition.
72
- Use Fedora Extras BuildRoot.
73
- Instead of _libdir, which kills the build if it's /usr/lib64, use a
74
python macro to define python_sitelib and use that.
75
- Remove the executable bit on the examples in install scriptlet.
76
- Remove call to /bin/rm in post scriptlet.
77
- Use dist in Release.
79
* Fri Feb 17 2006 Zack Cerza <zcerza@redhat.com> - 0.5.0-2
54
80
- It looks like xorg-x11-Xvfb changed names. Require 'Xvfb' instead.
55
81
- Remove Requires on python-elementtree, since RHEL4 didn't have it. The
56
82
functionality it provides is probably never used anyway, and will most likely
57
83
be removed in the future.
58
84
- Don't run gtk-update-icon-cache if it doesn't exist.
60
* Fri Feb 3 2006 Zack Cerza <zcerza@redhat.com>
86
* Fri Feb 3 2006 Zack Cerza <zcerza@redhat.com> - 0.5.0-1
61
87
- New upstream release.
62
88
- Added missing BuildRequires on at-spi-devel.
63
89
- Added Requires on pyspi >= 0.5.3.
67
93
- Make sure /usr/share/doc/dogtail is removed.
68
94
- Added 'gtk-update-icon-cache' to %post.
70
* Mon Oct 24 2005 Zack Cerza <zcerza@redhat.com>
96
* Mon Oct 24 2005 Zack Cerza <zcerza@redhat.com> - 0.4.3-1
71
97
- New upstream release.
73
* Sat Oct 8 2005 Jeremy Katz <katzj@redhat.com>
99
* Sat Oct 8 2005 Jeremy Katz <katzj@redhat.com> - 0.4.2-1