1 |
Summary: A set of tools to gather troubleshooting information from a system |
2 |
Name: sos |
3 |
Version: 3.6 |
4 |
Release: %mkrel 1 |
5 |
Group: System/Base |
6 |
License: GPLv2+ |
7 |
Url: http://sosreport.github.io/sos/ |
8 |
Source0: https://github.com/%{name}report/%{name}/archive/%{version}/%{name}-%{version}.tar.gz |
9 |
BuildArch: noarch |
10 |
BuildRequires: pkgconfig(python2) |
11 |
BuildRequires: gettext |
12 |
BuildRequires: python2dist(sphinx) |
13 |
Requires: python2-libxml2 |
14 |
Requires: tar |
15 |
Requires: bzip2 |
16 |
Requires: xz |
17 |
Requires: python2dist(futures) |
18 |
Requires: python2dist(rpm) |
19 |
Requires: python2dist(six) |
20 |
|
21 |
%description |
22 |
Sos is a set of tools that gathers information about system |
23 |
hardware and configuration. The information can then be used for |
24 |
diagnostic purposes and debugging. Sos is commonly used to help |
25 |
support technicians and developers. |
26 |
|
27 |
%prep |
28 |
%setup -q |
29 |
|
30 |
%build |
31 |
%make_build |
32 |
|
33 |
%install |
34 |
%make_install |
35 |
%find_lang %{name} |
36 |
|
37 |
%files -f %{name}.lang |
38 |
%doc README.md AUTHORS LICENSE |
39 |
%doc %{_docdir}/%{name}/html/ |
40 |
%{_sbindir}/sosreport |
41 |
%{_datadir}/%{name}/ |
42 |
%{python2_sitelib}/* |
43 |
%{_mandir}/man1/* |
44 |
%{_mandir}/man5/* |
45 |
%config(noreplace) %{_sysconfdir}/sos.conf |