File texttest.spec of Package texttest

#
# spec file for package texttest
#

Name:           texttest
Version:        3.29
Release:        1
License:        LGPL-2.1-or-later
Summary:        Pure python text-based acceptance testing
Url:            http://texttest.org
Source:         TextTest-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  pkgconfig(python2)
BuildRequires:  python-rpm-macros
%if 0%{?suse_version}
Recommends:     python-gtk tkdiff
%endif

%description
TextTest is an open source tool for text-based functional testing.
This means running a program in lots of different ways from the command
line, and using the text output produced as a means of controlling the
behaviour of that application.

%prep
%setup -q -n TextTest-%{version}

%build
python ./setup.py build

%install
python ./setup.py install --root=%{buildroot} --prefix=%{_prefix}

%files
%doc texttestlib/doc/*
%{python_sitelib}/texttestlib/
%{python_sitelib}/TextTest-%{version}-py*.egg-info
%{python_sitelib}/ordereddict.py*
%{_bindir}/filter_fpdiff.py
%{_bindir}/filter_rundependent.py
%{_bindir}/texttest
%{_bindir}/interpretcore

%changelog
openSUSE Build Service is sponsored by