forked from avocado-framework/avocado
-
Notifications
You must be signed in to change notification settings - Fork 1
/
avocado.spec
137 lines (105 loc) · 4.43 KB
/
avocado.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
Summary: Avocado Test Framework
Name: avocado
Version: 0.20.1
Release: 2%{?dist}
License: GPLv2
Group: Development/Tools
URL: http://avocado-framework.github.io/
Source: avocado-%{version}.tar.gz
BuildRequires: python2-devel, python-docutils, python-yaml
BuildArch: noarch
Requires: python, python-requests, python-yaml, fabric, pyliblzma
%description
Avocado is a set of tools and libraries (what people call
these days a framework) to perform automated testing.
%prep
%setup -q
%build
%{__python} setup.py build
%{__python2} /usr/bin/rst2man man/avocado.rst man/avocado.1
%{__python2} /usr/bin/rst2man man/avocado-rest-client.rst man/avocado-rest-client.1
%install
%{__python} setup.py install --root %{buildroot} --skip-build
%{__mkdir} -p %{buildroot}%{_mandir}/man1
%{__install} -m 0644 man/avocado.1 %{buildroot}%{_mandir}/man1/avocado.1
%{__install} -m 0644 man/avocado-rest-client.1 %{buildroot}%{_mandir}/man1/avocado-rest-client.1
%files
%defattr(-,root,root,-)
%doc README.rst LICENSE
%dir /etc/avocado
%dir /etc/avocado/conf.d
%config(noreplace)/etc/avocado/avocado.conf
%config(noreplace)/etc/avocado/conf.d/README
%{_bindir}/avocado
%{_bindir}/avocado-rest-client
%exclude %{python_sitelib}/avocado/plugins/htmlresult.py*
%exclude %{python_sitelib}/avocado/plugins/resources/htmlresult/*
%{python_sitelib}/avocado*
%{_mandir}/man1/avocado.1.gz
%{_mandir}/man1/avocado-rest-client.1.gz
%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/*
%package examples
Summary: Avocado Test Framework Example Tests
Requires: avocado
%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.
%files examples
%{_datadir}/avocado/tests
%{_datadir}/avocado/wrappers
%{_datadir}/avocado/api
%changelog
* Mon Feb 23 2015 Cleber Rosa <[email protected]> - 0.20.1-2
- Added avocado-rest-client modules, script, man page and API examples
* Fri Feb 6 2015 Lucas Meneghel Rodrigues <[email protected]> - 0.20.1-1
- Update to upstream version 0.20.1
* Mon Feb 3 2015 Lucas Meneghel Rodrigues <[email protected]> - 0.20.0-1
- Update to upstream version 0.20.0
* Mon Dec 15 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.17.0-1
- Update to upstream version 0.17.0
* Wed Dec 3 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.14.0-3
- Change config file name from settings.ini to avocado.conf
* Wed Dec 3 2014 Ruda Moura <[email protected]> - 0.14.0-2
- Include all wrappers scripts to examples subpackage.
* Mon Oct 13 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.14.0-1
- New upstream release
* Thu Sep 11 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.12.0-2
- Rename -tests package to -examples
* Tue Sep 9 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.12.0-1
- New upstream release
* Tue Sep 2 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.11.1-2
- Added fabric dependency
* Wed Aug 20 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.11.1-1
- Bumped version to avocado 0.11.1
- Added python-yaml build dependency
* Wed Aug 20 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.11.0-1
- Bumped version to avocado 0.11.0
- Added python-yaml new dependency
* Wed Aug 20 2014 Cleber Rosa <[email protected]> - 0.10.1-2
- Added initial avocado man page
* Tue Aug 12 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.10.1-1
- Bugfix release 0.10.1
* Thu Aug 7 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.10.0-1
- Bumped version to Avocado 0.10.0
* Wed Jul 30 2014 Cleber Rosa <[email protected]> - 0.8.0-2
- Split tests into avocado-tests package
* Fri Jul 18 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.8.0-1
- Bumped version to Avocado 0.8.0
* Fri Jun 13 2014 Ruda Moura <[email protected]> - 0.6.0-1
- Bumped version to Avocado 0.6.0
* Thu May 8 2014 Ruda Moura <[email protected]> - 0.4.0-1
- Bumped version to Avocado 0.4.0
* Wed Apr 30 2014 Cleber Rosa <[email protected]> - 0.0.1-2
- Added new requirements reflecting new upstream deps
* Wed Apr 2 2014 Ruda Moura <[email protected]> - 0.0.1-1
- Created initial spec file