Udpated changelog and spec
[qa-tools:testrunner-lite.git] / testrunner-lite.spec
1 Name: testrunner-lite
2 Version: 1.3.5
3 Release:1%{?dist}
4 Summary: Generic test executor tool
5 Group: Test-tools
6 License: LGPL 2.1
7 URL: http://meego.com
8 Source0: %{name}_%{version}+0m6.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10
11 BuildRequires: autoconf, doxygen, libxml2-devel, check-devel, libcurl-devel, libtool
12 # libxml2 and libcurl are implicit dependencies  
13 Requires: test-definition, openssh, testrunner-lite-hwinfo
14
15 %package tests
16 Summary: Unit tests for testrunner-lite
17 Requires: testrunner-lite, ci-testing
18
19 %package regression-tests
20 Summary: Regression tests for testrunner-lite
21 Requires: ci-testing, testrunner-lite, libxml2-utils
22
23 %package docs
24 Summary: Testrunner-lite doxygen documentation in html format
25
26 %package hwinfo-maemo
27 Summary: Provides commands for hardware information obtaining
28 Provides: testrunner-lite-hwinfo
29 Conflicts: testrunner-lite-hwinfo-meego
30
31 %package hwinfo-meego
32 Summary: Provides commands for hardware information obtaining
33 Provides: testrunner-lite-hwinfo
34 Conflicts: testrunner-lite-hwinfo-maemo
35
36 %description
37 Generic test executor tool
38
39 %description tests
40 Unit tests for testrunner-lite
41
42 %description regression-tests
43 Regression tests for testrunner-lite
44
45 %description docs
46 Testrunner-lite doxygen documentation in html format
47
48 %description hwinfo-maemo
49 Library for obtaining hardware information in maemo environment
50
51 %description hwinfo-meego
52 Library for obtaining hardware information in meego environment
53
54 %prep
55 %setup -q -n %{name}-%{version}+0m6
56
57 %build
58 autoreconf --install
59 %configure
60 make %{?_smp_mflags}
61 make html %{?_smp_mflags}
62
63 %install
64 rm -rf %{buildroot}
65 make install DESTDIR=%{buildroot}
66
67 %clean
68 rm -rf %{buildroot}
69
70 %files
71 %defattr(-,root,root,-)
72 /usr/bin/testrunner-lite
73
74 %files tests
75 %defattr(-,root,root,-)
76 /usr/lib/testrunner-lite-tests/*
77 /usr/share/testrunner-lite-tests/*
78
79 %files regression-tests
80 %defattr(-,root,root,-)
81 /usr/share/testrunner-lite-regression-tests/*
82
83 %files docs
84 %defattr(-,root,root,-)
85 %doc /usr/share/doc/testrunner-lite-doc/*
86 /usr/share/man/man1/testrunner-lite.1.gz
87 # need to remove executable flag because rpmlint complains about it
88 %attr(644,root,root) /usr/share/doc/testrunner-lite-doc/html/installdox
89
90 %files hwinfo-maemo
91 %defattr(-,root,root,-)
92 /usr/lib/testrunner-lite-hwinfo-maemo*
93
94 %post hwinfo-maemo
95 ln -s /usr/lib/testrunner-lite-hwinfo-maemo.so  /usr/lib/testrunner-lite-hwinfo.so
96
97 %postun hwinfo-maemo
98 rm /usr/lib/testrunner-lite-hwinfo.so
99
100 %files hwinfo-meego
101 %defattr(-,root,root,-)
102 /usr/lib/testrunner-lite-hwinfo-meego*
103
104 %post hwinfo-meego
105 ln -s /usr/lib/testrunner-lite-hwinfo-meego.so  /usr/lib/testrunner-lite-hwinfo.so
106
107 %postun hwinfo-meego
108 rm /usr/lib/testrunner-lite-hwinfo.so
109
110 %changelog
111 * Tue Jun 22 2010 Sampo Saaristo <ext-sampo.2.saaristo@nokia.com> 1.3.5
112 - Fixes: NB#173043 - failure_info attribute is not added to case element
113 - Fixes: NB#172872 - Pre-steps can't time out
114 * Wed Jun 16 2010 Sampo Saaristo <ext-sampo.2.saaristo@nokia.com> 1.3.4
115 - Fixed bug in long commands handling
116 * Wed Jun 09 2010 Sampo Saaristo <ext-sampo.2.saaristo@nokia.com> 1.3.3-1
117 - Support for -H, --no-hwinfo commandline option
118 * Wed Jun 09 2010 Sami Lahtinen <ext-sami.t.lahtinen@nokia.com> 1.3.3
119 - Implemented:SWP#MTT-284 - Schema and regression test cases for test results xml file
120 * Thu Jun 04 2010 Sampo Saaristo <ext-sampo.2.saaristo@nokia.com> 1.3.2
121 - Fixed process control in host based testing
122 * Thu Jun 03 2010 Sami Lahtinen <ext-sami.t.lahtinen@nokia.com> 1.3.1
123 - Initial RPM packaking