1 Summary: Automated Testing Framework
2 Summary(pl.UTF-8): Automated Testing Framework - zautomatyzowany szkielet testów
7 Group: Development/Tools
8 #Source0Download: https://github.com/jmmv/atf/releases
9 Source0: https://github.com/jmmv/atf/releases/download/%{name}-%{version}/atf-%{version}.tar.gz
10 # Source0-md5: becb36c1885b02c5f8316a672b10688a
11 URL: https://github.com/jmmv/atf/
12 BuildRequires: autoconf >= 2.65
13 BuildRequires: automake >= 1:1.9
14 BuildRequires: libstdc++-devel
15 BuildRequires: libtool >= 2:2
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The Automated Testing Framework (ATF) is a collection of libraries to
20 implement test programs in a variety of languages. At the moment, ATF
21 offers C, C++ and POSIX shell bindings with which to implement tests.
22 These bindings all offer a similar set of functionality and any test
23 program written with them exposes a consistent user interface.
25 ATF-based test programs rely on a separate runtime engine to execute
26 them. The runtime engine is in charge of isolating the test programs
27 from the rest of the system to ensure that their results are
28 deterministic and that they cannot affect the running system. The
29 runtime engine is also responsible for gathering the results of all
30 tests and composing reports. The current runtime of choice is Kyua.
32 %description -l pl.UTF-8
33 Automated Testing Framework (ATF) to zbiór bibliotek implementujących
34 programy testowe w różnych językach. Obecnie ATF oferuje wiązania C,
35 C++ i powłoki POSIX-owej, z użyciem których są zaimplementowane testy.
36 Wszystkie te wiązania oferują podobny zbiór funkcjonalności, a dowolny
37 program testowy napisany z ich użyciem udostępniają spójny interfejs
40 Programy testowe oparte na ATF polegają na osobnym silniku
41 uruchomieniowym do ich wykonywania. Silnik ten odpowiada za izolację
42 programów testowych od reszty systemu, aby zapewnić determinizm
43 wyników i brak ich wpływu na działający system. Silnik odpowiada także
44 za zbieranie wyników wszystkich testów i składanie raportów. Obecnie
45 wybranym silnikiem jest Kyua.
48 Summary: Automated Testing Framework - Test suite
49 Summary(pl.UTF-8): Automated Testing Framework - zestaw testów
50 Group: Development/Tools
51 Requires: libatf-c++-devel = %{version}-%{release}
52 Requires: libatf-c-devel = %{version}-%{release}
53 Requires: libatf-sh-devel = %{version}-%{release}
56 This package installs the run-time tests for all the components of
57 ATF, which include tests for the C, C++ and POSIX shell libraries and
60 %description tests -l pl.UTF-8
61 Ten pakiet instaluje testy uruchomieniowe wszystkich komponentów ATF,
62 w tym testy bibliotek C, C++, powłoki POSIX oraz narzędzi
66 Summary: Automated Testing Framework - C bindings
67 Summary(pl.UTF-8): Automated Testing Framework - dowiązania dla języka C
70 %description -n libatf-c
71 This package provides the run-time libraries to run tests that use the
74 %description -n libatf-c -l pl.UTF-8
75 Ten pakiet zawiera biblioteki uruchomieniowe do uruchamiania testów
76 wykorzystujących wiązania C ATF.
78 %package -n libatf-c-devel
79 Summary: Header files for ATF C bindings
80 Summary(pl.UTF-8): Pliki nagłówkowe wiązań C ATF
81 Group: Development/Libraries
82 Requires: libatf-c = %{version}-%{release}
84 %description -n libatf-c-devel
85 Header files for ATF C bindings.
87 %description -n libatf-c-devel -l pl.UTF-8
88 Pliki nagłówkowe wiązań C ATF.
90 %package -n libatf-c-static
91 Summary: Static ATF C library
92 Summary(pl.UTF-8): Statyczna biblioteka C ATF
93 Group: Development/Libraries
94 Requires: libatf-c-devel = %{version}-%{release}
96 %description -n libatf-c-static
99 %description -n libatf-c-static -l pl.UTF-8
100 Statyczna biblioteka C ATF.
102 %package -n libatf-c++
103 Summary: Automated Testing Framework - C++ bindings
104 Summary(pl.UTF-8): Automated Testing Framework - dowiązania dla języka C++
106 Requires: libatf-c = %{version}-%{release}
108 %description -n libatf-c++
109 This package provides the run-time libraries to run tests that use the
112 %description -n libatf-c++ -l pl.UTF-8
113 Ten pakiet zawiera biblioteki uruchomieniowe do uruchamiania testów
114 wykorzystujących wiązania C++ ATF.
116 %package -n libatf-c++-devel
117 Summary: Header files for ATF C++ bindings
118 Summary(pl.UTF-8): Pliki nagłówkowe wiązań C++ ATF
119 Group: Development/Libraries
120 Requires: libatf-c++ = %{version}-%{release}
121 Requires: libatf-c-devel = %{version}-%{release}
122 Requires: libstdc++-devel
124 %description -n libatf-c++-devel
125 Header files for ATF C++ bindings.
127 %description -n libatf-c++-devel -l pl.UTF-8
128 Pliki nagłówkowe wiązań C++ ATF.
130 %package -n libatf-c++-static
131 Summary: Static ATF C++ library
132 Summary(pl.UTF-8): Statyczna biblioteka C++ ATF
133 Group: Development/Libraries
134 Requires: libatf-c++-devel = %{version}-%{release}
136 %description -n libatf-c++-static
137 Static ATF C++ library.
139 %description -n libatf-c++-static -l pl.UTF-8
140 Statyczna biblioteka C++ ATF.
142 %package -n libatf-sh
143 Summary: Automated Testing Framework - PSOIX shell bindings
144 Summary(pl.UTF-8): Automated Testing Framework - dowiązania dla powłoki POSIX
146 Requires: libatf-c = %{version}-%{release}
147 Requires: libatf-c++ = %{version}-%{release}
149 %description -n libatf-sh
150 This package provides the run-time libraries to run tests that use the
151 ATF POSIX shell bindings.
153 %description -n libatf-sh -l pl.UTF-8
154 Ten pakiet zawiera biblioteki uruchomieniowe do uruchamiania testów
155 wykorzystujących wiązania ATF do powłoki POSIX.
157 %package -n libatf-sh-devel
158 Summary: Development files for ATF POSIX shell bindings
159 Summary(pl.UTF-8): Pliki programistyczne nagłówkowe wiązań ATF dla powłoki POSIX
160 Group: Development/Libraries
161 Requires: libatf-sh = %{version}-%{release}
163 %description -n libatf-sh-devel
164 Development files for ATF POSIX shell bindings.
166 %description -n libatf-sh-devel -l pl.UTF-8
167 Pliki programistyczne nagłówkowe wiązań ATF dla powłoki POSIX.
182 rm -rf $RPM_BUILD_ROOT
185 DESTDIR=$RPM_BUILD_ROOT \
187 testsdir=%{_libexecdir}/atf/tests \
188 pkgtestsdir=%{_libexecdir}/atf/tests
190 # obsoleted by pkg-config
191 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libatf-*.la
194 rm -rf $RPM_BUILD_ROOT
196 %post -n libatf-c -p /sbin/ldconfig
197 %postun -n libatf-c -p /sbin/ldconfig
199 %post -n libatf-c++ -p /sbin/ldconfig
200 %postun -n libatf-c++ -p /sbin/ldconfig
203 %defattr(644,root,root,755)
204 %dir %{_libexecdir}/atf
205 %{_libexecdir}/atf/tests
208 %defattr(644,root,root,755)
209 %doc AUTHORS COPYING NEWS README
210 %attr(755,root,root) %{_libdir}/libatf-c.so.*.*.*
211 %attr(755,root,root) %ghost %{_libdir}/libatf-c.so.1
212 %{_mandir}/man1/atf-test-program.1*
213 %{_mandir}/man4/atf-test-case.4*
215 %files -n libatf-c-devel
216 %defattr(644,root,root,755)
217 %attr(755,root,root) %{_libdir}/libatf-c.so
219 %{_includedir}/atf-c.h
220 %{_aclocaldir}/atf-c.m4
221 %{_aclocaldir}/atf-common.m4
222 %{_pkgconfigdir}/atf-c.pc
223 %{_mandir}/man3/atf-c.3*
224 %{_mandir}/man3/atf-c-api.3*
225 %{_mandir}/man7/atf.7*
227 %files -n libatf-c-static
228 %defattr(644,root,root,755)
229 %{_libdir}/libatf-c.a
232 %defattr(644,root,root,755)
233 %attr(755,root,root) %{_libdir}/libatf-c++.so.*.*.*
234 %attr(755,root,root) %ghost %{_libdir}/libatf-c++.so.2
236 %files -n libatf-c++-devel
237 %defattr(644,root,root,755)
238 %attr(755,root,root) %{_libdir}/libatf-c++.so
239 %{_includedir}/atf-c++
240 %{_includedir}/atf-c++.hpp
241 %{_aclocaldir}/atf-c++.m4
242 %{_pkgconfigdir}/atf-c++.pc
243 %{_mandir}/man3/atf-c++.3*
244 %{_mandir}/man3/atf-c++-api.3*
246 %files -n libatf-c++-static
247 %defattr(644,root,root,755)
248 %{_libdir}/libatf-c++.a
251 %defattr(644,root,root,755)
252 %doc AUTHORS COPYING NEWS README
253 %attr(755,root,root) %{_bindir}/atf-sh
254 %attr(755,root,root) %{_libexecdir}/atf-check
255 %{_mandir}/man1/atf-check.1*
256 %{_mandir}/man1/atf-sh.1*
259 %files -n libatf-sh-devel
260 %defattr(644,root,root,755)
261 %{_aclocaldir}/atf-sh.m4
262 %{_pkgconfigdir}/atf-sh.pc
263 %{_mandir}/man3/atf-sh.3*
264 %{_mandir}/man3/atf-sh-api.3*