]> git.pld-linux.org Git - packages/atf.git/blob - atf.spec
- updated to 0.21, pl, completed internal dependencies
[packages/atf.git] / atf.spec
1 Summary:        Automated Testing Framework
2 Summary(pl.UTF-8):      Automated Testing Framework - zautomatyzowany szkielet testów
3 Name:           atf
4 Version:        0.21
5 Release:        1
6 License:        BSD
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)
17
18 %description
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.
24
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.
31
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
38 użytkownika.
39
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.
46
47 %package tests
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}
54
55 %description tests
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
58 the run-time tools.
59
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
63 uruchomieniowych. 
64
65 %package -n libatf-c
66 Summary:        Automated Testing Framework - C bindings
67 Summary(pl.UTF-8):      Automated Testing Framework - dowiązania dla języka C
68 Group:          Libraries
69
70 %description -n libatf-c
71 This package provides the run-time libraries to run tests that use the
72 ATF C bindings.
73
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.
77
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}
83
84 %description -n libatf-c-devel
85 Header files for ATF C bindings.
86
87 %description -n libatf-c-devel -l pl.UTF-8
88 Pliki nagłówkowe wiązań C ATF.
89
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}
95
96 %description -n libatf-c-static
97 Static ATF C library.
98
99 %description -n libatf-c-static -l pl.UTF-8
100 Statyczna biblioteka C ATF.
101
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++
105 Group:          Libraries
106 Requires:       libatf-c = %{version}-%{release}
107
108 %description -n libatf-c++
109 This package provides the run-time libraries to run tests that use the
110 ATF C++ bindings.
111
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.
115
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
123
124 %description -n libatf-c++-devel
125 Header files for ATF C++ bindings.
126
127 %description -n libatf-c++-devel -l pl.UTF-8
128 Pliki nagłówkowe wiązań C++ ATF.
129
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}
135
136 %description -n libatf-c++-static
137 Static ATF C++ library.
138
139 %description -n libatf-c++-static -l pl.UTF-8
140 Statyczna biblioteka C++ ATF.
141
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
145 Group:          Libraries
146 Requires:       libatf-c = %{version}-%{release}
147 Requires:       libatf-c++ = %{version}-%{release}
148
149 %description -n libatf-sh
150 This package provides the run-time libraries to run tests that use the
151 ATF POSIX shell bindings.
152
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.
156
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}
162
163 %description -n libatf-sh-devel
164 Development files for ATF POSIX shell bindings.
165
166 %description -n libatf-sh-devel -l pl.UTF-8
167 Pliki programistyczne nagłówkowe wiązań ATF dla powłoki POSIX.
168
169 %prep
170 %setup -q
171
172 %build
173 %{__libtoolize}
174 %{__aclocal} -I m4
175 %{__autoconf}
176 %{__autoheader}
177 %{__automake}
178 %configure
179 %{__make}
180
181 %install
182 rm -rf $RPM_BUILD_ROOT
183
184 %{__make} install \
185         DESTDIR=$RPM_BUILD_ROOT \
186         doc_DATA= \
187         testsdir=%{_libexecdir}/atf/tests \
188         pkgtestsdir=%{_libexecdir}/atf/tests
189
190 # obsoleted by pkg-config
191 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libatf-*.la
192
193 %clean
194 rm -rf $RPM_BUILD_ROOT
195
196 %post   -n libatf-c -p /sbin/ldconfig
197 %postun -n libatf-c -p /sbin/ldconfig
198
199 %post   -n libatf-c++ -p /sbin/ldconfig
200 %postun -n libatf-c++ -p /sbin/ldconfig
201
202 %files tests
203 %defattr(644,root,root,755)
204 %dir %{_libexecdir}/atf
205 %{_libexecdir}/atf/tests
206
207 %files -n libatf-c
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*
214
215 %files -n libatf-c-devel
216 %defattr(644,root,root,755)
217 %attr(755,root,root) %{_libdir}/libatf-c.so
218 %{_includedir}/atf-c
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*
226
227 %files -n libatf-c-static
228 %defattr(644,root,root,755)
229 %{_libdir}/libatf-c.a
230
231 %files -n libatf-c++
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
235
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*
245
246 %files -n libatf-c++-static
247 %defattr(644,root,root,755)
248 %{_libdir}/libatf-c++.a
249
250 %files -n libatf-sh
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*
257 %{_datadir}/atf
258
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*
This page took 0.089894 seconds and 4 git commands to generate.