commit 895e7b0e589bc02fbc41de007c5b4528f85db4c0e1c9430bc41f8f0527405438 Author: Dominique Leuenberger Date: Sun Feb 22 16:26:10 2015 +0000 Accepting request 286775 from GNOME:Apps New package, maintained by the fabulous GNOME Team OBS-URL: https://build.opensuse.org/request/show/286775 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dogtail?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/dogtail-0.9.0.tar.gz b/dogtail-0.9.0.tar.gz new file mode 100644 index 0000000..1a058fb --- /dev/null +++ b/dogtail-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:564dae5fba4fa3a7f6d53503e0877dad56ae8bce10e181d3d2c0bdbf063f4e36 +size 119882 diff --git a/dogtail.changes b/dogtail.changes new file mode 100644 index 0000000..9030fa1 --- /dev/null +++ b/dogtail.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Thu Feb 19 09:30:23 CET 2015 - fcrozat@suse.com + +- Initial package (based on Fedora) + + diff --git a/dogtail.spec b/dogtail.spec new file mode 100644 index 0000000..6f8628e --- /dev/null +++ b/dogtail.spec @@ -0,0 +1,78 @@ +# +# spec file for package dogtail +# +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: dogtail +Version: 0.9.0 +Release: 0 +Summary: GUI test tool and automation framework +License: GPL-2.0 +Url: http://dogtail.fedorahosted.org/ +Source0: http://fedorahosted.org/released/dogtail/%{name}-%{version}.tar.gz +BuildRequires: desktop-file-utils +BuildRequires: gobject-introspection +BuildRequires: hicolor-icon-theme +BuildRequires: python-devel +BuildRequires: update-desktop-files +Requires: hicolor-icon-theme +Requires: python-atspi +Requires: python-cairo +Requires: python-gobject +Requires: python-imaging +Requires: rpm-python +Requires: xinit +BuildArch: noarch + +%description +GUI test tool and automation framework that uses assistive technologies to +communicate with desktop applications. + +%prep +%setup -q + +%build +python ./setup.py build + +%install +python ./setup.py install -O2 --root=%{buildroot} --record=%{name}.files +rm -rf %{buildroot}/%{_docdir}/dogtail +rm -f %{buildroot}/%{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info +find examples -type f -exec chmod 0644 \{\} \; +desktop-file-install %{buildroot}/%{_datadir}/applications/sniff.desktop \ + --dir=%{buildroot}/%{_datadir}/applications \ +%suse_update_desktop_file -G "UI test application" -r %{buildroot}/%{_datadir}/applications/sniff.desktop Development Profiling + +%post +%icon_theme_cache_post + +%postun +%icon_theme_cache_postun + + +%files +%defattr(-,root,root) +%{_bindir}/* +%{python_sitelib}/dogtail/ +%{_datadir}/applications/* +%{_datadir}/dogtail/ +%{_datadir}/icons/hicolor/*/apps/%{name}*.* +%doc COPYING +%doc README +%doc NEWS +%doc %{_datadir}/doc/dogtail + +%changelog