avocado.spec 3.5 KB
Newer Older
1 2
Summary: Avocado Test Framework
Name: avocado
3 4
Version: 0.14.0
Release: 1%{?dist}
5 6
License: GPLv2
Group: Development/Tools
7
URL: https://github.com/avocado-framework/avocado
8
Source: avocado-%{version}.tar.gz
9
BuildRequires: python2-devel, python-docutils, python-yaml
10
BuildArch: noarch
11
Requires: python, python-requests, python-yaml, fabric, pyliblzma
12 13

%description
14 15
Avocado is a set of tools and libraries (what people call
these days a framework) to perform automated testing.
16 17 18 19 20 21

%prep
%setup -q

%build
%{__python} setup.py build
C
Cleber Rosa 已提交
22
%{__python2} /usr/bin/rst2man man/avocado.rst man/avocado.1
23 24 25

%install
%{__python} setup.py install --root %{buildroot} --skip-build
C
Cleber Rosa 已提交
26 27
%{__mkdir} -p %{buildroot}%{_mandir}/man1
%{__install} -m 0644 man/avocado.1 %{buildroot}%{_mandir}/man1/avocado.1
28 29 30 31 32 33 34

%files
%defattr(-,root,root,-)
%doc README.rst LICENSE
%dir /etc/avocado
%config(noreplace)/etc/avocado/settings.ini
%{_bindir}/avocado
35 36
%exclude %{python_sitelib}/avocado/plugins/htmlresult.py*
%exclude %{python_sitelib}/avocado/plugins/resources/htmlresult/*
37
%{python_sitelib}/avocado*
C
Cleber Rosa 已提交
38
%{_mandir}/man1/avocado.1.gz
39

40 41 42 43 44 45 46 47 48 49 50 51 52
%package plugins-output-html
Summary: Avocado HTML report plugin
Requires: avocado, pystache

%description plugins-output-html
Adds to avocado the ability to generate an HTML report at every job results
directory. It also gives the user the ability to write a report on an
arbitrary filesystem location.

%files plugins-output-html
%{python_sitelib}/avocado/plugins/htmlresult.py*
%{python_sitelib}/avocado/plugins/resources/htmlresult/*

53
%package examples
54
Summary: Avocado Test Framework Example Tests
55 56
Requires: avocado

57 58 59 60
%description examples
The set of example tests present in the upstream tree of the Avocado framework.
Some of them are used as functional tests of the framework, others serve as
examples of how to write tests on your own.
61

62
%files examples
63
%{_datadir}/avocado/tests
64
%{_datadir}/avocado/wrappers
65 66

%changelog
67 68 69
* Wed Dec  3 2014 Ruda Moura <rmoura@redhat.com> - 0.14.0-2
- Include all wrappers scripts to examples subpackage.

70 71 72
* Mon Oct 13 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.14.0-1
- New upstream release

73
* Thu Sep 11 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.12.0-2
74 75
- Rename -tests package to -examples

76 77 78
* Tue Sep  9 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.12.0-1
- New upstream release

79 80 81
* Tue Sep  2 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.11.1-2
- Added fabric dependency

82 83 84 85
* Wed Aug 20 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.11.1-1
- Bumped version to avocado 0.11.1
- Added python-yaml build dependency

86 87 88 89
* Wed Aug 20 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.11.0-1
- Bumped version to avocado 0.11.0
- Added python-yaml new dependency

C
Cleber Rosa 已提交
90 91 92
* Wed Aug 20 2014 Cleber Rosa <cleber@redhat.com> - 0.10.1-2
- Added initial avocado man page

93 94 95
* Tue Aug 12 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.10.1-1
- Bugfix release 0.10.1

96 97 98
* Thu Aug  7 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.10.0-1
- Bumped version to Avocado 0.10.0

99 100 101
* Wed Jul 30 2014 Cleber Rosa <cleber@redhat.com> - 0.8.0-2
- Split tests into avocado-tests package

102 103 104
* Fri Jul 18 2014 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.8.0-1
- Bumped version to Avocado 0.8.0

105 106 107
* Fri Jun 13 2014 Ruda Moura <rmoura@redhat.com> - 0.6.0-1
- Bumped version to Avocado 0.6.0

108 109 110
* Thu May  8 2014 Ruda Moura <rmoura@redhat.com> - 0.4.0-1
- Bumped version to Avocado 0.4.0

111 112 113
* Wed Apr 30 2014 Cleber Rosa <cleber@redhat.com> - 0.0.1-2
- Added new requirements reflecting new upstream deps

114 115
* Wed Apr  2 2014 Ruda Moura <rmoura@redhat.com> - 0.0.1-1
- Created initial spec file