Summary: Automated Testing Framework
+Summary(pl.UTF-8): Automated Testing Framework - zautomatyzowany szkielet testów
Name: atf
-Version: 0.20
-Release: 3
+Version: 0.21
+Release: 1
License: BSD
-Group: Development/Libraries
+Group: Development/Tools
+#Source0Download: https://github.com/jmmv/atf/releases
Source0: https://github.com/jmmv/atf/releases/download/%{name}-%{version}/atf-%{version}.tar.gz
-# Source0-md5: dd27cf5c6299013dd84053ee1df37759
+# Source0-md5: becb36c1885b02c5f8316a672b10688a
URL: https://github.com/jmmv/atf/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: autoconf >= 2.65
+BuildRequires: automake >= 1:1.9
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
runtime engine is also responsible for gathering the results of all
tests and composing reports. The current runtime of choice is Kyua.
+%description -l pl.UTF-8
+Automated Testing Framework (ATF) to zbiór bibliotek implementujących
+programy testowe w różnych językach. Obecnie ATF oferuje wiązania C,
+C++ i powłoki POSIX-owej, z użyciem których są zaimplementowane testy.
+Wszystkie te wiązania oferują podobny zbiór funkcjonalności, a dowolny
+program testowy napisany z ich użyciem udostępniają spójny interfejs
+użytkownika.
+
+Programy testowe oparte na ATF polegają na osobnym silniku
+uruchomieniowym do ich wykonywania. Silnik ten odpowiada za izolację
+programów testowych od reszty systemu, aby zapewnić determinizm
+wyników i brak ich wpływu na działający system. Silnik odpowiada także
+za zbieranie wyników wszystkich testów i składanie raportów. Obecnie
+wybranym silnikiem jest Kyua.
+
%package tests
Summary: Automated Testing Framework - Test suite
-Group: Development/Libraries
+Summary(pl.UTF-8): Automated Testing Framework - zestaw testów
+Group: Development/Tools
Requires: libatf-c++-devel = %{version}-%{release}
Requires: libatf-c-devel = %{version}-%{release}
Requires: libatf-sh-devel = %{version}-%{release}
%description tests
This package installs the run-time tests for all the components of
ATF, which include tests for the C, C++ and POSIX shell libraries and
-the run-time tools. Please see the README.Fedora file in the
-documentation directory for further details on how to run the
-installed tests.
+the run-time tools.
+
+%description tests -l pl.UTF-8
+Ten pakiet instaluje testy uruchomieniowe wszystkich komponentów ATF,
+w tym testy bibliotek C, C++, powłoki POSIX oraz narzędzi
+uruchomieniowych.
%package -n libatf-c
Summary: Automated Testing Framework - C bindings
Summary(pl.UTF-8): Automated Testing Framework - dowiązania dla języka C
-Group: Development/Libraries
+Group: Libraries
%description -n libatf-c
This package provides the run-time libraries to run tests that use the
ATF C bindings.
+%description -n libatf-c -l pl.UTF-8
+Ten pakiet zawiera biblioteki uruchomieniowe do uruchamiania testów
+wykorzystujących wiązania C ATF.
+
%package -n libatf-c-devel
Summary: Header files for ATF C bindings
+Summary(pl.UTF-8): Pliki nagłówkowe wiązań C ATF
Group: Development/Libraries
Requires: libatf-c = %{version}-%{release}
%description -n libatf-c-devel
Header files for ATF C bindings.
+%description -n libatf-c-devel -l pl.UTF-8
+Pliki nagłówkowe wiązań C ATF.
+
%package -n libatf-c-static
Summary: Static ATF C library
+Summary(pl.UTF-8): Statyczna biblioteka C ATF
Group: Development/Libraries
Requires: libatf-c-devel = %{version}-%{release}
%description -n libatf-c-static
Static ATF C library.
+%description -n libatf-c-static -l pl.UTF-8
+Statyczna biblioteka C ATF.
+
%package -n libatf-c++
Summary: Automated Testing Framework - C++ bindings
Summary(pl.UTF-8): Automated Testing Framework - dowiązania dla języka C++
-Group: Development/Libraries
+Group: Libraries
+Requires: libatf-c = %{version}-%{release}
%description -n libatf-c++
This package provides the run-time libraries to run tests that use the
ATF C++ bindings.
+%description -n libatf-c++ -l pl.UTF-8
+Ten pakiet zawiera biblioteki uruchomieniowe do uruchamiania testów
+wykorzystujących wiązania C++ ATF.
+
%package -n libatf-c++-devel
Summary: Header files for ATF C++ bindings
+Summary(pl.UTF-8): Pliki nagłówkowe wiązań C++ ATF
Group: Development/Libraries
Requires: libatf-c++ = %{version}-%{release}
+Requires: libatf-c-devel = %{version}-%{release}
+Requires: libstdc++-devel
%description -n libatf-c++-devel
Header files for ATF C++ bindings.
+%description -n libatf-c++-devel -l pl.UTF-8
+Pliki nagłówkowe wiązań C++ ATF.
+
%package -n libatf-c++-static
Summary: Static ATF C++ library
+Summary(pl.UTF-8): Statyczna biblioteka C++ ATF
Group: Development/Libraries
Requires: libatf-c++-devel = %{version}-%{release}
%description -n libatf-c++-static
Static ATF C++ library.
+%description -n libatf-c++-static -l pl.UTF-8
+Statyczna biblioteka C++ ATF.
+
%package -n libatf-sh
Summary: Automated Testing Framework - PSOIX shell bindings
-Group: Development/Libraries
+Summary(pl.UTF-8): Automated Testing Framework - dowiązania dla powłoki POSIX
+Group: Libraries
+Requires: libatf-c = %{version}-%{release}
+Requires: libatf-c++ = %{version}-%{release}
%description -n libatf-sh
This package provides the run-time libraries to run tests that use the
ATF POSIX shell bindings.
+%description -n libatf-sh -l pl.UTF-8
+Ten pakiet zawiera biblioteki uruchomieniowe do uruchamiania testów
+wykorzystujących wiązania ATF do powłoki POSIX.
+
%package -n libatf-sh-devel
-Summary: Header files for ATF POSIX shell bindings
+Summary: Development files for ATF POSIX shell bindings
+Summary(pl.UTF-8): Pliki programistyczne nagłówkowe wiązań ATF dla powłoki POSIX
Group: Development/Libraries
Requires: libatf-sh = %{version}-%{release}
%description -n libatf-sh-devel
-Header files for ATF POSIX shell bindings.
+Development files for ATF POSIX shell bindings.
+
+%description -n libatf-sh-devel -l pl.UTF-8
+Pliki programistyczne nagłówkowe wiązań ATF dla powłoki POSIX.
%prep
%setup -q
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
doc_DATA= \
testsdir=%{_libexecdir}/atf/tests \
pkgtestsdir=%{_libexecdir}/atf/tests
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libatf-*.la
+
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -n libatf-c -p /sbin/ldconfig
+%postun -n libatf-c -p /sbin/ldconfig
-#%files
-#%defattr(644,root,root,755)
+%post -n libatf-c++ -p /sbin/ldconfig
+%postun -n libatf-c++ -p /sbin/ldconfig
%files tests
%defattr(644,root,root,755)
%files -n libatf-c
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libatf-c.so.0
-%attr(755,root,root) %{_libdir}/libatf-c.so.0.0.0
+%doc AUTHORS COPYING NEWS README
+%attr(755,root,root) %{_libdir}/libatf-c.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libatf-c.so.1
%{_mandir}/man1/atf-test-program.1*
%{_mandir}/man4/atf-test-case.4*
%files -n libatf-c-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libatf-c.so
-%{_libdir}/libatf-c.la
%{_includedir}/atf-c
%{_includedir}/atf-c.h
%{_aclocaldir}/atf-c.m4
%{_aclocaldir}/atf-common.m4
%{_pkgconfigdir}/atf-c.pc
+%{_mandir}/man3/atf-c.3*
%{_mandir}/man3/atf-c-api.3*
+%{_mandir}/man7/atf.7*
%files -n libatf-c-static
%defattr(644,root,root,755)
%files -n libatf-c++
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libatf-c++.so.1
-%attr(755,root,root) %{_libdir}/libatf-c++.so.1.0.0
+%attr(755,root,root) %{_libdir}/libatf-c++.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libatf-c++.so.2
%files -n libatf-c++-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libatf-c++.so
-%{_libdir}/libatf-c++.la
%{_includedir}/atf-c++
%{_includedir}/atf-c++.hpp
%{_aclocaldir}/atf-c++.m4
%{_pkgconfigdir}/atf-c++.pc
+%{_mandir}/man3/atf-c++.3*
%{_mandir}/man3/atf-c++-api.3*
%files -n libatf-c++-static
%files -n libatf-sh
%defattr(644,root,root,755)
+%doc AUTHORS COPYING NEWS README
%attr(755,root,root) %{_bindir}/atf-sh
%attr(755,root,root) %{_libexecdir}/atf-check
%{_mandir}/man1/atf-check.1*
%defattr(644,root,root,755)
%{_aclocaldir}/atf-sh.m4
%{_pkgconfigdir}/atf-sh.pc
+%{_mandir}/man3/atf-sh.3*
%{_mandir}/man3/atf-sh-api.3*