1 |
Summary: A set of tools to gather troubleshooting information from a system |
2 |
Name: sos |
3 |
Version: 2.2 |
4 |
Release: %mkrel 3 |
5 |
Group: System/Base |
6 |
Source0: https://fedorahosted.org/releases/s/o/sos/%{name}-%{version}.tar.gz |
7 |
License: GPLv2+ |
8 |
BuildArch: noarch |
9 |
Url: http://fedorahosted.org/sos |
10 |
BuildRequires: python-devel |
11 |
BuildRequires: gettext |
12 |
Requires: libxml2-python |
13 |
Requires: tar |
14 |
Requires: bzip2 |
15 |
Requires: xz |
16 |
Requires: python-rpm |
17 |
|
18 |
%description |
19 |
Sos is a set of tools that gathers information about system |
20 |
hardware and configuration. The information can then be used for |
21 |
diagnostic purposes and debugging. Sos is commonly used to help |
22 |
support technicians and developers. |
23 |
|
24 |
%prep |
25 |
%setup -q |
26 |
|
27 |
%build |
28 |
%make |
29 |
|
30 |
%install |
31 |
rm -rf ${RPM_BUILD_ROOT} |
32 |
%makeinstall_std |
33 |
%find_lang %{name} |
34 |
|
35 |
%files -f %{name}.lang |
36 |
%doc README TODO LICENSE ChangeLog doc/* |
37 |
%{_sbindir}/sosreport |
38 |
%{_datadir}/%{name} |
39 |
%{python_sitelib}/* |
40 |
%{_mandir}/man1/* |
41 |
%{_mandir}/man5/* |
42 |
%config(noreplace) %{_sysconfdir}/sos.conf |