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