add package
This commit is contained in:
parent
b70499aedc
commit
587319c211
45
Packages
Normal file
45
Packages
Normal file
@ -0,0 +1,45 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Index of /pub/fedora/linux/releases/29/Everything/source/tree/Packages</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Index of /pub/fedora/linux/releases/29/Everything/source/tree/Packages</h1>
|
||||
<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[PARENTDIR]"> <a href="/pub/fedora/linux/releases/29/Everything/source/tree/">Parent Directory</a> -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="0/">0/</a> 2018-10-24 21:05 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="2/">2/</a> 2018-10-24 21:05 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="3/">3/</a> 2018-10-24 21:05 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="4/">4/</a> 2018-10-24 21:05 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="5/">5/</a> 2018-10-24 21:05 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="6/">6/</a> 2018-10-24 21:05 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="7/">7/</a> 2018-10-24 21:05 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="8/">8/</a> 2018-10-24 21:05 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="9/">9/</a> 2018-10-24 21:05 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="a/">a/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="b/">b/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="c/">c/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="d/">d/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="e/">e/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="f/">f/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="g/">g/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="h/">h/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="i/">i/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="j/">j/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="k/">k/</a> 2018-10-24 21:20 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="l/">l/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="m/">m/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="n/">n/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="o/">o/</a> 2018-10-24 21:51 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="p/">p/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="q/">q/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="r/">r/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="s/">s/</a> 2018-10-24 22:01 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="t/">t/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="u/">u/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="v/">v/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="w/">w/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="x/">x/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="y/">y/</a> 2018-10-24 21:30 -
|
||||
<img src="/icons/folder.gif" alt="[DIR]"> <a href="z/">z/</a> 2018-10-24 21:20 -
|
||||
<hr></pre>
|
||||
</body></html>
|
||||
22
README
Normal file
22
README
Normal file
@ -0,0 +1,22 @@
|
||||
This package provides the full collection of test programs to validate
|
||||
the functionality of ATF, including all of its libraries and tools.
|
||||
|
||||
Because the Linux Standard Base does not recognize a /usr/tests/
|
||||
directory (the standard location for ATF-based tests), the Fedora ATF
|
||||
packages place its own test suite within the libexec hierarchy. In
|
||||
particular, such tests can be found in /usr/libexec/atf/tests/ .
|
||||
|
||||
In order to execute these tests, you need to go into the directory and
|
||||
use either kyua(1) (provided by the kyua-cli package) or atf-run(1) to
|
||||
run them. It is highly recommended that you use kyua(1) instead of
|
||||
atf-run(1), as the latter is deprecated in favor of the former.
|
||||
|
||||
As an example, you can simply do the following to run the full test
|
||||
suite:
|
||||
|
||||
$ kyua test -k /usr/libexec/atf/tests/Kyuafile
|
||||
|
||||
Or, using the deprecated tools:
|
||||
|
||||
$ cd /usr/libexec/atf/tests/
|
||||
$ atf-run | atf-report
|
||||
BIN
atf-0.20-12.fc29.src.rpm
Normal file
BIN
atf-0.20-12.fc29.src.rpm
Normal file
Binary file not shown.
BIN
atf-0.20.tar.gz
Normal file
BIN
atf-0.20.tar.gz
Normal file
Binary file not shown.
145
atf.spec
Normal file
145
atf.spec
Normal file
@ -0,0 +1,145 @@
|
||||
Name: atf
|
||||
Version: 0.20
|
||||
Release: 13
|
||||
License: BSD
|
||||
Summary: Testing Framework for Automated
|
||||
URL: http://code.google.com/p/kyua/wiki/ATF
|
||||
Source0: https://github.com/jmmv/atf/releases/download/atf-0.20/atf-0.20.tar.gz
|
||||
Source1: README
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%description
|
||||
No main package is built here. Because it is not used.
|
||||
|
||||
The Automated Test Framework (ATF) is a collection of libraries used to implement test programs
|
||||
in multiple languages. Currently, ATF provides C, C ++ and POSIX Shell bindings for performing
|
||||
tests. These bindings provide a similar feature set, and any test program written with them exposes
|
||||
a consistent user interface.
|
||||
ATF-based test programs rely on separate runtime engines to execute them. The runtime engine is
|
||||
responsible for isolating the test program from the rest of the system to ensure that its results
|
||||
are deterministic and do not affect the running system. The runtime engine is also responsible for
|
||||
collecting the results of all tests and writing reports. The currently selected runtime is Kyua.
|
||||
|
||||
%package -n libatf-c
|
||||
Summary: Testing Framework for Automated - C bindings
|
||||
|
||||
%description -n libatf-c
|
||||
This package contains a runtime library to run tests of the ATF C bindings.
|
||||
|
||||
%package -n libatf-c-devel
|
||||
Summary: ATesting Framework for Automated - C bindings (headers)
|
||||
Requires: libatf-c = %{version}-%{release}
|
||||
|
||||
%description -n libatf-c-devel
|
||||
This package contains ATF C bindings headers and libraries.
|
||||
|
||||
%package -n libatf-c++
|
||||
Summary: Testing Framework for Automated - C++ bindings
|
||||
|
||||
%description -n libatf-c++
|
||||
This package contains a runtime library to run tests of the ATF C++ bindings.
|
||||
|
||||
%package -n libatf-c++-devel
|
||||
Summary: Testing Framework for Automated - C++ bindings (headers)
|
||||
Requires: libatf-c = %{version}-%{release} libatf-c-devel = %{version}-%{release}
|
||||
Requires: libatf-c++ = %{version}-%{release}
|
||||
%description -n libatf-c++-devel
|
||||
This package contains ATF C++ bindings headers and libraries.
|
||||
|
||||
%package -n libatf-sh
|
||||
Summary: Testing Framework for Automated - POSIX shell bindings
|
||||
Requires: libatf-c++ = %{version}-%{release}
|
||||
|
||||
%description -n libatf-sh
|
||||
This package contains a runtime library to run tests of the ATF POSIX shell bindings.
|
||||
|
||||
%package -n libatf-sh-devel
|
||||
Summary: Testing Framework for Automated - POSIX shell bindings (headers)
|
||||
Requires: libatf-sh = %{version}-%{release}
|
||||
|
||||
%description -n libatf-sh-devel
|
||||
This package contains POSIX shell bindings headers and libraries.
|
||||
|
||||
%package tests
|
||||
Summary: Testing Framework for Automated - Test suite
|
||||
Requires: libatf-c = %{version}-%{release} libatf-c++ = %{version}-%{release}
|
||||
Requires: libatf-sh = %{version}-%{release} libatf-c-devel = %{version}-%{release}
|
||||
Requires: libatf-c++-devel = %{version}-%{release} libatf-sh-devel = %{version}-%{release}
|
||||
|
||||
%description tests
|
||||
This package contains all ATF component installation runtime tests, including tests for C, C++
|
||||
and POSIX Shell libraries and runtime tools.
|
||||
For more details on how to run the installed tests, see the README file in the documentation
|
||||
directory.
|
||||
|
||||
%package help
|
||||
Summary: Help documents for atf
|
||||
|
||||
%description help
|
||||
Man pages and other related help documents for atf.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
cp -p %{SOURCE1} README
|
||||
|
||||
%build
|
||||
%configure INSTALL="/usr/bin/install -p" --disable-static
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
%make_build pkgtestsdir=%{_libexecdir}/atf/tests testsdir=%{_libexecdir}/atf/tests
|
||||
|
||||
%install
|
||||
%make_install doc_DATA= pkgtestsdir=%{_libexecdir}/atf/tests testsdir=%{_pkgtestsdir}
|
||||
%delete_la
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files -n libatf-c
|
||||
%{_libdir}/libatf-c.{so.0,so.0.0.0}
|
||||
%{_datadir}/man/man1/atf-test-program.1.gz
|
||||
%{_datadir}/man/man4/atf-test-case.4.gz
|
||||
|
||||
%files -n libatf-c-devel
|
||||
%{_includedir}/{atf-c.h,atf-c}
|
||||
%{_datadir}/aclocal/{atf-c,atf-common}.m4
|
||||
%{_libdir}/{libatf-c.so,pkgconfig/atf-c.pc}
|
||||
|
||||
%files -n libatf-c++
|
||||
%{_libdir}/libatf-c++.{so.1,so.1.0.0}
|
||||
|
||||
%files -n libatf-c++-devel
|
||||
%{_datadir}/aclocal/atf-c++.m4
|
||||
%{_includedir}/{atf-c++.hpp,atf-c++}
|
||||
%{_libdir}/{libatf-c++.so,pkgconfig/atf-c++.pc}
|
||||
|
||||
%files -n libatf-sh
|
||||
%{_datadir}/atf
|
||||
%{_bindir}/atf-sh
|
||||
%{_libexecdir}/atf-check
|
||||
|
||||
%files -n libatf-sh-devel
|
||||
%{_datadir}/aclocal/atf-sh.m4
|
||||
%{_libdir}/pkgconfig/atf-sh.pc
|
||||
|
||||
%files tests
|
||||
%doc README
|
||||
%{_libexecdir}/atf/tests
|
||||
|
||||
%files help
|
||||
%{_mandir}/man1/atf-sh.1.gz
|
||||
%{_mandir}/man1/atf-check.1.gz
|
||||
%{_mandir}/man3/atf-sh-api.3.gz
|
||||
%{_mandir}/man3/atf-c++-api.3.gz
|
||||
%{_mandir}/man3/atf-c-api.3.gz
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 31 2019 duyeyu <duyeyu@huawei.com> - 0.20-13
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user