1 Summary: Automated Testing Framework
6 Group: Development/Libraries
7 Source0: https://github.com/jmmv/atf/releases/download/%{name}-%{version}/atf-%{version}.tar.gz
8 # Source0-md5: dd27cf5c6299013dd84053ee1df37759
9 URL: https://github.com/jmmv/atf/
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: libtool
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The Automated Testing Framework (ATF) is a collection of libraries to
17 implement test programs in a variety of languages. At the moment, ATF
18 offers C, C++ and POSIX shell bindings with which to implement tests.
19 These bindings all offer a similar set of functionality and any test
20 program written with them exposes a consistent user interface.
22 ATF-based test programs rely on a separate runtime engine to execute
23 them. The runtime engine is in charge of isolating the test programs
24 from the rest of the system to ensure that their results are
25 deterministic and that they cannot affect the running system. The
26 runtime engine is also responsible for gathering the results of all
27 tests and composing reports. The current runtime of choice is Kyua.
30 Summary: Automated Testing Framework - Test suite
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
33 Requires: libatf-c++-devel = %{version}-%{release}
34 Requires: libatf-c-devel = %{version}-%{release}
35 Requires: libatf-sh-devel = %{version}-%{release}
38 This package installs the run-time tests for all the components of
39 ATF, which include tests for the C, C++ and POSIX shell libraries and
40 the run-time tools. Please see the README.Fedora file in the
41 documentation directory for further details on how to run the
45 Summary: Automated Testing Framework - C bindings
46 Summary(pl.UTF-8): Automated Testing Framework - dowiązania dla języka C
47 Group: Development/Libraries
49 %description -n libatf-c
50 This package provides the run-time libraries to run tests that use the
53 %package -n libatf-c-devel
54 Summary: Header files for ATF C bindings
55 Group: Development/Libraries
56 Requires: libatf-c = %{version}-%{release}
58 %description -n libatf-c-devel
59 Header files for ATF C bindings.
61 %package -n libatf-c-static
62 Summary: Static ATF C library
63 Group: Development/Libraries
64 Requires: libatf-c-devel = %{version}-%{release}
66 %description -n libatf-c-static
69 %package -n libatf-c++
70 Summary: Automated Testing Framework - C++ bindings
71 Summary(pl.UTF-8): Automated Testing Framework - dowiązania dla języka C++
72 Group: Development/Libraries
74 %description -n libatf-c++
75 This package provides the run-time libraries to run tests that use the
78 %package -n libatf-c++-devel
79 Summary: Header files for ATF C++ bindings
80 Group: Development/Libraries
81 Requires: libatf-c++ = %{version}-%{release}
83 %description -n libatf-c++-devel
84 Header files for ATF C++ bindings.
86 %package -n libatf-c++-static
87 Summary: Static ATF C++ library
88 Group: Development/Libraries
89 Requires: libatf-c++-devel = %{version}-%{release}
91 %description -n libatf-c++-static
92 Static ATF C++ library.
95 Summary: Automated Testing Framework - PSOIX shell bindings
96 Group: Development/Libraries
98 %description -n libatf-sh
99 This package provides the run-time libraries to run tests that use the
100 ATF POSIX shell bindings.
102 %package -n libatf-sh-devel
103 Summary: Header files for ATF POSIX shell bindings
104 Group: Development/Libraries
105 Requires: libatf-sh = %{version}-%{release}
107 %description -n libatf-sh-devel
108 Header files for ATF POSIX shell bindings.
123 rm -rf $RPM_BUILD_ROOT
125 DESTDIR=$RPM_BUILD_ROOT \
127 testsdir=%{_libexecdir}/atf/tests \
128 pkgtestsdir=%{_libexecdir}/atf/tests
131 rm -rf $RPM_BUILD_ROOT
133 %post -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
137 #%defattr(644,root,root,755)
140 %defattr(644,root,root,755)
141 %dir %{_libexecdir}/atf
142 %{_libexecdir}/atf/tests
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_libdir}/libatf-c.so.0
147 %attr(755,root,root) %{_libdir}/libatf-c.so.0.0.0
148 %{_mandir}/man1/atf-test-program.1*
149 %{_mandir}/man4/atf-test-case.4*
151 %files -n libatf-c-devel
152 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_libdir}/libatf-c.so
154 %{_libdir}/libatf-c.la
156 %{_includedir}/atf-c.h
157 %{_aclocaldir}/atf-c.m4
158 %{_aclocaldir}/atf-common.m4
159 %{_pkgconfigdir}/atf-c.pc
160 %{_mandir}/man3/atf-c-api.3*
162 %files -n libatf-c-static
163 %defattr(644,root,root,755)
164 %{_libdir}/libatf-c.a
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_libdir}/libatf-c++.so.1
169 %attr(755,root,root) %{_libdir}/libatf-c++.so.1.0.0
171 %files -n libatf-c++-devel
172 %defattr(644,root,root,755)
173 %attr(755,root,root) %{_libdir}/libatf-c++.so
174 %{_libdir}/libatf-c++.la
175 %{_includedir}/atf-c++
176 %{_includedir}/atf-c++.hpp
177 %{_aclocaldir}/atf-c++.m4
178 %{_pkgconfigdir}/atf-c++.pc
179 %{_mandir}/man3/atf-c++-api.3*
181 %files -n libatf-c++-static
182 %defattr(644,root,root,755)
183 %{_libdir}/libatf-c++.a
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_bindir}/atf-sh
188 %attr(755,root,root) %{_libexecdir}/atf-check
189 %{_mandir}/man1/atf-check.1*
190 %{_mandir}/man1/atf-sh.1*
193 %files -n libatf-sh-devel
194 %defattr(644,root,root,755)
195 %{_aclocaldir}/atf-sh.m4
196 %{_pkgconfigdir}/atf-sh.pc
197 %{_mandir}/man3/atf-sh-api.3*